]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h
1.replace macros EFI32 with MDE_CPU_IA32
[mirror_edk2.git] / EdkNt32Pkg / Include / Library / EdkGenericBdsLib.h
index 7ec022262023067405cc3b385eb743a0518f5c5f..aa3cfaea7a1082fccfba2afdd5cc951a8e751468 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2007, Intel Corporation\r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -305,7 +305,7 @@ BdsBootByDiskSignatureAndPartition (
 //\r
 // Notes: EFI 64 shadow all option rom\r
 //\r
-#ifdef EFI64\r
+#if   defined (MDE_CPU_IPF)\r
 #define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom ();\r
 VOID\r
 ShadowAllOptionRom();\r
@@ -316,7 +316,7 @@ ShadowAllOptionRom();
 //\r
 // BBS support macros and functions\r
 //\r
-#ifdef EFI32\r
+#if   defined (MDE_CPU_IA32)\r
 #define REFRESH_LEGACY_BOOT_OPTIONS \\r
         BdsDeleteAllInvalidLegacyBootOptions ();\\r
         BdsAddNonExistingLegacyBootOptions (); \\r