summaryrefslogtreecommitdiffstats
path: root/src/include/kernel/terminate.H
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2016-11-08 14:29:38 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-01-04 21:15:44 -0500
commit82af686f8456f594ae17409f1e1e70fc55485cd8 (patch)
treedfb45ebed75b31efdc09f0e5d248d30c6d0a52a6 /src/include/kernel/terminate.H
parentb2e82859d8551ef4ee4c6e270794b2fd2d5ad3a4 (diff)
downloadblackbird-hostboot-82af686f8456f594ae17409f1e1e70fc55485cd8.tar.gz
blackbird-hostboot-82af686f8456f594ae17409f1e1e70fc55485cd8.zip
Bootloader - Error handling - Add terminate function
As a first step to providing Bootloader error handling add support for a terminate function. Change-Id: Id4f8f130376d1396cd4feb796d1a3a908558225b RTC:135746 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32390 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/kernel/terminate.H')
-rw-r--r--src/include/kernel/terminate.H14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include/kernel/terminate.H b/src/include/kernel/terminate.H
index b19e2fa39..9d80f988d 100644
--- a/src/include/kernel/terminate.H
+++ b/src/include/kernel/terminate.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2016 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -53,5 +55,15 @@ void termWriteSRC(uint16_t i_source,
uint16_t i_reasoncode,
uint64_t i_failAddr = 0);
+/** @fn termModifySRC
+ * Modify an SRC and the TI data area for Bootloader
+ * @param[in] i_moduleID: moduleID for the failure (used by Bootloader)
+ * @param[in] i_word7: data to set SRC word 7 / @userdata2[0:31] (optional)
+ * @param[in] i_word8: data to set SRC word 8 / @userdata2[32:63] (optional)
+ * @param[out] NONE:
+ */
+void termModifySRC(uint8_t i_moduleID,
+ uint32_t i_word7 = 0,
+ uint32_t i_word8 = 0);
#endif
OpenPOWER on IntegriCloud