]> git.ameliathe1st.gay Git - voyage-au-centre-des-fichiers.git/commitdiff
Removed global bit on the low-memory mapping of the kernel: it was a mistake
authorAmelia Coutard <eliottulio.coutard@gmail.com>
Mon, 6 Mar 2023 16:09:48 +0000 (17:09 +0100)
committerAmelia Coutard <eliottulio.coutard@gmail.com>
Mon, 6 Mar 2023 16:09:48 +0000 (17:09 +0100)
kernel/src/boot.S

index a4b2fb833acc40da4c4f9d54cc2ab6c730a44061..48e535dc9cc7dca51933be2e0be446e48f7377be 100644 (file)
@@ -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