1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: test_Init.cpp 4 5 Copyright (C)2009 Nintendo Co., Ltd. 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 $Rev: 12449 $ 14 *---------------------------------------------------------------------------*/ 15 16 #include <nn/os.h> 17 18 extern "C" void nntestCTRARMv5TestMain(); 19 20 21 #if defined(NN_PLATFORM_CTR) && defined(NN_PROCESSOR_ARM_V5) nniopdevMain()22extern "C" void nniopdevMain() 23 { 24 const s32 prevPrio = nn::os::Thread::GetCurrentPriority(); 25 nn::os::Thread::ChangeCurrentPriority(nn::os::DEFAULT_THREAD_PRIORITY); 26 27 nntestCTRARMv5TestMain(); 28 29 nn::os::Thread::ChangeCurrentPriority(prevPrio); 30 } 31 #endif 32 33