1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: os_SvcTypes.autogen.h 4 5 Copyright (C)2009-2012 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: 47347 $ 14 *---------------------------------------------------------------------------*/ 15 16 // 17 // Do not edit this file. 18 // This file is automatically generated. 19 // 20 21 #ifndef NN_OS_OS_SVCTYPES_AUTOGEN_H_ 22 #define NN_OS_OS_SVCTYPES_AUTOGEN_H_ 23 24 #include <nn/types.h> 25 #include <nn/config.h> 26 #include <nn/os/os_MemoryTypes.h> 27 #include <nn/dbg/dbg_SmallSet.h> 28 29 30 31 #ifdef __cplusplus 32 33 namespace nn { 34 namespace os { 35 36 typedef void (*ThreadFunc)(uptr param); 37 38 struct MemoryInfo 39 { 40 uptr baseAddress; 41 size_t size; 42 bit32 permission; 43 MemoryState state; 44 }; 45 46 struct PageInfo 47 { 48 bit32 flags; 49 }; 50 51 struct ThreadContext 52 { 53 bit32 cpuRegisters[13]; 54 bit32 sp; 55 bit32 lr; 56 bit32 pc; 57 bit32 cpsr; 58 bit32 fpuRegisters[32]; 59 bit32 fpscr; 60 bit32 fpexc; 61 }; 62 63 struct StartupInfo 64 { 65 s32 priority; 66 size_t stackSize; 67 s32 argc; 68 const char16* argv; 69 const char16* envp; 70 }; 71 72 73 } // end of namespace os 74 } // end of namespace nn 75 76 #endif // ifdef __cplusplus 77 78 79 80 81 #endif // ifndef NN_OS_OS_SVCTYPES_AUTOGEN_H_ 82