sbsv2/raptor/test/smoke_suite/test_resources/pp/test.cia
branchwip
changeset 13 8789c7c7c420
equal deleted inserted replaced
12:2cfea3290625 13:8789c7c7c420
       
     1 /*
       
     2 * Copyright (c) 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 *
       
    16 */
       
    17 // Some random assembler or a "straight" dummy function
       
    18 
       
    19 #ifndef __WINSCW__
       
    20 EXPORT_C __NAKED__ void dummy()
       
    21 	{
       
    22 	asm("stmia	r0, {r4-r11, sp, lr}	");
       
    23 	asm("mov  r0, #0"); 
       
    24 	}
       
    25 #else
       
    26 int fred(int i)
       
    27 	{
       
    28 	return 1;
       
    29 	}
       
    30 #endif