summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorJaymes Wilks <mjwilks@us.ibm.com>2016-11-04 10:53:04 -0500
committerMatthew A. Ploetz <maploetz@us.ibm.com>2016-12-12 18:00:15 -0500
commit3cc8333f39c18fc836a9b8fcf84535d6748d0b1e (patch)
treec71b28c77d0df0da33ac0e2d1b87d2bfcf4290cc /src/include/usr
parent8f2f91b900739efa6acf737f720dfeb7059b30ba (diff)
downloadtalos-hostboot-3cc8333f39c18fc836a9b8fcf84535d6748d0b1e.tar.gz
talos-hostboot-3cc8333f39c18fc836a9b8fcf84535d6748d0b1e.zip
Secure PNORRP port resync from p8
Brings SPNORRP p9 up to date with the latest changes from p8. Change-Id: I9e80199ffad1b3082339069264560029e83a3d78 RTC:163078 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32260 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/secureboot/service.H11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/include/usr/secureboot/service.H b/src/include/usr/secureboot/service.H
index 577b27284..d138250ad 100644
--- a/src/include/usr/secureboot/service.H
+++ b/src/include/usr/secureboot/service.H
@@ -104,10 +104,15 @@ namespace SECUREBOOT
/**
* @brief Common secureboot handler for secureboot failures.
* Properly handles callouts etc.
- *
- * @return i_err - Error log to cascade through failure path.
+ * @param[in/out] io_err Reference to error log handle. Caller's handle
+ * will be nullified. Handle must not be NULL, or function asserts.
+ * @param[in] i_waitForShutdown Whether to wait for system to shutdown (and
+ * never return from this call) or not (and return from this call).
+ * In general, code should wait for shutdown unless early in boot before
+ * basic services are up, or in a resource provider path.
*/
- void handleSecurebootFailure(errlHndl_t &i_err);
+ void handleSecurebootFailure(
+ errlHndl_t &io_err, bool i_waitForShutdown = true);
}
OpenPOWER on IntegriCloud