mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-18 18:59:19 +01:00
Update module_defines.h to match latest SetupPayload version
This commit is contained in:
parent
13e5d854d1
commit
518d53b5fb
@ -32,12 +32,19 @@ extern "C" {
|
|||||||
|
|
||||||
#define DYN_LINK_RELOCATION_LIST_LENGTH 500
|
#define DYN_LINK_RELOCATION_LIST_LENGTH 500
|
||||||
#define EXPORT_ENTRY_LIST_LENGTH 100
|
#define EXPORT_ENTRY_LIST_LENGTH 100
|
||||||
|
#define HOOK_ENTRY_LIST_LENGTH 10
|
||||||
|
|
||||||
|
typedef struct hook_data_t {
|
||||||
|
uint32_t type;
|
||||||
|
uint32_t target = 0;
|
||||||
|
} hook_data_t;
|
||||||
|
|
||||||
struct module_information_single_t {
|
struct module_information_single_t {
|
||||||
char path[MAXIMUM_MODULE_PATH_NAME_LENGTH] = ""; // Path where the module is stored
|
char path[MAXIMUM_MODULE_PATH_NAME_LENGTH] = ""; // Path where the module is stored
|
||||||
dyn_linking_relocation_entry_t linking_entries[DYN_LINK_RELOCATION_LIST_LENGTH];
|
dyn_linking_relocation_entry_t linking_entries[DYN_LINK_RELOCATION_LIST_LENGTH];
|
||||||
char module_export_name[MAXIMUM_EXPORT_MODULE_NAME_LENGTH];
|
char module_export_name[MAXIMUM_EXPORT_MODULE_NAME_LENGTH];
|
||||||
export_data_t export_entries[EXPORT_ENTRY_LIST_LENGTH];
|
export_data_t export_entries[EXPORT_ENTRY_LIST_LENGTH];
|
||||||
|
hook_data_t hook_entries[HOOK_ENTRY_LIST_LENGTH];
|
||||||
int32_t priority; // Priority of this module
|
int32_t priority; // Priority of this module
|
||||||
uint32_t bssAddr;
|
uint32_t bssAddr;
|
||||||
uint32_t bssSize;
|
uint32_t bssSize;
|
||||||
|
Loading…
Reference in New Issue
Block a user