From 6508ce9f521fa173b64b11cb35dff85c8bf86558 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 18 Sep 2013 00:25:32 +0200 Subject: [PATCH] X86VMTranslationMapPAE::Map(): More info in assert --- .../kernel/arch/x86/paging/pae/X86VMTranslationMapPAE.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/arch/x86/paging/pae/X86VMTranslationMapPAE.cpp b/src/system/kernel/arch/x86/paging/pae/X86VMTranslationMapPAE.cpp index a7e7ef81b3..9ca84d1f6e 100644 --- a/src/system/kernel/arch/x86/paging/pae/X86VMTranslationMapPAE.cpp +++ b/src/system/kernel/arch/x86/paging/pae/X86VMTranslationMapPAE.cpp @@ -227,8 +227,8 @@ X86VMTranslationMapPAE::Map(addr_t virtualAddress, phys_addr_t physicalAddress, + virtualAddress / B_PAGE_SIZE % kPAEPageTableEntryCount; ASSERT_PRINT((*entry & X86_PAE_PTE_PRESENT) == 0, - "virtual address: %#" B_PRIxADDR ", existing pte: %#" B_PRIx64, - virtualAddress, *entry); + "virtual address: %#" B_PRIxADDR ", existing pte: %#" B_PRIx64 " @ %p", + virtualAddress, *entry, entry); X86PagingMethodPAE::PutPageTableEntryInTable(entry, physicalAddress, attributes, memoryType, fIsKernelMap);