mirror of
https://github.com/wiiu-env/haxchi.git
synced 2024-11-15 04:45:06 +01:00
791b2944a7
-modified IOSU exploit to load from high MEM1 to not run into existing memory and crash -updated homebrew launcher loader to follow dimoks latest commit and be ready for 1.4 .rpx loading
41 lines
946 B
C
41 lines
946 B
C
#ifndef __OS_DEFS_H_
|
|
#define __OS_DEFS_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct _OsSpecifics
|
|
{
|
|
unsigned int addr_OSDynLoad_Acquire;
|
|
unsigned int addr_OSDynLoad_FindExport;
|
|
unsigned int addr_OSTitle_main_entry;
|
|
|
|
unsigned int addr_KernSyscallTbl1;
|
|
unsigned int addr_KernSyscallTbl2;
|
|
unsigned int addr_KernSyscallTbl3;
|
|
unsigned int addr_KernSyscallTbl4;
|
|
unsigned int addr_KernSyscallTbl5;
|
|
|
|
int (*LiWaitIopComplete)(int, int *);
|
|
int (*LiWaitIopCompleteWithInterrupts)(int, int *);
|
|
unsigned int addr_LiWaitOneChunk;
|
|
unsigned int addr_PrepareTitle_hook;
|
|
unsigned int addr_sgIsLoadingBuffer;
|
|
unsigned int addr_gDynloadInitialized;
|
|
unsigned int orig_LiWaitOneChunkInstr;
|
|
} OsSpecifics;
|
|
|
|
typedef struct _s_mem_area
|
|
{
|
|
unsigned int address;
|
|
unsigned int size;
|
|
struct _s_mem_area* next;
|
|
} s_mem_area;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __OS_DEFS_H_
|