summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg/Include/FspEas/FspApi.h
diff options
context:
space:
mode:
authorHongbin1 Zhang <hongbin1.zhang@intel.com>2022-07-19 10:09:15 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-07-20 02:15:55 +0000
commit48249243777882d7d89ca0b86c89e355b5f941f3 (patch)
treec61522dd610a2c7c0c0694c47e4017349c4f2b6c /IntelFsp2Pkg/Include/FspEas/FspApi.h
parent24eac4caf31afae48349af44588a52783c1819b8 (diff)
downloadedk2-48249243777882d7d89ca0b86c89e355b5f941f3.tar.gz
edk2-48249243777882d7d89ca0b86c89e355b5f941f3.tar.bz2
edk2-48249243777882d7d89ca0b86c89e355b5f941f3.zip
IntelFsp2Pkg/FspSecCore: Add FSP-I API for SMM support.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3993 Add FSP-I API entry point for SMM support. Also update 64bit API entry code to assign ApiIdx to RAX to avoid confusion. Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Chasel Chiu <chasel.chiu@intel.com> Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Diffstat (limited to 'IntelFsp2Pkg/Include/FspEas/FspApi.h')
-rw-r--r--IntelFsp2Pkg/Include/FspEas/FspApi.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/IntelFsp2Pkg/Include/FspEas/FspApi.h b/IntelFsp2Pkg/Include/FspEas/FspApi.h
index 5e47f475db..bf46f13f73 100644
--- a/IntelFsp2Pkg/Include/FspEas/FspApi.h
+++ b/IntelFsp2Pkg/Include/FspEas/FspApi.h
@@ -614,4 +614,23 @@ EFI_STATUS
IN FSP_MULTI_PHASE_PARAMS *MultiPhaseSiInitParamPtr
);
+/**
+ This FSP API initializes SMM and provide any OS runtime silicon services,
+ including Reliability, Availability, and Serviceability (RAS) features implemented by the CPU.
+
+ @param[in] FspiUpdDataPtr Pointer to the FSPI_UPD data structure.
+ If NULL, FSP will use the default parameters.
+
+ @retval EFI_SUCCESS FSP execution environment was initialized successfully.
+ @retval EFI_INVALID_PARAMETER Input parameters are invalid.
+ @retval EFI_UNSUPPORTED The FSP calling conditions were not met.
+ @retval EFI_DEVICE_ERROR FSP initialization failed.
+ @retval FSP_STATUS_RESET_REQUIREDx A reset is required. These status codes will not be returned during S3.
+**/
+typedef
+EFI_STATUS
+(EFIAPI *FSP_SMM_INIT)(
+ IN VOID *FspiUpdDataPtr
+ );
+
#endif