diff --git a/xtldr/arch/amd64/memory.c b/xtldr/arch/amd64/memory.c index d73748d0..c0ce6a88 100644 --- a/xtldr/arch/amd64/memory.c +++ b/xtldr/arch/amd64/memory.c @@ -102,8 +102,8 @@ BlBuildPageMap(IN PXTBL_PAGE_MAPPING PageMap) if(Mapping->VirtualAddress) { /* Dump memory mapping */ - BlDebugPrint(L" Type=%02lu, PhysicalBase=%.16p, VirtualBase=%.16p, Pages=%lu\n", - Mapping->MemoryType, Mapping->PhysicalAddress, Mapping->VirtualAddress, Mapping->NumberOfPages); + BlDebugPrint(L" Type=%02lu, PhysicalBase=%.16P, VirtualBase=%.16P, Pages=%lu\n", Mapping->MemoryType, + Mapping->PhysicalAddress, Mapping->VirtualAddress, Mapping->NumberOfPages); /* Map memory */ Status = BlMapPage(PageMap, (UINT_PTR)Mapping->VirtualAddress, diff --git a/xtldr/arch/i686/memory.c b/xtldr/arch/i686/memory.c index d9ddaea3..9e2b08b0 100644 --- a/xtldr/arch/i686/memory.c +++ b/xtldr/arch/i686/memory.c @@ -125,8 +125,8 @@ BlBuildPageMap(IN PXTBL_PAGE_MAPPING PageMap) if(Mapping->VirtualAddress) { /* Dump memory mapping */ - BlDebugPrint(L" Type=%02lu, PhysicalBase=%.8p, VirtualBase=%.8p, Pages=%lu\n", - Mapping->MemoryType, Mapping->PhysicalAddress, Mapping->VirtualAddress, Mapping->NumberOfPages); + BlDebugPrint(L" Type=%02lu, PhysicalBase=%.8P, VirtualBase=%.8P, Pages=%lu\n", Mapping->MemoryType, + Mapping->PhysicalAddress, Mapping->VirtualAddress, Mapping->NumberOfPages); /* Map memory */ Status = BlMapPage(PageMap, (UINT_PTR)Mapping->VirtualAddress,