From: Amelia Coutard <eliottulio.coutard@gmail.com>
Date: Mon, 6 Mar 2023 16:09:48 +0000 (+0100)
Subject: Removed global bit on the low-memory mapping of the kernel: it was a mistake
X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=32b9716d9445a2239154a62abcc6c3de2f674e0b;p=voyage-au-centre-des-fichiers.git

Removed global bit on the low-memory mapping of the kernel: it was a mistake
---

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