2017-10-29 08:28:11 +01:00
|
|
|
#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;
|
|
|
|
} OsSpecifics;
|
|
|
|
|
2017-11-11 15:48:41 +01:00
|
|
|
typedef struct _s_mem_area
|
|
|
|
{
|
|
|
|
unsigned int address;
|
|
|
|
unsigned int size;
|
|
|
|
struct _s_mem_area* next;
|
|
|
|
} s_mem_area;
|
|
|
|
|
2017-10-29 08:28:11 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // __OS_DEFS_H_
|