From 3d7f51237735a1020cc9689ac8262865da099a1e Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Sun, 1 Feb 2026 16:02:27 +0100 Subject: [PATCH] Use 64-bit format specifiers for memory mapping logs --- boot/xtldr/arch/i686/memory.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/boot/xtldr/arch/i686/memory.cc b/boot/xtldr/arch/i686/memory.cc index 877a8ac..cc9cdeb 100644 --- a/boot/xtldr/arch/i686/memory.cc +++ b/boot/xtldr/arch/i686/memory.cc @@ -157,8 +157,9 @@ Memory::BuildPageMap(IN PXTBL_PAGE_MAPPING PageMap, if(Mapping->VirtualAddress) { /* Dump memory mapping */ - Debug::Print(L" Type=%02lu, PhysicalBase=%.8P, VirtualBase=%.8P, Pages=%llu\n", Mapping->MemoryType, - Mapping->PhysicalAddress, Mapping->VirtualAddress, Mapping->NumberOfPages); + Debug::Print(L" Type=%02lu, PhysicalBase=0x%.8llX, VirtualBase=0x%.8llX, Pages=%llu\n", + Mapping->MemoryType, Mapping->PhysicalAddress, + Mapping->VirtualAddress, Mapping->NumberOfPages); /* Map memory */ Status = MapPage(PageMap, (UINT_PTR)Mapping->VirtualAddress,