21#define ENCODE_RESET_REQUEST(ResetType) \
22 ((EFI_STATUS)((MAX_BIT >> 1) | (ResetType)))
23#define FSP_STATUS_RESET_REQUIRED_COLD ENCODE_RESET_REQUEST(1)
24#define FSP_STATUS_RESET_REQUIRED_WARM ENCODE_RESET_REQUEST(2)
25#define FSP_STATUS_RESET_REQUIRED_3 ENCODE_RESET_REQUEST(3)
26#define FSP_STATUS_RESET_REQUIRED_4 ENCODE_RESET_REQUEST(4)
27#define FSP_STATUS_RESET_REQUIRED_5 ENCODE_RESET_REQUEST(5)
28#define FSP_STATUS_RESET_REQUIRED_6 ENCODE_RESET_REQUEST(6)
29#define FSP_STATUS_RESET_REQUIRED_7 ENCODE_RESET_REQUEST(7)
30#define FSP_STATUS_RESET_REQUIRED_8 ENCODE_RESET_REQUEST(8)
31#define FSP_STATUS_VARIABLE_REQUEST ENCODE_RESET_REQUEST(10)
37#define FSP_EVENT_CODE 0xF5000000
38#define FSP_POST_CODE (FSP_EVENT_CODE | 0x00F80000)
68(EFIAPI *FSP_EVENT_HANDLER)(
88(EFIAPI *FSP_DEBUG_HANDLER)(
89 IN CHAR8 *DebugMessage,
90 IN UINT32 MessageLength
498 EnumMultiPhaseGetNumberOfPhases = 0x0,
499 EnumMultiPhaseExecutePhase = 0x1,
500 EnumMultiPhaseGetVariableRequestInfo = 0x2,
501 EnumMultiPhaseCompleteVariableRequest = 0x3
505 EnumFspVariableRequestGetVariable = 0x0,
506 EnumFspVariableRequestGetNextVariableName = 0x1,
507 EnumFspVariableRequestSetVariable = 0x2,
508 EnumFspVariableRequestQueryVariableInfo = 0x3
509} FSP_VARIABLE_REQUEST_TYPE;
513 IN FSP_VARIABLE_REQUEST_TYPE VariableRequest;
514 IN OUT CHAR16 *VariableName;
515 IN OUT UINT64 *VariableNameSize;
517 IN OUT UINT32 *Attributes;
518 IN OUT UINT64 *DataSize;
520 OUT UINT64 *MaximumVariableStorageSize;
521 OUT UINT64 *RemainingVariableStorageSize;
522 OUT UINT64 *MaximumVariableSize;
535 UINT32 NumberOfPhases;
536 UINT32 PhasesExecuted;
552 IN UINT32 PhaseIndex;
553 IN OUT VOID *MultiPhaseParamPtr;
590 IN VOID *FsptUpdDataPtr
638 IN VOID *FspmUpdDataPtr,
639 OUT VOID **HobListPtr
663 IN VOID *TempRamExitParamPtr
683 IN VOID *FspsUpdDataPtr
726 IN VOID *FspiUpdDataPtr
EFI_STATUS(EFIAPI * FSP_MULTI_PHASE_SI_INIT)(IN FSP_MULTI_PHASE_PARAMS *MultiPhaseSiInitParamPtr)
@ EnumInitPhaseAfterPciEnumeration
@ EnumInitPhaseReadyToBoot
@ EnumInitPhaseEndOfFirmware
EFI_STATUS(EFIAPI * FSP_SMM_INIT)(IN VOID *FspiUpdDataPtr)
EFI_STATUS(EFIAPI * FSP_NOTIFY_PHASE)(IN NOTIFY_PHASE_PARAMS *NotifyPhaseParamPtr)
EFI_STATUS(EFIAPI * FSP_TEMP_RAM_INIT)(IN VOID *FsptUpdDataPtr)
EFI_STATUS(EFIAPI * FSP_MULTI_PHASE_INIT)(IN FSP_MULTI_PHASE_PARAMS *MultiPhaseInitParamPtr)
EFI_STATUS(EFIAPI * FSP_MEMORY_INIT)(IN VOID *FspmUpdDataPtr, OUT VOID **HobListPtr)
EFI_STATUS(EFIAPI * FSP_TEMP_RAM_EXIT)(IN VOID *TempRamExitParamPtr)
EFI_STATUS(EFIAPI * FSP_SILICON_INIT)(IN VOID *FspsUpdDataPtr)
UINT32 EFI_STATUS_CODE_VALUE
UINT32 EFI_STATUS_CODE_TYPE
UINT64 EFI_PHYSICAL_ADDRESS
EFI_PHYSICAL_ADDRESS BootloaderSmmFvContextData
UINT16 BootloaderSmmFvContextDataLength
EFI_PHYSICAL_ADDRESS BootloaderSmmFvBaseAddress
UINT64 BootloaderSmmFvLength
FSP_UPD_HEADER FspUpdHeader
FSPI_ARCH_UPD FspiArchUpd
UINT32 BootLoaderTolumSize
EFI_PHYSICAL_ADDRESS NvsBufferPtr
EFI_PHYSICAL_ADDRESS FspEventHandler
EFI_PHYSICAL_ADDRESS StackBase
FSP_EVENT_HANDLER * FspEventHandler
UINT32 BootLoaderTolumSize
FSPM_ARCH2_UPD FspmArchUpd
FSP_UPD_HEADER FspUpdHeader
FSPM_ARCH_UPD FspmArchUpd
FSP_UPD_HEADER FspUpdHeader
EFI_PHYSICAL_ADDRESS FspEventHandler
UINT8 EnableMultiPhaseSiliconInit
FSP_EVENT_HANDLER FspEventHandler
FSPS_ARCH_UPD FspsArchUpd
FSP_UPD_HEADER FspUpdHeader
FSPS_ARCH2_UPD FspsArchUpd
FSP_UPD_HEADER FspUpdHeader
FSP_UPD_HEADER FspUpdHeader
EFI_PHYSICAL_ADDRESS FspDebugHandler
UINT32 FspTemporaryRamSize
FSP_DEBUG_HANDLER FspDebugHandler
FSPT_ARCH_UPD FsptArchUpd
FSP_UPD_HEADER FspUpdHeader
FSPT_ARCH2_UPD FsptArchUpd
FSP_UPD_HEADER FspUpdHeader
FSP_UPD_HEADER FspUpdHeader