mirror of
https://github.com/wiiu-env/CustomRPXLoader.git
synced 2024-11-21 17:39:16 +01:00
Move code to 0x00808000
This commit is contained in:
parent
fb32aec5b7
commit
923b43072c
@ -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 0x00900000
|
||||
#define BAT_SETUP_HOOK_ENTRY 0x00808000
|
||||
|
||||
|
||||
#define BAT4U_VAL 0x008000FF
|
||||
|
@ -3,7 +3,7 @@ OUTPUT(payload.elf);
|
||||
ENTRY(_start);
|
||||
|
||||
SECTIONS {
|
||||
. = 0x00900000;
|
||||
. = 0x00808000;
|
||||
.text : {
|
||||
*(.kernel_code*);
|
||||
*(.text*);
|
||||
@ -23,4 +23,4 @@ SECTIONS {
|
||||
}
|
||||
}
|
||||
|
||||
ASSERT((SIZEOF(.text) + SIZEOF(.data)) < 0x100000, "elf is too big");
|
||||
ASSERT((SIZEOF(.text) + SIZEOF(.data)) < (0x00900000 - 0x00808000), "elf is too big");
|
Loading…
Reference in New Issue
Block a user