Browse Source

boot.asm: fix typo that made p3[0] -> p2 PRESENT but not WRITABLE

This caused major issues when switching on the WRPROT flag
master
3moon 8 years ago
parent
commit
955815007e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/arch/x86_64/boot.asm

+ 1
- 1
src/arch/x86_64/boot.asm View File

@ -101,7 +101,7 @@ setup_ptables:
; p3[0] -> p2
mov eax, p2_table
or eax, 0b1 ; present + writable
or eax, 0b11 ; present + writable
mov [p3_table], eax
; map each p2 entry to a 2mib hugepage


Loading…
Cancel
Save