more detailed report in memory management error path

This commit is contained in:
Balazs Gerofi bgerofi@riken.jp
2014-05-22 17:27:39 +09:00
parent 6a8e75dda0
commit badb450153
4 changed files with 16 additions and 3 deletions

View File

@ -414,6 +414,7 @@ static int __set_pt_page(struct page_table *pt, void *virt, unsigned long phys,
if (pt->entry[l1idx] & PFL1_PRESENT) {
if ((pt->entry[l1idx] & PT_PHYSMASK) != phys) {
kprintf("EBUSY: page table for 0x%lX is already set\n", virt);
return -EBUSY;
} else {
return 0;