1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - include 3 File: sinit.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-17#$ 14 $Rev: 8556 $ 15 $Author: okubata_ryoma $ 16 *---------------------------------------------------------------------------*/ 17 #if defined(SDK_CW) || defined(SDK_RX) || defined(__MWERKS__) 18 // 19 // Setup NitroStaticInit 20 // 21 static void NitroStaticInit(void); 22 #pragma define_section SINIT ".sinit" abs32 RWX 23 #pragma section SINIT begin 24 SDK_FORCE_EXPORT static void *NitroStaticInit_[] = { NitroStaticInit }; 25 #pragma section SINIT end 26 27 #elif defined(SDK_ADS) 28 29 TO BE DEFINED 30 #elif defined(SDK_GCC) 31 32 TO BE DEFINED 33 #endif 34