From b9558dcb65612b60a20719ea489dadda4776e1e4 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Thu, 7 Jul 2011 17:11:24 -0500 Subject: 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 Reviewed-by: MIKE J. JONES --- src/include/usr/hwpf/hwp/fapiTestHwp.H | 12 ++++++++++++ src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H | 8 ++++++++ 2 files changed, 20 insertions(+) (limited to 'src/include') 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_ -- cgit v1.2.1