summaryrefslogtreecommitdiffstats
path: root/src/include/usr/initservice
diff options
context:
space:
mode:
authorMark Wenning <wenning@us.ibm.com>2011-06-06 14:07:51 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-06-21 17:54:41 -0500
commita2fbc8cb2e51821331f3ba8d920dddf8ab0fb96d (patch)
treea8f2b80dd70837255c2012f86917cb1f9e8c415a /src/include/usr/initservice
parenta1450c913cb7864234ae1adea8aaffe561a627d6 (diff)
downloadtalos-hostboot-a2fbc8cb2e51821331f3ba8d920dddf8ab0fb96d.tar.gz
talos-hostboot-a2fbc8cb2e51821331f3ba8d920dddf8ab0fb96d.zip
Initialization Service (Flow Control)
- save off changes before switch branch - rename to get rid of '_' in filenames. - split into separate files - adding errorlogs, saved off so CC guru could work - fix problem in vfs_main where we would crash if there is no _start in launched task. - refactor - fix problems with coding guidelines - add testcases for startTask and reportError - add fixes from code review Change-Id: I2ae34cb6097c466d4f6d0e41b4b32c2eba47e9df Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/145 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/initservice')
-rw-r--r--src/include/usr/initservice/initsvcreasoncodes.H66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/include/usr/initservice/initsvcreasoncodes.H b/src/include/usr/initservice/initsvcreasoncodes.H
new file mode 100644
index 000000000..41b11f43d
--- /dev/null
+++ b/src/include/usr/initservice/initsvcreasoncodes.H
@@ -0,0 +1,66 @@
+/**
+ * @file initsvcreasoncodes.H
+ *
+ * Detail all the possible reason codes for errorlog returns
+ *
+ */
+#ifndef __INITSERVICE_RC_H
+#define __INITSERVICE_RC_H
+
+#include <hbotcompid.H>
+
+namespace INITSERVICE
+{
+
+/**
+ * @enum InitServiceModuleID
+ *
+ * module id's used in returned errorlogs
+ */
+enum InitServiceModuleID
+{
+ START_TRACE_ID = 0x00,
+ START_ERRL_ID,
+ START_XSCOMDD_ID,
+ START_PNORDD_ID,
+ START_VFS_2_ID,
+ START_TARGETTING_ID,
+ GET_MASTER_CHIP_TARGET_ID,
+ START_MAILBOXDD_ID,
+ START_SP_COMM_ID,
+ ENABLE_STREAMING_TRACE_ID,
+ START_PROGRESS_CODES_ID,
+ START_FSIDD_ID,
+ SETUP_SLAVE_LINKS_ID,
+ START_FSISCOM_ID,
+ START_FSI_II2C_ID,
+ START_HWP_ID,
+ READ_MAX_CONFIG_FROM_PNOR_ID,
+ APPLY_PRESENCE_DETECT_ID,
+ APPLY_PARTIAL_BAD_ID,
+ APPLY_GARD_ID,
+ COLLECT_HW_IDEC_ID,
+ VERIFY_IDEC_ID,
+ DISABLE_WATCHDOG_ID,
+ EXECUTE_ISTEPS_ID,
+
+ // reserve some tasks for my unit tests...
+ INIT_SVC_TEST1_ID = 0xf0,
+ INIT_SVC_TEST2_ID,
+ INIT_SVC_TEST3_ID,
+ INIT_SVC_TEST4_ID,
+ INIT_SVC_TEST5_ID,
+
+};
+
+
+enum InitServiceReasonCode
+{
+ START_TASK_FAILED = INITSVC_COMP_ID | 0x01,
+
+
+};
+
+}; // namespace INITSERVICE
+
+#endif
OpenPOWER on IntegriCloud