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

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 2 Mar 2010 18:49:46 +0100 (CET)

Author: bonefish
Date: 2010-03-02 18:49:46 +0100 (Tue, 02 Mar 2010)
New Revision: 35724
Changeset: http://dev.haiku-os.org/changeset/35724/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-02 17:39:14 UTC (rev 35723)
+++ haiku/trunk/src/system/kernel/arch/x86/arch_vm_translation_map.cpp  
2010-03-02 17:49:46 UTC (rev 35724)
@@ -453,7 +453,9 @@
                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));


Other related posts:

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