summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2015-10-26 10:22:47 -0500
committerPatrick Williams <iawillia@us.ibm.com>2015-12-11 15:30:27 -0600
commitbf4cb3342fe0aa8a51d11bb85bddab61a0a7398c (patch)
treea82a40996692bb3d12db4e951ca3cd0c267b1d8d /src/include/usr
parent3f38d7bb2084ab959fd407e4b864e995d2b003a7 (diff)
downloadtalos-hostboot-bf4cb3342fe0aa8a51d11bb85bddab61a0a7398c.tar.gz
talos-hostboot-bf4cb3342fe0aa8a51d11bb85bddab61a0a7398c.zip
P9 Isteps: Created directory structure for istep 14 wrappers
Change-Id: Idad8c430afef013a91e0c206d4fff80fc45053c0 RTC:137652 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21501 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/hwpf_reasoncodes.H (renamed from src/include/usr/hwpf/hwpf_reasoncodes.H)3
-rw-r--r--src/include/usr/isteps/istep14list.H153
-rw-r--r--src/include/usr/isteps/istep_reasoncodes.H50
3 files changed, 197 insertions, 9 deletions
diff --git a/src/include/usr/hwpf/hwpf_reasoncodes.H b/src/include/usr/isteps/hwpf_reasoncodes.H
index fab137adc..9737f9cdd 100644
--- a/src/include/usr/hwpf/hwpf_reasoncodes.H
+++ b/src/include/usr/isteps/hwpf_reasoncodes.H
@@ -1,12 +1,11 @@
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
-/* $Source: src/include/usr/hwpf/hwpf_reasoncodes.H $ */
+/* $Source: src/include/usr/isteps/hwpf_reasoncodes.H $ */
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2013,2015 */
-/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
/* */
diff --git a/src/include/usr/isteps/istep14list.H b/src/include/usr/isteps/istep14list.H
index b21d9c728..aa6ccdce0 100644
--- a/src/include/usr/isteps/istep14list.H
+++ b/src/include/usr/isteps/istep14list.H
@@ -29,7 +29,7 @@
* @file istep14list.H
*
* IStep 14
- * IPL FLow Doc v0.60 (06/02/15)
+ * IPL FLow Doc v0.67 (11/11/15)
* 14.7 proc_setup_bars
* : Setup Memory BARs
*
@@ -38,12 +38,109 @@
*
*/
-#include <initservice/initsvcstructs.H>
-#include <initservice/initsvcreasoncodes.H>
+#include <initservice/initsvcstructs.H>
+#include <initservice/initsvcreasoncodes.H>
#include <config.h>
-// include prototypes file
-#include "../../../usr/hwpf/hwp/dram_initialization/dram_initialization.H"
+namespace ISTEP_14
+{
+
+/**
+ * @brief host_startprd_dram
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_host_startprd_dram( void *io_pArgs );
+
+
+
+/**
+ * @brief mss_memdiag
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_mss_memdiag( void *io_pArgs );
+
+
+
+/**
+ * @brief mss_thermal_init
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_mss_thermal_init( void *io_pArgs );
+
+/**
+ * @brief proc_pcie_config
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_proc_pcie_config( void *io_pArgs );
+
+
+/**
+ * @brief mss_power_cleanup
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_mss_power_cleanup( void *io_pArgs );
+
+/**
+ * @brief proc_setup_bars
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_proc_setup_bars( void *io_pArgs );
+
+/**
+ * @brief proc_htm_setup
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_proc_htm_setup( void *io_pArgs );
+
+/**
+ * @brief proc_exit_cache_contained
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_proc_exit_cache_contained( void *io_pArgs );
+
+/**
+ * @brief host_mpipl_service
+ *
+ * param[in,out] - pointer to any arguments, usually NULL
+ *
+ * return any errlogs to istep
+ *
+ */
+void* call_host_mpipl_service( void *io_pArgs );
+};
+
namespace INITSERVICE
{
@@ -54,14 +151,56 @@ namespace INITSERVICE
{ NONE, EXT_IMAGE, IPL_NOOP, false }
},
{
- ISTEPNAME(14,07,"proc_setup_bars"),
- DRAM_INITIALIZATION::call_proc_setup_bars,
+ ISTEPNAME(14,01,"host_startprd_dram"),
+ ISTEP_14::call_host_startprd_dram,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(14,02,"mss_memdiag"),
+ ISTEP_14::call_mss_memdiag,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(14,03,"mss_thermal_init"),
+ ISTEP_14::call_mss_thermal_init,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(14,04,"proc_pcie_config"),
+ ISTEP_14::call_proc_pcie_config,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(14,05,"mss_power_cleanup"),
+ ISTEP_14::call_mss_power_cleanup,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(14,06,"proc_setup_bars"),
+ ISTEP_14::call_proc_setup_bars,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(14,07,"proc_htm_setup"),
+ ISTEP_14::call_proc_htm_setup,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(14,08,"proc_exit_cache_contained"),
+ ISTEP_14::call_proc_exit_cache_contained,
+ { START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
+ },
+ {
+ ISTEPNAME(14,09,"host_mpipl_service"),
+ ISTEP_14::call_host_mpipl_service,
{ START_FN, EXT_IMAGE, NORMAL_IPL_OP, true }
},
};
const DepModInfo g_istep14Dependancies = {
{
+ DEP_LIB(libistep14.so),
+ DEP_LIB(libdump.so),
NULL
}
};
diff --git a/src/include/usr/isteps/istep_reasoncodes.H b/src/include/usr/isteps/istep_reasoncodes.H
new file mode 100644
index 000000000..d5132ac9b
--- /dev/null
+++ b/src/include/usr/isteps/istep_reasoncodes.H
@@ -0,0 +1,50 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/isteps/istep_reasoncodes.H $ */
+/* */
+/* OpenPOWER HostBoot Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2015 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* Licensed under the Apache License, Version 2.0 (the "License"); */
+/* you may not use this file except in compliance with the License. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
+#ifndef _ISTEP_REASONCODES_H_
+#define _ISTEP_REASONCODES_H_
+
+#include <hbotcompid.H>
+namespace ISTEP
+{
+ /**
+ * @brief Defines the ISTEP error log module IDs
+ */
+ enum istepModuleId
+ {
+ MOD_EXIT_CACHE_CONTAINED = 0x01,
+ };
+
+ /**
+ * @brief Defines the ISTEP error log reason codes
+ */
+ enum istepReasonCode
+ {
+ RC_NO_MIRRORED_MEMORY = HWPF_COMP_ID | 0x01,
+ RC_MM_EXTEND_FAILED = HWPF_COMP_ID | 0x02,
+ };
+
+};
+
+#endif
OpenPOWER on IntegriCloud