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

Classes

struct  AppLoaderStruct
 

Functions

static int PackArgs (void *addr, s32 argc, char **argv)
 
static asm void Run (register void *entryPoint)
 
static void StartDol (const OSExecParams *params, void *entry)
 
static void ReadDisc (void *param_0, s32 param_1, s32 param_2)
 
static void Callback (s32, DVDCommandBlock *)
 
OSExecParams *osExecParams AT_ADDRESS (0x800030f0)
 
static int IsStreamEnabled ()
 
void __OSGetExecParams (OSExecParams *param_0)
 
 __OSSetExecParams (const OSExecParams *src, OSExecParams *dst)
 
static void StopStreaming ()
 
s32 __OSAppLoaderOffset AT_ADDRESS (0x800030f4)
 
static int GetApploaderPosition (void)
 
static AppLoaderStructLoadApploader ()
 
static voidLoadDol (const OSExecParams *params, AppLoaderCallback getInterface)
 
static BOOL IsNewApploader (AppLoaderStruct *header)
 
volatile u32 BOOT_REGION_START AT_ADDRESS (0x812FDFF0)
 
volatile u32 BOOT_REGION_END AT_ADDRESS (0x812FDFEC)
 
volatile u8 g_unk_800030E2 AT_ADDRESS (0x800030E2)
 
void __OSBootDolSimple (u32 doloffset, u32 restartCode, void *regionStart, void *regionEnd, BOOL argsUseDefault, s32 argc, char **argv)
 
void __OSBootDol (u32 doloffset, u32 restartCode, const char **argv)
 

Variables

static BOOL Prepared
 

Function Documentation

◆ __OSBootDol()

void __OSBootDol ( u32  doloffset,
u32  restartCode,
const char **  argv 
)

◆ __OSBootDolSimple()

void __OSBootDolSimple ( u32  doloffset,
u32  restartCode,
void regionStart,
void regionEnd,
BOOL  argsUseDefault,
s32  argc,
char **  argv 
)

◆ __OSGetExecParams()

void __OSGetExecParams ( OSExecParams param_0)

◆ __OSSetExecParams()

__OSSetExecParams ( const OSExecParams src,
OSExecParams dst 
)

◆ AT_ADDRESS() [1/5]

volatile u8 g_unk_800030E2 AT_ADDRESS ( 0x800030E2  )
extern

◆ AT_ADDRESS() [2/5]

OSExecParams *osExecParams AT_ADDRESS ( 0x800030f0  )

◆ AT_ADDRESS() [3/5]

s32 __OSAppLoaderOffset AT_ADDRESS ( 0x800030f4  )

◆ AT_ADDRESS() [4/5]

volatile u32 BOOT_REGION_END AT_ADDRESS ( 0x812FDFEC  )
extern

◆ AT_ADDRESS() [5/5]

volatile u32 BOOT_REGION_START AT_ADDRESS ( 0x812FDFF0  )
extern

◆ Callback()

static void Callback ( s32  ,
DVDCommandBlock  
)
static

◆ GetApploaderPosition()

static int GetApploaderPosition ( void  )
static

◆ IsNewApploader()

static BOOL IsNewApploader ( AppLoaderStruct header)
static

◆ IsStreamEnabled()

static int IsStreamEnabled ( )
static

◆ LoadApploader()

static AppLoaderStruct * LoadApploader ( )
static

◆ LoadDol()

static void * LoadDol ( const OSExecParams params,
AppLoaderCallback  getInterface 
)
static

◆ PackArgs()

static int PackArgs ( void addr,
s32  argc,
char **  argv 
)
static

◆ ReadDisc()

static void ReadDisc ( void param_0,
s32  param_1,
s32  param_2 
)
static

◆ Run()

static asm void Run ( register void entryPoint)
static

◆ StartDol()

static void StartDol ( const OSExecParams params,
void entry 
)
static

◆ StopStreaming()

static void StopStreaming ( )
static

Variable Documentation

◆ Prepared

BOOL Prepared
static