Changeset f651e80 in mainline for kernel/arch/ia32/src/mm/page.c
- Timestamp:
- 2009-01-08T12:07:38Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7447572
- Parents:
- c571f42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/mm/page.c
rc571f42 rf651e80 80 80 { 81 81 if (last_frame + ALIGN_UP(size, PAGE_SIZE) > KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH)) 82 panic("Unable to map physical memory %p (%d bytes) ", physaddr, size)82 panic("Unable to map physical memory %p (%d bytes).", physaddr, size) 83 83 84 84 uintptr_t virtaddr = PA2KA(last_frame); … … 102 102 103 103 if (istate->error_word & PFERR_CODE_RSVD) 104 panic("Reserved bit set in page directory. \n");104 panic("Reserved bit set in page directory."); 105 105 106 106 if (istate->error_word & PFERR_CODE_RW) … … 110 110 111 111 if (as_page_fault(page, access, istate) == AS_PF_FAULT) { 112 fault_if_from_uspace(istate, "Page fault: %#x ", page);112 fault_if_from_uspace(istate, "Page fault: %#x.", page); 113 113 114 114 decode_istate(istate); 115 115 printf("page fault address: %#lx\n", page); 116 panic(" page fault\n");116 panic("Page fault."); 117 117 } 118 118 }
Note:
See TracChangeset
for help on using the changeset viewer.