Changes in kernel/arch/amd64/src/mm/page.c [7e752b2:c15b374] in mainline
- File:
-
- 1 edited
-
kernel/arch/amd64/src/mm/page.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/mm/page.c
r7e752b2 rc15b374 89 89 90 90 if (as_page_fault(page, access, istate) == AS_PF_FAULT) { 91 fault_if_from_uspace(istate, "Page fault: % p.", (void *)page);91 fault_if_from_uspace(istate, "Page fault: %#x.", page); 92 92 panic_memtrap(istate, access, page, NULL); 93 93 } … … 97 97 { 98 98 if (last_frame + ALIGN_UP(size, PAGE_SIZE) > KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH)) 99 panic("Unable to map physical memory %p (% zu bytes).",100 (void *) physaddr,size);99 panic("Unable to map physical memory %p (%" PRIs " bytes).", physaddr, 100 size); 101 101 102 102 uintptr_t virtaddr = PA2KA(last_frame);
Note:
See TracChangeset
for help on using the changeset viewer.
