mirror of
https://github.com/wiiu-env/WiiUModuleSystem.git
synced 2024-11-22 01:39:19 +01:00
Rename WUMS_MODULE_INIT_BEFORE_ENTRYPOINT() to WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK(), add WUMS_MODULE_SKIP_ENTRYPOINT()
- Bump module information version to 2 - Bump WUMS version to 0.1.1
This commit is contained in:
parent
fa995a8627
commit
b580b4aa0b
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ include $(TOPDIR)/share/wums_rules
|
||||
|
||||
export WUMS_MAJOR := 0
|
||||
export WUMS_MINOR := 1
|
||||
export WUMS_PATCH := 0
|
||||
export WUMS_PATCH := 1
|
||||
|
||||
VERSION := $(WUMS_MAJOR).$(WUMS_MINOR).$(WUMS_PATCH)
|
||||
|
||||
|
@ -51,7 +51,8 @@ extern "C" {
|
||||
#define WUMS_MODULE_VERSION(x) WUMS_META(version, x)
|
||||
#define WUMS_MODULE_LICENSE(x) WUMS_META(license, x)
|
||||
#define WUMS_MODULE_DESCRIPTION(x) WUMS_META(description, x)
|
||||
#define WUMS_MODULE_INIT_BEFORE_ENTRYPOINT() WUMS_META(initBeforeEntrypoint, "true")
|
||||
#define WUMS_MODULE_SKIP_ENTRYPOINT() WUMS_META(skipEntrypoint, "true")
|
||||
#define WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK() WUMS_META(initBeforeRelocationDoneHook, "true")
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <stdint.h>
|
||||
|
||||
#define EXPORT_MAXIMUM_NAME_LENGTH 50
|
||||
typedef struct export_data_t {
|
||||
|
@ -53,11 +53,12 @@ struct module_information_single_t {
|
||||
uint32_t entrypoint;
|
||||
uint32_t startAddress;
|
||||
uint32_t endAddress;
|
||||
uint8_t initBeforeEntrypoint;
|
||||
uint8_t skipEntrypoint;
|
||||
uint8_t initBeforeRelocationDoneHook;
|
||||
};
|
||||
|
||||
#define MAXIMUM_MODULES 8
|
||||
#define MODULE_INFORMATION_VERSION 0x00000001
|
||||
#define MODULE_INFORMATION_VERSION 0x00000002
|
||||
|
||||
struct module_information_t {
|
||||
uint32_t version = MODULE_INFORMATION_VERSION;
|
||||
|
Loading…
Reference in New Issue
Block a user