summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-02 05:38:05 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-02 05:38:05 +0000
commit59e9a3659f77aee8e5f6fd25c83bc3f3adcd8c31 (patch)
tree3964ad5d9798189220fb6658583bd99ccd21c441
parentfad1794ce87433dd806fb1c354462093ce8b64fd (diff)
downloadedk2-59e9a3659f77aee8e5f6fd25c83bc3f3adcd8c31.zip
edk2-59e9a3659f77aee8e5f6fd25c83bc3f3adcd8c31.tar.gz
edk2-59e9a3659f77aee8e5f6fd25c83bc3f3adcd8c31.tar.bz2
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
-rw-r--r--EdkModulePkg/Core/Pei/PeiMain.h4
-rw-r--r--EdkModulePkg/Include/Library/EdkGenericBdsLib.h6
-rw-r--r--EdkModulePkg/Library/EdkGenericPlatformBdsLib/BootMaint/BBSsupport.h4
-rw-r--r--EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BBSsupport.h4
-rw-r--r--EdkNt32Pkg/Include/Library/EdkGenericBdsLib.h6
5 files changed, 12 insertions, 12 deletions
diff --git a/EdkModulePkg/Core/Pei/PeiMain.h b/EdkModulePkg/Core/Pei/PeiMain.h
index 53c429f..82121ac 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 7ec0222..dedffab 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 572beb1..9a2007c 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 37778f4..663fd0a 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 7ec0222..aa3cfae 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 (); \