diff options
author | Thomaiyar, Richard Marian <richard.marian.thomaiyar@intel.com> | 2016-11-08 17:45:25 +0800 |
---|---|---|
committer | Jiewen Yao <jiewen.yao@intel.com> | 2016-11-14 12:11:05 +0800 |
commit | f56ae7bf82bf32dd0ec9cafb9f632511813c823e (patch) | |
tree | bf9089407bdcd60cca086b0655790212d180fe20 /IntelFsp2Pkg/Include/Library | |
parent | d18f9699e7c98bf63f9d92f8e111bb3a6b3d0882 (diff) | |
download | edk2-f56ae7bf82bf32dd0ec9cafb9f632511813c823e.zip edk2-f56ae7bf82bf32dd0ec9cafb9f632511813c823e.tar.gz edk2-f56ae7bf82bf32dd0ec9cafb9f632511813c823e.tar.bz2 |
IntelFsp2Pkg: Support to return error status from FSP API done
Added FspMemoryInitDone2, FspTempRamExitDone2, FspSiliconInitDone2
to return error status to Boot Loader for FSP API calls.
To maintain backward compatibility existing functions
(FspMemoryInitDone, FspTempRamExitDone, FspSiliconInitDone)
declaration left untouched.
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Richard Thomaiyar <richard.marian.thomaiyar@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Diffstat (limited to 'IntelFsp2Pkg/Include/Library')
-rw-r--r-- | IntelFsp2Pkg/Include/Library/FspPlatformLib.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/IntelFsp2Pkg/Include/Library/FspPlatformLib.h b/IntelFsp2Pkg/Include/Library/FspPlatformLib.h index 61e77bd..1f39601 100644 --- a/IntelFsp2Pkg/Include/Library/FspPlatformLib.h +++ b/IntelFsp2Pkg/Include/Library/FspPlatformLib.h @@ -93,4 +93,39 @@ FspWaitForNotify ( VOID
);
+/**
+ This function transfer control back to BootLoader after FspSiliconInit.
+
+ @param[in] Status return status for the FspSiliconInit.
+**/
+VOID
+EFIAPI
+FspSiliconInitDone2 (
+ IN EFI_STATUS Status
+ );
+
+/**
+ This function returns control to BootLoader after MemoryInitApi.
+
+ @param[in] Status return status for the MemoryInitApi.
+ @param[in,out] HobListPtr The address of HobList pointer.
+**/
+VOID
+EFIAPI
+FspMemoryInitDone2 (
+ IN EFI_STATUS Status,
+ IN OUT VOID **HobListPtr
+ );
+
+/**
+ This function returns control to BootLoader after TempRamExitApi.
+
+ @param[in] Status return status for the TempRamExitApi.
+**/
+VOID
+EFIAPI
+FspTempRamExitDone2 (
+ IN EFI_STATUS Status
+ );
+
#endif
|