Kernel: Make 32bit not use large pages during boot
There is no guarantee that they are supported
This commit is contained in:
parent
061012a268
commit
bb061d2a0a
|
@ -82,9 +82,18 @@ boot_pdpt:
|
|||
boot_pd:
|
||||
.set i, 0
|
||||
.rept 512
|
||||
.long i + (PG_PAGE_SIZE | PG_READ_WRITE | PG_PRESENT)
|
||||
.long V2P(boot_pts) + i + (PG_READ_WRITE | PG_PRESENT)
|
||||
.long 0
|
||||
.set i, i + 0x200000
|
||||
.set i, i + 0x1000
|
||||
.endr
|
||||
boot_pts:
|
||||
.set i, 0
|
||||
.rept 512
|
||||
.rept 512
|
||||
.long i + (PG_READ_WRITE | PG_PRESENT)
|
||||
.long 0
|
||||
.set i, i + 0x1000
|
||||
.endr
|
||||
.endr
|
||||
|
||||
boot_gdt:
|
||||
|
|
Loading…
Reference in New Issue