Changeset f651e80 in mainline for kernel/arch/amd64/src/mm/page.c
- Timestamp:
- 2009-01-08T12:07:38Z (17 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/amd64/src/mm/page.c
rc571f42 rf651e80 181 181 182 182 if (istate->error_word & PFERR_CODE_RSVD) 183 panic("Reserved bit set in page table entry. \n");183 panic("Reserved bit set in page table entry."); 184 184 185 185 if (istate->error_word & PFERR_CODE_RW) … … 191 191 192 192 if (as_page_fault(page, access, istate) == AS_PF_FAULT) { 193 fault_if_from_uspace(istate, "Page fault: %#x ", page);193 fault_if_from_uspace(istate, "Page fault: %#x.", page); 194 194 195 195 decode_istate(n, istate); 196 printf("Page fault address: %llx \n", page);197 panic("Page fault \n");196 printf("Page fault address: %llx.\n", page); 197 panic("Page fault."); 198 198 } 199 199 } … … 203 203 { 204 204 if (last_frame + ALIGN_UP(size, PAGE_SIZE) > KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH)) 205 panic("Unable to map physical memory %p (%d bytes) ", physaddr, size)205 panic("Unable to map physical memory %p (%d bytes).", physaddr, size) 206 206 207 207 uintptr_t virtaddr = PA2KA(last_frame);
Note:
See TracChangeset
for help on using the changeset viewer.