summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg/Include
diff options
context:
space:
mode:
authorYarlagadda, Satya P <satya.p.yarlagadda@intel.com>2016-06-24 10:38:02 +0800
committerJiewen Yao <jiewen.yao@intel.com>2016-06-27 11:47:48 +0800
commit6b5677e1bb62c289fba7848bbfde08220fc37ba1 (patch)
treeedc4bfc9c691cc0a920769f97650be899223c91a /IntelFsp2Pkg/Include
parentfda7cd4f25f831f93b71c3264143618b3cebfb33 (diff)
downloadedk2-6b5677e1bb62c289fba7848bbfde08220fc37ba1.tar.gz
edk2-6b5677e1bb62c289fba7848bbfde08220fc37ba1.tar.bz2
edk2-6b5677e1bb62c289fba7848bbfde08220fc37ba1.zip
IntelFsp2Pkg-BaseFspCommonLib: Add funtion to return the reset required status
Added new funtion in FSPCommonLib to update the FSP API return status with the requested return status and return the control to the boot loader. Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Satya Yarlagadda <satya.p.yarlagadda@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'IntelFsp2Pkg/Include')
-rw-r--r--IntelFsp2Pkg/Include/Library/FspCommonLib.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/IntelFsp2Pkg/Include/Library/FspCommonLib.h b/IntelFsp2Pkg/Include/Library/FspCommonLib.h
index e13d0c3346..231f1e44b3 100644
--- a/IntelFsp2Pkg/Include/Library/FspCommonLib.h
+++ b/IntelFsp2Pkg/Include/Library/FspCommonLib.h
@@ -309,4 +309,15 @@ GetFspCarSize (
VOID
);
+/**
+ This function updates the return status of the FSP API with requested reset type and returns to Boot Loader.
+
+ @param[in] FspResetType Reset type that needs to returned as API return status
+
+**/
+VOID
+EFIAPI
+FspApiReturnStatusReset (
+ IN UINT32 FspResetType
+ );
#endif