Don't use huge pages, for simplicity

This commit is contained in:
Thomas Lovén 2018-03-20 14:01:26 +01:00
parent 99ecff44d8
commit 646d25825a

View File

@ -15,7 +15,13 @@ BootP3:
.quad 0
.endr
BootP2:
.quad (PAGE_PRESENT | PAGE_WRITE | PAGE_HUGE)
.quad offset BootP1 + (PAGE_PRESENT | PAGE_WRITE)
.rept ENTRIES_PER_PT - 1
.quad 0
.endr
BootP1:
.set i, 0
.rept ENTRIES_PER_PT
.quad (i << 12) + (PAGE_PRESENT | PAGE_WRITE)
.set i, (i+1)
.endr