summaryrefslogtreecommitdiff
path: root/Kernel/linker.ld
diff options
context:
space:
mode:
authorsupercomputer7 <liavalb@gmail.com>2019-11-08 16:37:33 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-11-08 17:38:23 +0100
commitc3c905aa6c36d63b55736d361ebecb857ecfd605 (patch)
tree3e4e304da50e76a08d140de01af9bff359eec8ca /Kernel/linker.ld
parent39fcd92210599f903566fc914ba31f67b6c4f758 (diff)
downloadserenity-c3c905aa6c36d63b55736d361ebecb857ecfd605.zip
Kernel: Removing hardcoded offsets from Memory Manager
Now the kernel page directory and the page tables are located at a safe address, to prevent from paging data colliding with garbage.
Diffstat (limited to 'Kernel/linker.ld')
-rw-r--r--Kernel/linker.ld1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/linker.ld b/Kernel/linker.ld
index 169fe43c3a..43d1115caf 100644
--- a/Kernel/linker.ld
+++ b/Kernel/linker.ld
@@ -8,6 +8,7 @@ SECTIONS
{
Arch/i386/Boot/boot.ao
*(.multiboot)
+ *(.page_tables)
*(.text)
*(.text.startup)
}