mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
9c89ec9819
commit
020a9a5b78
|
@ -24,9 +24,9 @@ Revision History
|
|||
#ifndef _PEI_MAIN_H_
|
||||
#define _PEI_MAIN_H_
|
||||
|
||||
#ifdef EFI64
|
||||
#include "SalApi.h"
|
||||
#endif
|
||||
//#ifdef EFI64
|
||||
//#include "SalApi.h"
|
||||
//#endif
|
||||
|
||||
//
|
||||
//Build private HOB to PEI core to transfer old NEM-range data to new NEM-range
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<Keyword>UefiBootServicesTableLib</Keyword>
|
||||
</LibraryClass>
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED" SupArchList="IPF">
|
||||
<Keyword>EdkDxeSalLib</Keyword>
|
||||
</LibraryClass>
|
||||
</LibraryClassDefinitions>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<Keyword>UefiBootServicesTableLib</Keyword>
|
||||
</LibraryClass>
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED" SupArchList="IPF">
|
||||
<Keyword>EdkDxeSalLib</Keyword>
|
||||
</LibraryClass>
|
||||
</LibraryClassDefinitions>
|
||||
|
|
|
@ -15,7 +15,7 @@ Module Name:
|
|||
|
||||
--*/
|
||||
|
||||
#include <SalApi.h>
|
||||
//#include <SalApi.h>
|
||||
#include <RuntimeLibInternal.h>
|
||||
|
||||
//
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<Keyword>UefiDriverEntryPoint</Keyword>
|
||||
</LibraryClass>
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED" SupArchList="IPF">
|
||||
<Keyword>EdkDxeSalLib</Keyword>
|
||||
</LibraryClass>
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<Keyword>BaseMemoryLib</Keyword>
|
||||
</LibraryClass>
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED" SupArchList="IPF">
|
||||
<Keyword>EdkDxeSalLib</Keyword>
|
||||
</LibraryClass>
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<Keyword>OemHookStatusCodeLib</Keyword>
|
||||
</LibraryClass>
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||
<LibraryClass Usage="ALWAYS_CONSUMED" SupArchList="IPF">
|
||||
<Keyword>EdkDxeSalLib</Keyword>
|
||||
</LibraryClass>
|
||||
</LibraryClassDefinitions>
|
||||
|
|
Loading…
Reference in New Issue