summaryrefslogtreecommitdiff
path: root/include/rvl/OS/OSExec.h
blob: 740935364f6f2dfa6b398fa0eeb4e348cf37f689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef RVL_SDK_OS_EXEC_H
#define RVL_SDK_OS_EXEC_H
#include "common.h"
#ifdef __cplusplus
extern "C" {
#endif

typedef struct OSExecParams {
    UNKWORD WORD_0x0;
    UNKWORD WORD_0x4;
    char UNK_0x8[0x4];
    void *regionStart; // at 0xC
    void *regionEnd;   // at 0x10
    char UNK_0x14[0x1C - 0x14];
} OSExecParams;

extern BOOL __OSInReboot;

void __OSGetExecParams(OSExecParams *out);
void __OSLaunchMenu(void);

void OSExecl(const char* dolfile, const char* arg0, ...);

#ifdef __cplusplus
}
#endif
#endif