Load the CustomRPXLoader into the start of the memory region, don't limit the size

This commit is contained in:
Maschell 2024-04-20 09:01:04 +02:00
parent fc1108fdbe
commit dacb728d12

View File

@ -3,7 +3,7 @@ OUTPUT(payload.elf);
ENTRY(_start); ENTRY(_start);
SECTIONS { SECTIONS {
. = 0x00808000; . = 0x00800000;
.text : { .text : {
*(.kernel_code*); *(.kernel_code*);
/* everything below this code may get overwritten at runtime */ /* everything below this code may get overwritten at runtime */
@ -24,4 +24,4 @@ SECTIONS {
} }
} }
ASSERT((SIZEOF(.text) + SIZEOF(.data)) < (0x00900000 - 0x00808000), "elf is too big"); ASSERT((SIZEOF(.text) + SIZEOF(.data)) < (0x00FD0000 - 0x00800000), "elf is too big");