summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2012-03-19 12:26:32 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-03-20 15:57:54 -0500
commit1a97a0ae095c01180fe85c2367b97a81d10cc8d0 (patch)
tree8832336e3448f62bd799a088cc06aa11ddaabf5b /src/include/usr
parent4bd432b988c1fe06c835bc6a4e4f901e136c30e7 (diff)
downloadblackbird-hostboot-1a97a0ae095c01180fe85c2367b97a81d10cc8d0.tar.gz
blackbird-hostboot-1a97a0ae095c01180fe85c2367b97a81d10cc8d0.zip
Initservice: Eliminate task specific module ids
Change-Id: Id01a11505b3a720c646de7ef8e8663c1478615ce Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/772 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/initservice/initsvcreasoncodes.H60
-rw-r--r--src/include/usr/initservice/initsvcstructs.H5
-rw-r--r--src/include/usr/isteps/istep04list.H8
-rw-r--r--src/include/usr/isteps/istep10list.H39
-rw-r--r--src/include/usr/isteps/istep11list.H8
-rw-r--r--src/include/usr/isteps/istep12list.H4
-rw-r--r--src/include/usr/isteps/istep13list.H11
7 files changed, 25 insertions, 110 deletions
diff --git a/src/include/usr/initservice/initsvcreasoncodes.H b/src/include/usr/initservice/initsvcreasoncodes.H
index 6529e276b..f42f697d4 100644
--- a/src/include/usr/initservice/initsvcreasoncodes.H
+++ b/src/include/usr/initservice/initsvcreasoncodes.H
@@ -43,58 +43,13 @@ namespace INITSERVICE
enum InitServiceModuleID
{
UNDEFINED_MODULE_ERRL_ID = 0x00,
-
- // base image modules
- BASE_INITSVC_ERRL_ID = 0x01,
- START_TRACE_ERRL_ID = 0x02,
- START_ERRL_ERRL_ID = 0x03,
- START_PNORDD_ERRL_ID = 0x04,
- START_VFS_ERRL_ID = 0x05,
- START_EXTINITSVC_ERRL_ID = 0x06,
-
- // extended image modules
- START_ECMDDATABUFFER_ERRL_ID = 0x10,
- START_HWPF_ERRL_ID = 0x11,
- START_FAPI_ERRL_ID = 0x12,
- START_HWP_ERRL_ID = 0x13,
- START_PLAT_ERRL_ID = 0x14,
- EXECUTE_ISTEPS_ERRL_ID = 0x15,
- START_FSIDD_ERRL_ID = 0x16,
- START_FSISCOM_ERRL_ID = 0x17,
- START_TARGETING_ERRL_ID = 0x18,
- START_I2C_ERRL_ID = 0x19,
- START_INTR_ERRL_ID = 0x1A,
- START_SPD_ERRL_ID = 0x1B,
- START_FAPIPOREVE_ERRL_ID = 0x1C,
- START_POREVE_ERRL_ID = 0x1D,
- START_UTIL_ERRL_ID = 0x1E,
- START_MDIA_ERRL_ID = 0x1F,
-
- // Internal InitService codes
- INITSVC_START_TASK_MOD_ID = 0x20,
- INITSVC_START_FN_MOD_ID = 0x21,
- INITSVC_TASK_RETURNED_ERROR_ID = 0x22,
- EXTINITSVC_TASK_RETURNED_ERROR_ID = 0x23,
- CXXTEST_TASK_RETURNED_ERROR_ID = 0x24,
- ISTEP_RETURNED_ERROR_ID = 0x25,
- INITSVC_DO_SHUTDOWN_MOD_ID = 0x26,
-
- //
- // ISTEP module id's.
- // ISTEP_ERRL_ID is a generic Error ID for all the HWP's launched
- // by an istep.
- //
- HWAS_ERRL_ID = 0x30,
- ISTEP_ERRL_ID = 0x31,
-
- // reserve some tasks for my unit tests...
- START_CXXTEST_ERRL_ID = 0xf0,
- INIT_SVC_TEST1_ERRL_ID = 0xf1,
- INIT_SVC_TEST2_ERRL_ID = 0xf2,
- INIT_SVC_TEST3_ERRL_ID = 0xf3,
- INIT_SVC_TEST4_ERRL_ID = 0xf4,
- INIT_SVC_TEST5_ERRL_ID = 0xf5,
-
+ INITSVC_START_TASK_MOD_ID = 0x01,
+ INITSVC_START_FN_MOD_ID = 0x02,
+ INITSVC_TASK_RETURNED_ERROR_ID = 0x03,
+ EXTINITSVC_TASK_RETURNED_ERROR_ID = 0x04,
+ CXXTEST_TASK_RETURNED_ERROR_ID = 0x05,
+ ISTEP_RETURNED_ERROR_ID = 0x06,
+ INITSVC_DO_SHUTDOWN_MOD_ID = 0x07,
};
@@ -109,7 +64,6 @@ enum InitServiceReasonCode
EXTINITSVC_FAILED_NO_ERRLOG = INITSVC_COMP_ID | 0x07,
CXXTEST_FAILED_NO_ERRLOG = INITSVC_COMP_ID | 0x08,
SHUTDOWN_FLUSH_FAILED = INITSVC_COMP_ID | 0x09,
-
};
enum InitServiceUserDetailDataSubSection
diff --git a/src/include/usr/initservice/initsvcstructs.H b/src/include/usr/initservice/initsvcstructs.H
index 3b47ce476..7daaec28b 100644
--- a/src/include/usr/initservice/initsvcstructs.H
+++ b/src/include/usr/initservice/initsvcstructs.H
@@ -115,15 +115,10 @@ enum ModuleType
* - module_id for errorlog if task fails
*
*/
-/**
- * @todo module_id is fairly useless, we should use the taskname string
- * to id the module. Schedule for termination....
- */
struct TaskFlags
{
TaskType task_type; // task execution flags
ModuleType module_type; // BASE_IMAGE or EXT_IMAGE
- InitServiceModuleID module_id; // module id for errorlog
};
diff --git a/src/include/usr/isteps/istep04list.H b/src/include/usr/isteps/istep04list.H
index b106a71db..24c043f92 100644
--- a/src/include/usr/isteps/istep04list.H
+++ b/src/include/usr/isteps/istep04list.H
@@ -67,7 +67,6 @@ const TaskInfo g_istep04[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // error id for istep
}
},
{
@@ -76,7 +75,6 @@ const TaskInfo g_istep04[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // error id for istep
}
},
{
@@ -85,7 +83,6 @@ const TaskInfo g_istep04[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // error id for istep
}
},
{
@@ -94,7 +91,6 @@ const TaskInfo g_istep04[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // error id for istep
}
},
{
@@ -103,7 +99,6 @@ const TaskInfo g_istep04[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // error id for istep
}
},
{
@@ -112,7 +107,6 @@ const TaskInfo g_istep04[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // error id for istep
}
},
{
@@ -121,7 +115,6 @@ const TaskInfo g_istep04[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // error id for istep
}
},
#if 0
@@ -132,7 +125,6 @@ const TaskInfo g_istep04[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // error id for istep
}
}
#endif
diff --git a/src/include/usr/isteps/istep10list.H b/src/include/usr/isteps/istep10list.H
index d7c148a49..fb3e9cb19 100644
--- a/src/include/usr/isteps/istep10list.H
+++ b/src/include/usr/isteps/istep10list.H
@@ -55,7 +55,6 @@ const TaskInfo g_istep10[] = {
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
{
@@ -64,7 +63,6 @@ const TaskInfo g_istep10[] = {
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
{
@@ -73,79 +71,78 @@ const TaskInfo g_istep10[] = {
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
- }, {
+ },
+ {
ISTEPNAME(10,03,"cen_sbe_tp_chiplet_init3"),
SBE_CENTAUR_INIT::call_cen_sbe_tp_chiplet_init3,
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
- }, {
+ },
+ {
ISTEPNAME(10,04,"cen_sbe_chiplet_init"),
SBE_CENTAUR_INIT::call_cen_sbe_chiplet_init,
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
- }, {
+ },
+ {
ISTEPNAME(10,05,"cen_sbe_arrayinit"),
SBE_CENTAUR_INIT::call_cen_sbe_arrayinit,
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
- }, {
+ },
+ {
ISTEPNAME(10,06,"cen_sbe_pll_initf"),
SBE_CENTAUR_INIT::call_cen_sbe_pll_initf,
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
- }, {
+ },
+ {
ISTEPNAME(10,07,"cen_sbe_dts_init"),
SBE_CENTAUR_INIT::call_cen_sbe_dts_init,
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
- }, {
+ },
+ {
ISTEPNAME(10,08,"cen_sbe_initf"),
SBE_CENTAUR_INIT::call_cen_sbe_initf,
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
- }, {
+ },
+ {
ISTEPNAME(10,09,"cen_sbe_do_manual_inits"),
SBE_CENTAUR_INIT::call_cen_sbe_do_manual_inits,
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
- }, {
+ },
+ {
ISTEPNAME(10,10,"cen_sbe_startclocks"),
SBE_CENTAUR_INIT::call_cen_sbe_startclocks,
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
- }, {
+ },
+ {
ISTEPNAME(10,11,"cen_sbe_scominits"),
SBE_CENTAUR_INIT::call_cen_sbe_scominits,
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
diff --git a/src/include/usr/isteps/istep11list.H b/src/include/usr/isteps/istep11list.H
index efb07202a..9b57c3681 100644
--- a/src/include/usr/isteps/istep11list.H
+++ b/src/include/usr/isteps/istep11list.H
@@ -72,7 +72,6 @@ const TaskInfo g_istep11[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // module id
}
},
{
@@ -81,7 +80,6 @@ const TaskInfo g_istep11[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // module id
}
},
{
@@ -90,7 +88,6 @@ const TaskInfo g_istep11[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // module id
}
},
{
@@ -99,7 +96,6 @@ const TaskInfo g_istep11[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // module id
}
},
{
@@ -108,7 +104,6 @@ const TaskInfo g_istep11[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // module id
}
},
{
@@ -117,7 +112,6 @@ const TaskInfo g_istep11[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // module id
}
},
@@ -128,7 +122,6 @@ const TaskInfo g_istep11[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // module id
}
},
{
@@ -137,7 +130,6 @@ const TaskInfo g_istep11[] = {
{
START_FN, // task type
EXT_IMAGE, // Extended Module
- ISTEP_ERRL_ID, // module id
}
},
diff --git a/src/include/usr/isteps/istep12list.H b/src/include/usr/isteps/istep12list.H
index a792256f5..357722be4 100644
--- a/src/include/usr/isteps/istep12list.H
+++ b/src/include/usr/isteps/istep12list.H
@@ -65,7 +65,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -76,7 +75,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -87,7 +85,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -98,7 +95,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
diff --git a/src/include/usr/isteps/istep13list.H b/src/include/usr/isteps/istep13list.H
index b501c6dde..8014c1904 100644
--- a/src/include/usr/isteps/istep13list.H
+++ b/src/include/usr/isteps/istep13list.H
@@ -79,7 +79,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -90,7 +89,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -101,7 +99,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -112,7 +109,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -123,7 +119,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -134,7 +129,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -145,7 +139,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -156,7 +149,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -167,7 +159,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -178,7 +169,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
@@ -189,7 +179,6 @@ namespace INITSERVICE
{
START_FN,
EXT_IMAGE,
- ISTEP_ERRL_ID,
}
},
OpenPOWER on IntegriCloud