summaryrefslogtreecommitdiffstats
path: root/src/include/usr/initservice
diff options
context:
space:
mode:
authorMark Wenning <wenning@us.ibm.com>2012-01-12 14:41:33 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-02-07 11:44:17 -0600
commit4f09f9f6573e174c72b684b883d77f824fe949fe (patch)
tree3af5fd3be72d3166b4c78e24aa10311a6c348e90 /src/include/usr/initservice
parent7839259660f10f1b31db833fce37aa323e749f41 (diff)
downloadtalos-hostboot-4f09f9f6573e174c72b684b883d77f824fe949fe.tar.gz
talos-hostboot-4f09f9f6573e174c72b684b883d77f824fe949fe.zip
RTC4545 and RCT4541 - HWP support
- branch HWP_test3 Add support for IStep HWPs: HostBoot - DMI Training 11.7 proc_cen_framelock : Initialize EDI Frame HostBoot - Establish System SMP 11.4 dmi_io_run_training : Run training on ext buses - add support for 2 centaurs - push to Gerrit for full review - review responses - final review responses Change-Id: Iab9d7c145eb6834cec5edcd0a6b97622cf0ce86b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/621 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> 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.H15
-rw-r--r--src/include/usr/initservice/initsvcstructs.H24
2 files changed, 25 insertions, 14 deletions
diff --git a/src/include/usr/initservice/initsvcreasoncodes.H b/src/include/usr/initservice/initsvcreasoncodes.H
index 971c8c29f..77428c770 100644
--- a/src/include/usr/initservice/initsvcreasoncodes.H
+++ b/src/include/usr/initservice/initsvcreasoncodes.H
@@ -77,19 +77,10 @@ enum InitServiceModuleID
INITSVC_DO_SHUTDOWN_MOD_ID = 0x26,
//
- // HWAS: ISTEP 4
- // HWAS named isteps (substeps)
- // @todo sync these names up with Dean's document later
+ // ISTEP module id's
//
- HWAS_1_ERRL_ID = 0x30,
- HWAS_2_ERRL_ID = 0x31,
- HWAS_3_ERRL_ID = 0x32,
- HWAS_4_ERRL_ID = 0x33,
- HWAS_5_ERRL_ID = 0x34,
- HWAS_6_ERRL_ID = 0x35,
- HWAS_7_ERRL_ID = 0x36,
- HWAS_8_ERRL_ID = 0x37,
- HWAS_9_ERRL_ID = 0x38,
+ HWAS_ERRL_ID = 0x30,
+ DMI_TRAINING_ERRL_ID,
// reserve some tasks for my unit tests...
START_CXXTEST_ERRL_ID = 0xf0,
diff --git a/src/include/usr/initservice/initsvcstructs.H b/src/include/usr/initservice/initsvcstructs.H
index 2e9644132..3b47ce476 100644
--- a/src/include/usr/initservice/initsvcstructs.H
+++ b/src/include/usr/initservice/initsvcstructs.H
@@ -37,6 +37,8 @@
#include <initservice/initsvcreasoncodes.H>
+#define MAX_DEPENDENT_MODULES 5
+
namespace INITSERVICE
{
@@ -147,6 +149,23 @@ struct TaskInfo
/**
+ * @struct DepModInfo
+ *
+ * Holds information on other modules that need to be loaded so that this
+ * istep will run.
+ *
+ * @todo This is a placeholder right now
+ */
+struct DepModInfo
+{
+ const char modulename[MAX_DEPENDENT_MODULES][VFS_MODULE_NAME_MAX];
+
+};
+
+
+
+
+/**
* @struct ExtTaskInfo
*
* struct to store the TaskInfo for the ISteps, plus the number of items in
@@ -154,8 +173,9 @@ struct TaskInfo
*/
struct ExtTaskInfo
{
- const TaskInfo *const pti;
- const uint64_t numitems;
+ const TaskInfo *const pti;
+ const uint64_t numitems;
+ const DepModInfo *const depModules;
};
} // namespace
OpenPOWER on IntegriCloud