Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
OSExec.h
Go to the documentation of this file.
1#ifndef _DOLPHIN_OSEXEC_H_
2#define _DOLPHIN_OSEXEC_H_
3
4#ifdef __REVOLUTION_SDK__
6#else
7#include <dolphin/types.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
22
23typedef int (*appGetNextCallback)(void*, u32*, u32*);
24typedef void (*appInitCallback)(void (*)(char*));
25typedef void* (*appGetEntryCallback)();
27
28OSExecParams* __OSExecParams AT_ADDRESS(0x800030F0);
29s32 __OSAppLoaderOffset AT_ADDRESS(0x800030F4);
30
31void OSExecv(const char* dolfile, const char** argv);
32void OSExecl(const char* dolfile, const char* arg0, ...);
33
34#ifdef __cplusplus
35}
36#endif
37
38#endif
39#endif
void OSExecl(const char *dolfile, const char *arg0,...)
Definition OSExec.c:363
OSExecParams *__OSExecParams AT_ADDRESS(0x800030F0)
int BOOL
Definition types.h:33
unsigned long u32
Definition types.h:12
signed long s32
Definition types.h:11
void *(* appGetEntryCallback)()
Definition OSExec.h:22
void(* appInitCallback)(void(*)(char *))
Definition OSExec.h:21
int(* appGetNextCallback)(void *, u32 *, u32 *)
Definition OSExec.h:20
void(* AppLoaderCallback)(appInitCallback *, appGetNextCallback *, appGetEntryCallback *)
Definition OSExec.h:23
void OSExecv(const char *dolfile, const char **argv)
Definition OSExec.c:351
Definition OSExec.h:13
void * argsAddr
Definition OSExec.h:20
void * regionStart
Definition OSExec.h:17
BOOL valid
Definition OSExec.h:14
void * regionEnd
Definition OSExec.h:18
u32 restartCode
Definition OSExec.h:15
int argsUseDefault
Definition OSExec.h:19
u32 bootDol
Definition OSExec.h:16