From 5e0e6240ab058c490304e0789552b45160f900be Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 20 Apr 2025 11:26:32 -0400 Subject: fix term/gpu memory OOB error, add dynamic kernel identity map with N_IDENT_PTS --- config/kernel.ld | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'config/kernel.ld') diff --git a/config/kernel.ld b/config/kernel.ld index 52e9088..bcacf61 100644 --- a/config/kernel.ld +++ b/config/kernel.ld @@ -9,27 +9,39 @@ SECTIONS . = ALIGN(0x1000); .text : { + text_start = .; *(.multiboot) *(.text) + *(.text.*) + text_end = .; } . = ALIGN(0x1000); .rodata : { + rodata_start = .; *(.rodata) + *(.rodata.*) + rodata_end = .; } . = ALIGN(0x1000); .data : { + data_start = .; *(.data) + *(.data.*) + data_end = .; } . = ALIGN(0x1000); .bss : { + bss_start = .; *(COMMON) *(.bss) + *(.bss.*) + bss_end = .; } kernel_end = .; -- cgit v1.2.3-freya