Ticket #5178: x86-mmu-indentity.diff

File x86-mmu-indentity.diff, 572 bytes (added by andreasf, 15 years ago)

patch

  • 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)  
    158158    // Get new page table and clear it out
    159159    uint32 *pageTable = get_next_page_table();
    160160    if (pageTable > (uint32 *)(8 * 1024 * 1024)) {
    161         panic("tried to add page table beyond the indentity mapped 8 MB "
     161        panic("tried to add page table beyond the identity mapped 8 MB "
    162162            "region\n");
    163163    }
    164164