Only include SmmCis.h if the CPU Arch is IA32 or X64
Only include SalApi.h if the CPU Arch is IPF git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2108 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -215,12 +215,5 @@ typedef struct {
|
||||
UINT64 GP;
|
||||
} EFI_PLABEL;
|
||||
|
||||
typedef struct {
|
||||
UINTN BootPhase; // entry r20 value
|
||||
UINTN UniqueId; // PAL arbitration ID
|
||||
UINTN HealthStat; // Health Status
|
||||
UINTN PALRetAddress; // return address to PAL
|
||||
} IPF_HANDOFF_STATUS;
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -31,6 +31,16 @@ typedef UINTN EFI_SAL_STATUS;
|
||||
#define EFI_SAL_NO_INFORMATION ((EFI_SAL_STATUS) - 5)
|
||||
#define EFI_SAL_NOT_ENOUGH_SCRATCH ((EFI_SAL_STATUS) - 9)
|
||||
|
||||
//
|
||||
// Return values from SAL
|
||||
//
|
||||
typedef struct {
|
||||
EFI_SAL_STATUS Status; // register r8
|
||||
UINTN r9;
|
||||
UINTN r10;
|
||||
UINTN r11;
|
||||
} SAL_RETURN_REGS;
|
||||
|
||||
//
|
||||
// Delivery Mode of IPF CPU.
|
||||
//
|
||||
@@ -45,16 +55,6 @@ typedef enum {
|
||||
EFI_DELIVERY_MODE_ExtINT
|
||||
} EFI_DELIVERY_MODE;
|
||||
|
||||
//
|
||||
// Return values from SAL
|
||||
//
|
||||
typedef struct {
|
||||
EFI_SAL_STATUS Status; // register r8
|
||||
UINTN r9;
|
||||
UINTN r10;
|
||||
UINTN r11;
|
||||
} SAL_RETURN_REGS;
|
||||
|
||||
typedef SAL_RETURN_REGS (EFIAPI *SAL_PROC)
|
||||
(
|
||||
IN UINT64 FunctionId,
|
||||
|
Reference in New Issue
Block a user