Ticket #5178: x86-mmu-indentity.diff
File x86-mmu-indentity.diff, 572 bytes (added by , 15 years ago) |
---|
-
src/system/boot/platform/bios_ia32/mmu.cpp
diff --git a/src/system/boot/platform/bios_ia32/mmu.cpp b/src/system/boot/platform/bios_ia32/mmu.cpp index 677e975..d8fc535 100644
a b add_page_table(addr_t base) 158 158 // Get new page table and clear it out 159 159 uint32 *pageTable = get_next_page_table(); 160 160 if (pageTable > (uint32 *)(8 * 1024 * 1024)) { 161 panic("tried to add page table beyond the i ndentity mapped 8 MB "161 panic("tried to add page table beyond the identity mapped 8 MB " 162 162 "region\n"); 163 163 } 164 164