sbsv2/raptor/test/smoke_suite/test_resources/asmtest/testcia.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 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32cia.h>
       
    20 // #include <arm.h>
       
    21 // #include <cache.h>
       
    22 
       
    23 // #include <nk_priv.h>
       
    24 
       
    25 #ifndef __CIA__
       
    26 #error __CIA__ must be defined for .cia files
       
    27 #endif
       
    28 
       
    29 __NAKED__ void fake_assembler_function2(void)
       
    30     {
       
    31     asm("mov r0, r0 ");         // nop
       
    32     asm("mov r0, r0 ");         // nop
       
    33     asm("mov r0, r0 ");         // nop
       
    34     asm("mov r0, r0 ");         // nop
       
    35     asm("mov r0, r0 ");         // nop
       
    36     asm("mov r0, r0 ");         // nop
       
    37     asm("mov r0, r0 ");         // nop
       
    38     asm("mov r0, r0 ");         // nop
       
    39     asm("mov r0, r0 ");         // nop
       
    40     asm("mov r0, r0 ");         // nop
       
    41     asm("mov r0, r0 ");         // nop
       
    42     asm("mov r0, r0 ");         // nop
       
    43     asm("mov r0, r0 ");         // nop
       
    44     asm("mov r0, r0 ");         // nop
       
    45     asm("mov r0, r0 ");         // nop
       
    46     asm("mov r0, r0 ");         // nop
       
    47     asm("mov r0, r0 ");         // nop
       
    48     asm("mov r0, r0 ");         // nop
       
    49     asm("mov r0, r0 ");         // nop
       
    50     asm("mov r0, r0 ");         // nop
       
    51     asm("mov r0, r0 ");         // nop
       
    52 
       
    53     asm("bx lr");
       
    54     }
       
    55