WiiUModuleSystem/include/wums/defines/relocation_defines.h

22 lines
533 B
C
Raw Normal View History

2020-06-06 16:46:11 +02:00
#pragma once
2021-09-23 22:40:10 +02:00
2020-06-06 16:46:11 +02:00
#include <stdint.h>
typedef enum RelocationTrampolinStatus{
RELOC_TRAMP_FREE = 0,
RELOC_TRAMP_FIXED = 1,
RELOC_TRAMP_IMPORT_IN_PROGRESS = 2,
RELOC_TRAMP_IMPORT_DONE = 3,
} RelocationTrampolinStatus;
typedef enum RelocationType{
RELOC_TYPE_FIXED = 0,
RELOC_TYPE_IMPORT = 1
} RelocationType;
typedef struct relocation_trampolin_entry_t {
uint32_t id;
uint32_t trampolin[4];
2021-09-17 16:17:54 +02:00
RelocationTrampolinStatus status;
2020-06-06 16:46:11 +02:00
} relocation_trampolin_entry_t;