summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2015-10-26 11:38:27 -0500
committerPatrick Williams <iawillia@us.ibm.com>2015-12-11 15:30:27 -0600
commitc648ceaa200710e15106bf8acea2094c82ab9458 (patch)
tree83a8c0c0df7019aea4314a2fa7a8cca27418cd25 /src/include/usr
parentbf4cb3342fe0aa8a51d11bb85bddab61a0a7398c (diff)
downloadtalos-hostboot-c648ceaa200710e15106bf8acea2094c82ab9458.tar.gz
talos-hostboot-c648ceaa200710e15106bf8acea2094c82ab9458.zip
P9 Isteps: Created directory structure for istep 15 & 16 wrappers
Change-Id: Id780406de73f04a05ad22ed8c9d8770c581d785e RTC:137652 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21502 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@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/isteps/istep15list.H85
-rw-r--r--src/include/usr/isteps/istep16list.H86
2 files changed, 152 insertions, 19 deletions
diff --git a/src/include/usr/isteps/istep15list.H b/src/include/usr/isteps/istep15list.H
index 120828eda..1dbf97c11 100644
--- a/src/include/usr/isteps/istep15list.H
+++ b/src/include/usr/isteps/istep15list.H
@@ -29,7 +29,7 @@
* @file istep15list.H
*
* IStep 15 Build Winkle Images
- * IPL FLow Doc v0.60 (06/02/15)
+ * IPL FLow Doc v0.67 (11/11/15)
*
* 15.1 host_build_winkle
* : Build runtime winkle images
@@ -39,13 +39,59 @@
*
*/
-#include <initservice/initsvcstructs.H>
-#include <initservice/initsvcreasoncodes.H>
-
-// include prototypes file
-#include "../../../usr/hwpf/hwp/build_winkle_images/build_winkle_images.H"
+#include <initservice/initsvcstructs.H>
+#include <initservice/initsvcreasoncodes.H>
#include <config.h>
+namespace ISTEP_15
+{
+
+/**
+ * @brief host_build_stop_image
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_host_build_stop_image( void *io_pArgs );
+
+
+
+/**
+ * @brief proc_set_pba_homer_bar
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_proc_set_pba_homer_bar( void *io_pArgs );
+
+
+
+/**
+ * @brief host_establish_ex_chiplet
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_host_establish_ex_chiplet( void *io_pArgs );
+
+/**
+ * @brief host_start_stop_engine
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_host_start_stop_engine( void *io_pArgs );
+};
+
+
namespace INITSERVICE
{
const TaskInfo g_istep15[] = {
@@ -54,21 +100,32 @@ namespace INITSERVICE
NULL,
{ NONE, EXT_IMAGE, IPL_NOOP, false }
},
-
{
- ISTEPNAME(15,01,"host_build_winkle"),
- BUILD_WINKLE_IMAGES::call_host_build_winkle,
- { START_FN, EXT_IMAGE, NORMAL_IPL_OP | MPIPL_OP, true,
- SEC_PROCESSOR_INIT }
+ ISTEPNAME(15,01,"host_build_stop_image"),
+ ISTEP_15::call_host_build_stop_image,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(15,02,"proc_set_pba_homer_bar"),
+ ISTEP_15::call_proc_set_pba_homer_bar,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(15,03,"host_establish_ex_chiplet"),
+ ISTEP_15::call_host_establish_ex_chiplet,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(15,04,"host_start_stop_engine"),
+ ISTEP_15::call_host_start_stop_engine,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
},
-
};
const DepModInfo g_istep15Dependancies = {
{
- DEP_LIB(libocc.so),
- DEP_LIB(libbuild_winkle_images.so),
+ DEP_LIB(libistep15.so),
NULL
}
};
diff --git a/src/include/usr/isteps/istep16list.H b/src/include/usr/isteps/istep16list.H
index 3b56c3d5f..e1c5db6e3 100644
--- a/src/include/usr/isteps/istep16list.H
+++ b/src/include/usr/isteps/istep16list.H
@@ -43,8 +43,65 @@
#include <initservice/initsvcstructs.H>
#include <initservice/initsvcreasoncodes.H>
-// include prototypes file
-#include "../../../usr/hwpf/hwp/core_activate/core_activate.H"
+namespace ISTEP_16
+{
+
+/**
+ * @brief host_activate_master
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_host_activate_master( void *io_pArgs );
+
+
+
+/**
+ * @brief host_activate_slave_cores
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_host_activate_slave_cores( void *io_pArgs );
+
+
+
+/**
+ * @brief host_secure_rng
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_host_secure_rng( void *io_pArgs );
+
+/**
+ * @brief mss_scrub
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_mss_scrub( void *io_pArgs );
+
+/**
+ * @brief host_ipl_complete
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_host_ipl_complete( void *io_pArgs );
+};
+
+
namespace INITSERVICE
{
@@ -58,7 +115,27 @@ namespace INITSERVICE
#if (0)
{
ISTEPNAME(16,01,"host_activate_master"),
- CORE_ACTIVATE::call_host_activate_master,
+ ISTEP_16::call_host_activate_master,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP | MPIPL_OP, true }
+ },
+ {
+ ISTEPNAME(16,02,"host_activate_slave_cores"),
+ ISTEP_16::call_host_activate_slave_cores,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP | MPIPL_OP, true }
+ },
+ {
+ ISTEPNAME(16,03,"host_secure_rng"),
+ ISTEP_16::call_host_activate_master,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP | MPIPL_OP, true }
+ },
+ {
+ ISTEPNAME(16,04,"mss_scrub"),
+ ISTEP_16::call_mss_scrub,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP | MPIPL_OP, true }
+ },
+ {
+ ISTEPNAME(16,05,"host_ipl_complete"),
+ ISTEP_16::call_host_ipl_complete,
{ START_FN, EXT_IMAGE, NORMAL_IPL_OP | MPIPL_OP, true }
},
#endif
@@ -66,9 +143,8 @@ namespace INITSERVICE
const DepModInfo g_istep16Dependancies = {
{
- DEP_LIB(libcore_activate.so),
+ DEP_LIB(libistep16.so),
DEP_LIB(libbuild_winkle_images.so),
- DEP_LIB(libnest_chiplets.so),
#ifdef CONFIG_IPLTIME_CHECKSTOP_ANALYSIS
DEP_LIB(libocc.so),
#endif
OpenPOWER on IntegriCloud