]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Core/Pei/Image/Image.c
Fix one bug in PeiMain to make it output correct ImageStartAddress. And in DxeIplX64P...
[mirror_edk2.git] / EdkModulePkg / Core / Pei / Image / Image.c
index 32f0fe652300822d1f1e58d7d5a5da673d9baa19..c5c68c1d92f30b4dcaf47bd770c1201ac2355ccb 100644 (file)
@@ -131,7 +131,7 @@ Returns:
   //\r
   // Print debug message: Loading PEIM at 0x12345678 EntryPoint=0x12345688 Driver.efi\r
   //\r
-  DEBUG ((EFI_D_INFO | EFI_D_LOAD, "Loading PEIM at 0x%08x EntryPoint=0x%08x ", Pe32Data, *EntryPoint));\r
+  DEBUG ((EFI_D_INFO | EFI_D_LOAD, "Loading PEIM at 0x%08x EntryPoint=0x%08x ", (UINTN) ImageAddress, *EntryPoint));\r
   DEBUG_CODE_BEGIN ();\r
     EFI_IMAGE_DATA_DIRECTORY            *DirectoryEntry;\r
     EFI_IMAGE_DEBUG_DIRECTORY_ENTRY     *DebugEntry;\r