/*---------------------------------------------------------------------------* Project: OS Semaphore API File: OSInfo.h Copyright (C) 2001-2011 Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ #ifndef __OSINFO_H__ #define __OSINFO_H__ // SetInfo selectors #define OS_SETINFO_PMC_THREADS 0 // SetInfo options #define OS_SETINFO_OPTIONS_NONE 0 // GetInfo selectors #define OS_GETINFO_PMC_THREADS 0 #define OS_GETINFO_HDP 1 // GetInfo options #define OS_GETINFO_OPTIONS_NONE 0 FORWARD_DECLARE_STRUCT_TYPE(OSGetInfo_HDP) struct OSGetInfo_HDP { void * hdpStartAddr; u32 hdpSize; }; #ifndef _ASSEMBLER #ifdef __cplusplus extern "C" { #endif BOOL OSSetInfo(u32 selector, void* infoSrcAddr, u32 size, u32 options); BOOL OSGetInfo(u32 selector, void* infoDestAddr, u32 size, u32 options); #ifdef __cplusplus } #endif #endif // _ASSEMBLER #endif // __OSINFO_H__