kernel/eka/kernel/win32/k_entry.cpp
author Mike Kinghan <mikek@symbian.org>
Thu, 25 Nov 2010 14:35:45 +0000
branchGCC_SURGE
changeset 305 1ba12ef4ef89
parent 0 a41df078684a
child 50 999bb78c71ac
permissions -rw-r--r--
Enhance the base/rom extension to generate the symbol file of the rom built. The symbol file is placed in epoc32/rom/<baseport_name>, along with the rom log and final oby file.

// Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// e32\kernel\win32\k_entry.cpp
// 
//

#include <kernel/kernel.h>

// include the static data definitions
#define __FLTUSED
#include "win32crt.h"

// include compiler helpers
#include "x86hlp.inl"

GLREF_C void BootEpoc();

GLDEF_D TBool EmulRunExe;

extern "C"
int atexit(void (__cdecl *)(void))
	{
	return 0;
	}

extern "C"
EXPORT_C void _E32Startup(TBool aRunExe)
//
// Ordinal 1 - used by EXEs to boot EPOC
//
	{
	constructStatics();
	EmulRunExe = aRunExe;
	BootEpoc();
	}