summaryrefslogtreecommitdiffstats
path: root/src/include/usr/diag
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2012-12-11 15:53:42 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-12-13 13:02:41 -0600
commit8ca2be055cbe70944a3c846b88d507ae65e862bd (patch)
tree9a2d30a571b4c5c90f1b2c4b6576b8e961548f3d /src/include/usr/diag
parenta6b9b70b9dd7651a8e1b99f474e2a8128f0740af (diff)
downloadtalos-hostboot-8ca2be055cbe70944a3c846b88d507ae65e862bd.tar.gz
talos-hostboot-8ca2be055cbe70944a3c846b88d507ae65e862bd.zip
Commit an error log when maint command times out.
Change-Id: Ia1419694fe0ae302b6ff9a2965f4d3e64e8392a0 RTC: 60431 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2647 Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Christopher T. Phan <cphan@us.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/mdia/mdiareasoncodes.H63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/include/usr/diag/mdia/mdiareasoncodes.H b/src/include/usr/diag/mdia/mdiareasoncodes.H
new file mode 100644
index 000000000..bdfab0a1c
--- /dev/null
+++ b/src/include/usr/diag/mdia/mdiareasoncodes.H
@@ -0,0 +1,63 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/diag/mdia/mdiareasoncodes.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
+/**
+ * @file mdiareasoncodes.H
+ *
+ * @brief Reason codes and module ids for memory diagnostics
+ *
+ */
+#ifndef __MDIA_MDIAREASONCODES_H
+#define __MDIA_MDIAREASONCODES_H
+
+#include <hbotcompid.H>
+
+namespace MDIA
+{
+
+/**
+* @enum Moduleid
+*
+* @brief Module Ids used in created errorlogs. Indicates which
+* functions an error log was created in.
+*
+*/
+enum ModuleId
+{
+ INVALID_MODULE = 0x00,
+ PROCESS_COMMAND_TIMEOUT = 0x01,
+};
+
+/**
+ * @enum ReasonCode
+ *
+ * @brief Reasoncodes used to describe what errors are being indicated.
+ *
+ */
+enum ReasonCode
+{
+ INVALID_REASONCODE = HBMDIA_COMP_ID | 0x00, // Invalid Reasoncode
+ MAINT_COMMAND_TIMED_OUT = HBMDIA_COMP_ID | 0x01,
+};
+
+}
+#endif
OpenPOWER on IntegriCloud