1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - init - include 3 File: crt0.h 4 5 Copyright 2003-2008 Nintendo. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Date:: 2008-09-18#$ 14 $Rev: 8573 $ 15 $Author: okubata_ryoma $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef NITRO_INIT_CRT0_H_ 19 #define NITRO_INIT_CRT0_H_ 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 #ifdef SDK_ARM9 26 void NitroMain(void); 27 void NitroStartUp(void); 28 #else 29 void NitroSpMain(void); 30 void NitroSpStartUp(void); 31 #define NitroMain(x) NitroSpMain(x) 32 #define NitroStartUp(x) NitroSpStartUp(x) 33 #endif 34 35 #ifdef __cplusplus 36 } /* extern "C" */ 37 #endif 38 39 /* NITRO_INIT_CRT0_H_ */ 40 #endif 41