]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Use UEFI macros for PE/COFF image types
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 5 Feb 2009 19:34:49 +0000 (19:34 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 5 Feb 2009 19:34:49 +0000 (19:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7441 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Core/Pei/Image/Image.c

index e02f7f13670a88f1b96ec7e2c8d93d1e38430e19..0ef19952a0c98399599a20dcfa59be8941e5701e 100644 (file)
@@ -307,7 +307,7 @@ PeiLoadImageLoadImage (
     //\r
     // Print debug message: Loading PEIM at 0x12345678 EntryPoint=0x12345688 Driver.efi\r
     //\r
-    if (Machine != IMAGE_FILE_MACHINE_IA64) {\r
+    if (Machine != EFI_IMAGE_MACHINE_IA64) {\r
       DEBUG ((EFI_D_INFO | EFI_D_LOAD, "Loading PEIM at 0x%11p EntryPoint=0x%11p ", (VOID *)(UINTN)ImageAddress, (VOID *)(UINTN)*EntryPoint));\r
     } else {\r
       //\r