sbsv2/raptor/test/smoke_suite/test_resources/mmp/mmp5/uc_exe.cia
changeset 13 c327db0664bb
equal deleted inserted replaced
12:5e7562f67577 13:c327db0664bb
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * f32test\loader\security\uc_exe.cia
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #include <e32cia.h>
       
    21 #include "u32std.h"
       
    22 
       
    23 extern "C" {
       
    24 
       
    25 // Minimal entry point which won't cause any code relocations to be included
       
    26 __NAKED__ TInt _E32Startup()
       
    27 	{
       
    28 	EKA2_ENTRY_POINT_VERSION_IDENTIFIER;	// DUMMY INSTRUCTION TO INDICATE EKA2 ENTRY POINT
       
    29 	asm("mov r0, #0 ");
       
    30 	__JUMP(,lr);
       
    31 
       
    32 	asm(".word 0 ");			// loader will replace with code seg unique ID
       
    33 								// for RAM-loaded code segment
       
    34 								// MUST BE AT OFFSET 12 FROM ENTRY POINT
       
    35 	}
       
    36 }
       
    37