12#define OS_RESETCODE_RESTART 0x80000000
13#define OS_RESETCODE_SYSTEM 0x40000000
15#define OS_RESETCODE_EXEC 0xC0000000
16#define OS_RESETCODE_NETCONFIG 0xC0010000
18#define OS_RESET_TIMEOUT OSMillisecondsToTicks(1000)
20#define OS_RESET_RESTART 0
21#define OS_RESET_HOTRESET 1
22#define OS_RESET_SHUTDOWN 2
24#define OS_RESET_PRIO_SO 110
25#define OS_RESET_PRIO_IP 111
26#define OS_RESET_PRIO_CARD 127
27#define OS_RESET_PRIO_PAD 127
28#define OS_RESET_PRIO_GX 127
29#define OS_RESET_PRIO_ALARM 4294967295
static void Reset(s32 param_0)
vu32 __PIRegs[12] AT_ADDRESS(0xCC003000)
void __OSDoHotReset(s32 param_0)
Definition OSReset.c:142
void OSResetSystem(int reset, u32 resetCode, BOOL forceMenu)
Definition OSReset.c:154
BOOL __OSCallResetFunctions(u32 param_0)
Definition OSReset.c:46
BOOL(* OSResetFunction)(BOOL final)
Definition OSReset.h:31
void OSRegisterResetFunction(OSResetFunctionInfo *info)
Definition OSReset.c:13
u32 OSGetResetCode(void)
Definition OSReset.c:215
static void KillThreads(void)
T cLib_calcTimer(T *value)
Definition c_lib.h:74
u32 priority
Definition OSReset.h:35
OSResetFunction func
Definition OSReset.h:34
struct OSResetFunctionInfo * prev
Definition OSReset.h:37
struct OSResetFunctionInfo * next
Definition OSReset.h:36
OSResetFunctionInfo * first
Definition OSReset.h:41
OSResetFunctionInfo * last
Definition OSReset.h:42
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
volatile u32 vu32
Definition types.h:15
signed long s32
Definition types.h:6