[haiku-commits] r35697 - haiku/trunk/src/system/kernel/arch/x86

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 1 Mar 2010 14:45:02 +0100 (CET)

Author: bonefish
Date: 2010-03-01 14:45:02 +0100 (Mon, 01 Mar 2010)
New Revision: 35697
Changeset: http://dev.haiku-os.org/changeset/35697/haiku

Modified:
   haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp
Log:
Extended assert output.


Modified: haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp
===================================================================
--- haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp  
2010-03-01 10:11:22 UTC (rev 35696)
+++ haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp  
2010-03-01 13:45:02 UTC (rev 35697)
@@ -1436,7 +1436,9 @@
        }
 
        ASSERT_PRINT((sPageHole[va / B_PAGE_SIZE] & X86_PTE_PRESENT) == 0,
-               "existing pte: %#" B_PRIx32, sPageHole[va / B_PAGE_SIZE]);
+               "virtual address: %#" B_PRIxADDR ", pde: %#" B_PRIx32
+               ", existing pte: %#" B_PRIx32, va, sPageHolePageDir[index],
+               sPageHole[va / B_PAGE_SIZE]);
 
        // now, fill in the pentry
        put_page_table_entry_in_pgtable(sPageHole + va / B_PAGE_SIZE, pa,


Other related posts:

  • » [haiku-commits] r35697 - haiku/trunk/src/system/kernel/arch/x86 - ingo_weinhold