IntelFsp2WrapperPkg: Add support to handle ResetRequired return Status from FSP.
As per FSP 2.0 spec, FSP shall not trigger system reset and instead it shall return from the FSP API to the BL/Wrapper with the required reset type. The changes are to handle the ResetRequired return code from FSP APIs and provide lib interface for platform to trigger the actual reset. Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com> Cc: Amy Chan <amy.chan@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Satya Yarlagadda <satya.p.yarlagadda@intel.com> Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
This commit is contained in:
@@ -70,4 +70,17 @@ GetS3MemoryInfo (
|
||||
OUT EFI_PHYSICAL_ADDRESS *S3PeiMemBase
|
||||
);
|
||||
|
||||
/**
|
||||
Perform platform related reset in FSP wrapper.
|
||||
|
||||
This function will reset the system with requested ResetType.
|
||||
|
||||
@param[in] FspStatusResetType The type of reset the platform has to perform.
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
CallFspWrapperResetSystem (
|
||||
IN UINT32 FspStatusResetType
|
||||
);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user