From 32b9716d9445a2239154a62abcc6c3de2f674e0b Mon Sep 17 00:00:00 2001 From: Amelia Coutard Date: Mon, 6 Mar 2023 17:09:48 +0100 Subject: [PATCH] Removed global bit on the low-memory mapping of the kernel: it was a mistake --- kernel/src/boot.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/src/boot.S b/kernel/src/boot.S index a4b2fb8..48e535d 100644 --- a/kernel/src/boot.S +++ b/kernel/src/boot.S @@ -116,10 +116,10 @@ IO_MAP_END: PML4T: .quad PDPT_low - KERNEL_VMA + 3 .skip 0x1000 - 16 .quad PDPT_high - KERNEL_VMA + 3 -PDPT_low: .quad 0x183 # G | 1GiB page | R/W | P +PDPT_low: .quad 0x83 # 1GiB page | R/W | P .skip 0x1000 - 8 PDPT_high: .skip 0x1000 - 16 - .quad 0x183 + .quad 0x183 # G | 1GiB page | R/W | P .quad 0x183 + 1024 * 1024 * 1024 .section .bss -- 2.47.0