summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Include
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-18 20:03:44 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-18 20:03:44 +0000
commit020a9a5b780d8fcc278e23d91b0a8aa8e1858baa (patch)
tree2ee6a51e29564b90c503a93e6fe7f0baadbf61a0 /EdkModulePkg/Include
parent9c89ec98193e24eb9849a66c83f6a80b64a51c4c (diff)
downloadedk2-020a9a5b780d8fcc278e23d91b0a8aa8e1858baa.zip
edk2-020a9a5b780d8fcc278e23d91b0a8aa8e1858baa.tar.gz
edk2-020a9a5b780d8fcc278e23d91b0a8aa8e1858baa.tar.bz2
Only include SAL related definitions if the CPU Arch is IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2109 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Include')
-rw-r--r--EdkModulePkg/Include/EdkDxe.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/EdkModulePkg/Include/EdkDxe.h b/EdkModulePkg/Include/EdkDxe.h
index 1b295d8..185d842 100644
--- a/EdkModulePkg/Include/EdkDxe.h
+++ b/EdkModulePkg/Include/EdkDxe.h
@@ -30,7 +30,7 @@ Abstract:
#include <Common/FlashMap.h>
// BUGBUG: We must include this lib here due to ordering issues
//
-#include <Ipf/SalApi.h>
+//#include <Ipf/SalApi.h>
#include <Library/PeCoffLib.h>
@@ -52,7 +52,9 @@ Abstract:
#include <Guid/StatusCode.h>
#include <Guid/PciOptionRomTable.h>
#include <Guid/PciHotplugDevice.h>
+#if defined(MDE_CPU_IPF)
#include <Guid/ExtendedSalGuid.h>
+#endif
#include <Guid/PeiPeCoffLoader.h>
#include <Guid/CapsuleVendor.h>
#include <Guid/CompatibleMemoryTested.h>
@@ -81,7 +83,9 @@ Abstract:
#include <Protocol/DebugAssert.h>
#include <Protocol/usbatapi.h>
#include <Protocol/PciHotPlugRequest.h>
+#if defined(MDE_CPU_IPF)
#include <Protocol/ExtendedSalBootService.h>
+#endif
#include <Protocol/IsaAcpi.h>
#if ((EDK_RELEASE_VERSION != 0) && (EFI_SPECIFICATION_VERSION < 0x00020000))