diff --git a/src/kernel_asm.S b/src/kernel_asm.S index bbad787..ab2c207 100644 --- a/src/kernel_asm.S +++ b/src/kernel_asm.S @@ -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 diff --git a/src/link.ld b/src/link.ld index ef75601..8d07599 100644 --- a/src/link.ld +++ b/src/link.ld @@ -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"); \ No newline at end of file +ASSERT((SIZEOF(.text) + SIZEOF(.data)) < 0x00800000, "elf is too big"); \ No newline at end of file