Extended assert output.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35724 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-03-02 17:49:46 +00:00
parent 0010ec111c
commit dcdf2ab981

View File

@ -453,7 +453,9 @@ X86VMTranslationMap::Map(addr_t va, addr_t pa, uint32 attributes,
pd[index] & X86_PDE_ADDRESS_MASK);
index = VADDR_TO_PTENT(va);
ASSERT((pt[index] & X86_PTE_PRESENT) == 0);
ASSERT_PRINT((pt[index] & X86_PTE_PRESENT) == 0,
"virtual address: %#" B_PRIxADDR ", existing pte: %#" B_PRIx32, va,
pt[index]);
put_page_table_entry_in_pgtable(&pt[index], pa, attributes,
IS_KERNEL_MAP(map));