summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2014-01-15 10:32:20 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-01-24 22:33:06 -0600
commitae50946ec36a55516a5347e5b6a9ae69b15e2ea9 (patch)
treee500f68871bccba8f3c6377c4cd24f25351046ff /src/include
parent4a2234dcd04a1e558034b0186593e73b707fe7ae (diff)
downloadtalos-hostboot-ae50946ec36a55516a5347e5b6a9ae69b15e2ea9.tar.gz
talos-hostboot-ae50946ec36a55516a5347e5b6a9ae69b15e2ea9.zip
add node parameter to checkMinimumHardware check
in addition, the platform specific platCheckMinimumHardware function changes. Change-Id: Ifb75173629b3106b12c15b11a73def088d8fa53d RTC: 95074 CMVC-Coreq: 912929 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8081 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hwas/common/hwas.H7
-rw-r--r--src/include/usr/hwas/common/hwasCommon.H6
2 files changed, 9 insertions, 4 deletions
diff --git a/src/include/usr/hwas/common/hwas.H b/src/include/usr/hwas/common/hwas.H
index a0190c4e2..45418f568 100644
--- a/src/include/usr/hwas/common/hwas.H
+++ b/src/include/usr/hwas/common/hwas.H
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2013 */
+/* COPYRIGHT International Business Machines Corp. 2011,2014 */
/* */
/* p1 */
/* */
@@ -117,9 +117,12 @@ errlHndl_t restrictEXunits(
* Error logs will also be created for each hardware module that is not
* running.
*
+ * @param[in] i_node node target to restrict hw check
+ *
* @return error log handle
*/
-errlHndl_t checkMinimumHardware();
+errlHndl_t checkMinimumHardware(
+ const TARGETING::ConstTargetHandle_t i_node = NULL);
}; // end namespace
diff --git a/src/include/usr/hwas/common/hwasCommon.H b/src/include/usr/hwas/common/hwasCommon.H
index 277f13b0a..3dfcc2987 100644
--- a/src/include/usr/hwas/common/hwasCommon.H
+++ b/src/include/usr/hwas/common/hwasCommon.H
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2013 */
+/* COPYRIGHT International Business Machines Corp. 2012,2014 */
/* */
/* p1 */
/* */
@@ -248,8 +248,10 @@ void hwasErrorUpdatePlid(errlHndl_t & io_errl,
* Else io_plid is updated with the plid used in the newly created Error Logs
*
* @param[io] io_plid Reference to plid.
+ * @param[in] i_node node target to restrict hw check
*/
-void platCheckMinimumHardware(uint32_t & io_plid);
+void platCheckMinimumHardware(uint32_t & io_plid,
+ const TARGETING::ConstTargetHandle_t i_node = NULL);
} // namespace HWAS
OpenPOWER on IntegriCloud