Changeset 89c57b6 in mainline for kernel/arch/ia32/src/mm/page.c
- Timestamp:
- 2011-04-13T14:45:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88634420
- Parents:
- cefb126 (diff), 17279ead (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/mm/page.c
rcefb126 r89c57b6 82 82 { 83 83 if (last_frame + ALIGN_UP(size, PAGE_SIZE) > KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH)) 84 panic("Unable to map physical memory %p (%d bytes).", physaddr, size); 84 panic("Unable to map physical memory %p (%zu bytes).", 85 (void *) physaddr, size); 85 86 86 87 uintptr_t virtaddr = PA2KA(last_frame); … … 115 116 if (as_page_fault(page, access, istate) == AS_PF_FAULT) { 116 117 fault_if_from_uspace(istate, "Page fault: %#x.", page); 117 panic_memtrap(istate, access, page, "Page fault.");118 panic_memtrap(istate, access, page, NULL); 118 119 } 119 120 }
Note:
See TracChangeset
for help on using the changeset viewer.