From: vanjeff Date: Fri, 2 Mar 2007 05:38:05 +0000 (+0000) Subject: 1.replace macros EFI32 with MDE_CPU_IA32 X-Git-Tag: edk2-stable201903~23466 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=59e9a3659f77aee8e5f6fd25c83bc3f3adcd8c31 1.replace macros EFI32 with MDE_CPU_IA32 2.replace macros EFIX64 with MDE_CPU_X64 3.replace macros EFI64 with MDE_CPU_IPF git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2411 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EdkModulePkg/Core/Pei/PeiMain.h b/EdkModulePkg/Core/Pei/PeiMain.h index 53c429f6e0..82121ac043 100644 --- a/EdkModulePkg/Core/Pei/PeiMain.h +++ b/EdkModulePkg/Core/Pei/PeiMain.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -347,7 +347,7 @@ Returns: --*/ ; -#ifdef EFI64 +#if defined (MDE_CPU_IPF) // // In Ipf we should make special changes for the PHIT pointers to support // recovery boot in cache mode. diff --git a/EdkModulePkg/Include/Library/EdkGenericBdsLib.h b/EdkModulePkg/Include/Library/EdkGenericBdsLib.h index 7ec0222620..dedffab2a7 100644 --- a/EdkModulePkg/Include/Library/EdkGenericBdsLib.h +++ b/EdkModulePkg/Include/Library/EdkGenericBdsLib.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -305,7 +305,7 @@ BdsBootByDiskSignatureAndPartition ( // // Notes: EFI 64 shadow all option rom // -#ifdef EFI64 +#if defined (MDE_CPU_IPF) #define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom (); VOID ShadowAllOptionRom(); @@ -316,7 +316,7 @@ ShadowAllOptionRom(); // // BBS support macros and functions // -#ifdef EFI32 +#if defined (MDE_CPU_IA32) #define REFRESH_LEGACY_BOOT_OPTIONS \ BdsDeleteAllInvalidLegacyBootOptions ();\ BdsAddNonExistingLegacyBootOptions (); \ diff --git a/EdkModulePkg/Library/EdkGenericPlatformBdsLib/BootMaint/BBSsupport.h b/EdkModulePkg/Library/EdkGenericPlatformBdsLib/BootMaint/BBSsupport.h index 572beb11ab..9a2007cb3e 100644 --- a/EdkModulePkg/Library/EdkGenericPlatformBdsLib/BootMaint/BBSsupport.h +++ b/EdkModulePkg/Library/EdkGenericPlatformBdsLib/BootMaint/BBSsupport.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -26,7 +26,7 @@ Revision History #include "BootMaint/BootMaint.h" -#ifdef EFI32 +#if defined (MDE_CPU_IA32) #define REFRESH_LEGACY_BOOT_OPTIONS \ BdsDeleteAllInvalidLegacyBootOptions ();\ BdsAddNonExistingLegacyBootOptions (); \ diff --git a/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BBSsupport.h b/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BBSsupport.h index 37778f4421..663fd0a098 100644 --- a/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BBSsupport.h +++ b/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BBSsupport.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -26,7 +26,7 @@ Revision History #include "Generic/BootMaint/BootMaint.h" -#ifdef EFI32 +#if defined (MDE_CPU_IA32) #define REFRESH_LEGACY_BOOT_OPTIONS \ BdsDeleteAllInvalidLegacyBootOptions ();\ BdsAddNonExistingLegacyBootOptions (); \ diff --git a/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h b/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h index 7ec0222620..aa3cfaea7a 100644 --- a/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h +++ b/EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -305,7 +305,7 @@ BdsBootByDiskSignatureAndPartition ( // // Notes: EFI 64 shadow all option rom // -#ifdef EFI64 +#if defined (MDE_CPU_IPF) #define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom (); VOID ShadowAllOptionRom(); @@ -316,7 +316,7 @@ ShadowAllOptionRom(); // // BBS support macros and functions // -#ifdef EFI32 +#if defined (MDE_CPU_IA32) #define REFRESH_LEGACY_BOOT_OPTIONS \ BdsDeleteAllInvalidLegacyBootOptions ();\ BdsAddNonExistingLegacyBootOptions (); \