Loading [MathJax]/extensions/MathMenu.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
OSExec.h
Go to the documentation of this file.
1#ifndef _DOLPHIN_OSEXEC_H_
2#define _DOLPHIN_OSEXEC_H_
3
4#include <dolphin/types.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
19
20typedef int (*appGetNextCallback)(void*, u32*, u32*);
21typedef void (*appInitCallback)(void (*)(char*));
22typedef void* (*appGetEntryCallback)();
24
25OSExecParams* __OSExecParams AT_ADDRESS(0x800030F0);
26s32 __OSAppLoaderOffset AT_ADDRESS(0x800030F4);
27
28void OSExecv(const char* dolfile, const char** argv);
29void OSExecl(const char* dolfile, const char* arg0, ...);
30
31#ifdef __cplusplus
32}
33#endif
34
35#endif
void *(* appGetEntryCallback)()
Definition OSExec.h:22
void(* appInitCallback)(void(*)(char *))
Definition OSExec.h:21
int(* appGetNextCallback)(void *, u32 *, u32 *)
Definition OSExec.h:20
void OSExecl(const char *dolfile, const char *arg0,...)
Definition OSExec.c:363
void(* AppLoaderCallback)(appInitCallback *, appGetNextCallback *, appGetEntryCallback *)
Definition OSExec.h:23
void OSExecv(const char *dolfile, const char **argv)
Definition OSExec.c:351
OSExecParams *__OSExecParams AT_ADDRESS(0x800030F0)
Definition OSExec.h:10
void * regionStart
Definition OSExec.h:14
void * regionEnd
Definition OSExec.h:15
void * argsAddr
Definition OSExec.h:17
BOOL valid
Definition OSExec.h:11
u32 restartCode
Definition OSExec.h:12
int argsUseDefault
Definition OSExec.h:16
u32 bootDol
Definition OSExec.h:13
int BOOL
Definition types.h:30
unsigned long u32
Definition types.h:9
signed long s32
Definition types.h:8