diff options
author | Mark Wenning <wenning@us.ibm.com> | 2011-06-06 14:07:51 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-06-21 17:54:41 -0500 |
commit | a2fbc8cb2e51821331f3ba8d920dddf8ab0fb96d (patch) | |
tree | a8f2b80dd70837255c2012f86917cb1f9e8c415a /src/include | |
parent | a1450c913cb7864234ae1adea8aaffe561a627d6 (diff) | |
download | talos-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')
-rw-r--r-- | src/include/usr/hbotcompid.H | 7 | ||||
-rw-r--r-- | src/include/usr/initservice/initsvcreasoncodes.H | 66 |
2 files changed, 73 insertions, 0 deletions
diff --git a/src/include/usr/hbotcompid.H b/src/include/usr/hbotcompid.H index e6be3adc8..5611fd69c 100644 --- a/src/include/usr/hbotcompid.H +++ b/src/include/usr/hbotcompid.H @@ -60,6 +60,13 @@ const char SCOM_COMP_NAME[] = "scom"; //@{ const compId_t XSCOM_COMP_ID = 0x0400; const char XSCOM_COMP_NAME[] = "xscom"; + +/** @name INITSERVICE + * Initialization Service component + */ +//@{ +const compId_t INITSVC_COMP_ID = 0x0500; +const char INITSVC_COMP_NAME[] = "initservice"; //@} #endif 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 |