Some simplification and commenting

This commit is contained in:
2017-11-15 20:37:22 +01:00
parent 93d60294ba
commit 4f9a4292e5
2 changed files with 45 additions and 40 deletions

View File

@@ -7,16 +7,10 @@
BootP4:
.quad offset BootP3 + (PAGE_PRESENT | PAGE_WRITE)
.rept ENTRIES_PER_PT - 1
.quad 0x0
.quad 0
.endr
BootP3:
.quad offset BootP2 + (PAGE_PRESENT | PAGE_WRITE)
.quad 0 + (PAGE_PRESENT | PAGE_WRITE | PAGE_HUGE)
.rept ENTRIES_PER_PT - 1
.quad 0x0
.endr
BootP2:
.set i, 0
.rept ENTRIES_PER_PT
.quad (i << 21 ) + (PAGE_PRESENT | PAGE_WRITE | PAGE_HUGE)
.set i, (i+1)
.quad 0
.endr