Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
OSReset.c File Reference

Functions

static void KillThreads (void)
 
static int CallResetFunctions (int final)
 
static void Reset (u32 resetCode)
 
void OSRegisterShutdownFunction (OSShutdownFunctionInfo *info)
 
void OSUnregisterShutdownFunction (OSShutdownFunctionInfo *info)
 
int __OSCallShutdownFunctions (BOOL final, u32 event)
 
void __OSShutdownDevices (u32 event)
 
u8 __OSGetDiscState (u8 last)
 
void OSShutdownSystem (BOOL reset, u32 resetCode, BOOL forceMenu)
 
void OSRestart (u32 resetCode)
 
void __OSReturnToMenu (u8 menuMode)
 
void OSReturnToMenu (void)
 
void __OSReturnToMenuForError (void)
 
void __OSHotResetForError (void)
 
u32 OSGetResetCode ()
 
void OSResetSystem (int, u32, int)
 

Variables

BOOL __OSInNandBoot
 
static OSShutdownFunctionQueue ShutdownFunctionQueue
 
static u32 bootThisDol = 0
 
volatile BOOL __OSIsReturnToIdle = FALSE
 

Function Documentation

◆ __OSCallShutdownFunctions()

int __OSCallShutdownFunctions ( BOOL final,
u32 event )

◆ __OSGetDiscState()

u8 __OSGetDiscState ( u8 last)

◆ __OSHotResetForError()

void __OSHotResetForError ( void )

◆ __OSReturnToMenu()

void __OSReturnToMenu ( u8 menuMode)

◆ __OSReturnToMenuForError()

void __OSReturnToMenuForError ( void )

◆ __OSShutdownDevices()

void __OSShutdownDevices ( u32 event)

◆ CallResetFunctions()

static int CallResetFunctions ( int final)
static

◆ KillThreads()

static void KillThreads ( void )
static

◆ OSGetResetCode()

u32 OSGetResetCode ( )

◆ OSRegisterShutdownFunction()

void OSRegisterShutdownFunction ( OSShutdownFunctionInfo * info)

◆ OSResetSystem()

void OSResetSystem ( int reset,
u32 resetCode,
int forceMenu )

◆ OSRestart()

void OSRestart ( u32 resetCode)

◆ OSReturnToMenu()

void OSReturnToMenu ( void )

◆ OSShutdownSystem()

void OSShutdownSystem ( BOOL reset,
u32 resetCode,
BOOL forceMenu )

◆ OSUnregisterShutdownFunction()

void OSUnregisterShutdownFunction ( OSShutdownFunctionInfo * info)

◆ Reset()

static void Reset ( u32 resetCode)
static

Variable Documentation

◆ __OSInNandBoot

BOOL __OSInNandBoot
extern

◆ __OSIsReturnToIdle

volatile BOOL __OSIsReturnToIdle = FALSE

◆ bootThisDol

u32 bootThisDol = 0
static

◆ ShutdownFunctionQueue

OSShutdownFunctionQueue ShutdownFunctionQueue
static