summaryrefslogtreecommitdiffstats
path: root/src/include/usr/diag
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2015-02-19 17:22:35 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-27 23:28:24 -0600
commit67d0c761b1cb25b4df27b7ea794352aa2bb40e36 (patch)
tree83d495d47586e34f6bc49b940a01266ab3da70c4 /src/include/usr/diag
parent523eee133dbccc9ff056c9199c94c126f36b2336 (diff)
downloadtalos-hostboot-67d0c761b1cb25b4df27b7ea794352aa2bb40e36.tar.gz
talos-hostboot-67d0c761b1cb25b4df27b7ea794352aa2bb40e36.zip
Add ATTN call to analyze previous IPL checkstop in istep 6.6
Change-Id: I389677db781a903949f41a675dec1c1e590487ee RTC: 119837 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15581 Tested-by: Jenkins Server Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/diag')
-rw-r--r--src/include/usr/diag/attn/attn.H20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/include/usr/diag/attn/attn.H b/src/include/usr/diag/attn/attn.H
index 9fdea28f2..186974224 100644
--- a/src/include/usr/diag/attn/attn.H
+++ b/src/include/usr/diag/attn/attn.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -33,6 +33,9 @@
#include <errl/errlentry.H>
+// Custom compile configs
+#include <config.h>
+
namespace ATTN
{
@@ -72,5 +75,20 @@ errlHndl_t stopService();
* @retval[!0] Unexpected error occurred.
*/
errlHndl_t checkForIplAttentions();
+
+#ifdef CONFIG_ENABLE_CHECKSTOP_ANALYSIS
+
+/**
+ * @brief Called at beginning of the IPL to analyze any data saved by the OCC in
+ * the event of a previous system checkstop attention.
+ *
+ * @retval[0] No errors.
+ * @retval[!0] Unexpected error occurred.
+ */
+errlHndl_t checkForCSAttentions();
+
+#endif // CONFIG_ENABLE_CHECKSTOP_ANALYSIS
+
}
+
#endif
OpenPOWER on IntegriCloud