summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2011-07-07 17:11:24 -0500
committerMIKE J. JONES <mjjones@us.ibm.com>2011-07-14 10:18:09 -0500
commitb9558dcb65612b60a20719ea489dadda4776e1e4 (patch)
treed0f074f95d473fdaa5ebc29dfae27b21770a9f32 /src/include
parent038a9a46895333b86da8ca83c8effd29ff3e76e9 (diff)
downloadtalos-hostboot-b9558dcb65612b60a20719ea489dadda4776e1e4.tar.gz
talos-hostboot-b9558dcb65612b60a20719ea489dadda4776e1e4.zip
HW Procedure Compile Support
- New .tcl scripts to be used to do the compiling - New hw procedure function for hw procedure writers to overload for their testing Change-Id: I90af3f4d7aea07f63ec7f52daf224070c944ccee Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/190 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hwpf/hwp/fapiTestHwp.H12
-rw-r--r--src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H8
2 files changed, 20 insertions, 0 deletions
diff --git a/src/include/usr/hwpf/hwp/fapiTestHwp.H b/src/include/usr/hwpf/hwp/fapiTestHwp.H
index 5deb60246..4dc5a4dab 100644
--- a/src/include/usr/hwpf/hwp/fapiTestHwp.H
+++ b/src/include/usr/hwpf/hwp/fapiTestHwp.H
@@ -34,6 +34,18 @@ extern "C"
fapi::ReturnCode hwpIsP7EM0ChipletClockOn(const fapi::Target & i_chip,
bool & o_clocksOn);
+/**
+ * @brief Run a sample test function that can be overloaded by the hw dev
+ * team.
+ *
+ * @param[in] i_chip Target chip
+ *
+ * @return ReturnCode
+ */
+fapi::ReturnCode hwpInitialTest(const fapi::Target & i_chip);
+
+
+
} // extern "C"
#endif // FAPITESTHWPROC_H_
diff --git a/src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H b/src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H
index 232cb981c..287f97c11 100644
--- a/src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H
+++ b/src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H
@@ -27,6 +27,14 @@ namespace fapi
errlHndl_t invokeHwpIsP7EM0ChipletClockOn(TARGETING::Target* i_target,
bool & o_clocksOn);
+/**
+ * @brief Invokes hwpInitialTest procedure
+ *
+ * @param[in] i_target Pointer to Chip
+ */
+errlHndl_t invokeHwpInitialTest(TARGETING::Target* i_target);
+
+
}
#endif // FAPIPLATHWPINVOKER_H_
OpenPOWER on IntegriCloud