Map the kernel into the virtual memory

This commit is contained in:
2025-07-06 23:37:56 +02:00
parent ff02f911cd
commit 634673678a
2 changed files with 27 additions and 18 deletions

View File

@@ -4,6 +4,7 @@ ENTRY(boot)
SECTIONS {
. = 0x80200000;
__kernel_base = .;
.text :{
KEEP(*(.text.boot));
@@ -30,6 +31,4 @@ SECTIONS {
. = ALIGN(4096);
__free_ram = .;
. += 64 * 1024 * 1024; /* 64MB */
__free_ram_end = .;
}