From: mdkinney Date: Thu, 5 Feb 2009 19:34:49 +0000 (+0000) Subject: Use UEFI macros for PE/COFF image types X-Git-Tag: edk2-stable201903~18808 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=7cf027141fe74bbf43ac8003c246911d0a73ff7b Use UEFI macros for PE/COFF image types git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7441 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Core/Pei/Image/Image.c b/MdeModulePkg/Core/Pei/Image/Image.c index e02f7f1367..0ef19952a0 100644 --- a/MdeModulePkg/Core/Pei/Image/Image.c +++ b/MdeModulePkg/Core/Pei/Image/Image.c @@ -307,7 +307,7 @@ PeiLoadImageLoadImage ( // // Print debug message: Loading PEIM at 0x12345678 EntryPoint=0x12345688 Driver.efi // - if (Machine != IMAGE_FILE_MACHINE_IA64) { + if (Machine != EFI_IMAGE_MACHINE_IA64) { DEBUG ((EFI_D_INFO | EFI_D_LOAD, "Loading PEIM at 0x%11p EntryPoint=0x%11p ", (VOID *)(UINTN)ImageAddress, (VOID *)(UINTN)*EntryPoint)); } else { //