mirror of
https://github.com/wiiu-env/fw_img_payload.git
synced 2024-11-16 17:59:19 +01:00
Link to 0x00800000 instead of 0x00FD0000
This commit is contained in:
parent
44d006fd3f
commit
5df4429561
@ -40,7 +40,7 @@ SaveAndResetDataBATs_And_SRs_hook:
|
||||
#define BAT_SET_NOP_ADDR_8 0xFFEE11C4
|
||||
#define BAT_SET_NOP_ADDR_9 0xFFEE11C8
|
||||
|
||||
#define BAT_SETUP_HOOK_ENTRY 0x00FD0000
|
||||
#define BAT_SETUP_HOOK_ENTRY 0x00800000
|
||||
|
||||
|
||||
#define BAT4U_VAL 0x008000FF
|
||||
|
@ -3,7 +3,7 @@ OUTPUT(payload.elf);
|
||||
ENTRY(_start);
|
||||
|
||||
SECTIONS {
|
||||
. = 0x00FD0000;
|
||||
. = 0x00800000;
|
||||
.text : {
|
||||
*(.kernel_code*);
|
||||
*(.text*);
|
||||
@ -23,4 +23,4 @@ SECTIONS {
|
||||
}
|
||||
}
|
||||
|
||||
ASSERT((SIZEOF(.text) + SIZEOF(.data)) < 0x30000, "elf is too big");
|
||||
ASSERT((SIZEOF(.text) + SIZEOF(.data)) < 0x00800000, "elf is too big");
|
Loading…
Reference in New Issue
Block a user