map_page() will now be a bit more specific when it complains about an
invalid page. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7286 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8d35b1a200
commit
bbf495f47d
@ -112,7 +112,7 @@ map_page(addr_t virtualAddress, addr_t physicalAddress, uint32 flags)
|
||||
TRACE(("map_page: vaddr 0x%lx, paddr 0x%lx\n", virtualAddress, physicalAddress));
|
||||
|
||||
if (virtualAddress < KERNEL_BASE || virtualAddress >= (KERNEL_BASE + 4096*1024))
|
||||
panic("map_page: asked to map invalid page!\n");
|
||||
panic("map_page: asked to map invalid page %p!\n", (void *)virtualAddress);
|
||||
|
||||
physicalAddress &= ~(B_PAGE_SIZE - 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user