This website works better with JavaScript.
Home
Explore
Help
Sign In
er1n
/
sparkle
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
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
0b22410c5e
commit
955815007e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
,
0b
1
; present + writable
or
eax
,
0b
1
1
; present + writable
mov
[
p3_table
],
eax
; map each p2 entry to a 2mib hugepage
Write
Preview
Loading…
Cancel
Save