summaryrefslogtreecommitdiffstats
path: root/src/include/usr/targeting/common
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2015-03-11 19:19:09 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-04-02 17:37:45 -0500
commit248b81d8c291d59e1d864f5af24c9cc47bb51938 (patch)
tree3442a41290997d2eb70a6de188e970283fb54c6f /src/include/usr/targeting/common
parent56ab0ee178b8277c4cc7e24e8535802821b4cba7 (diff)
downloadtalos-hostboot-248b81d8c291d59e1d864f5af24c9cc47bb51938.tar.gz
talos-hostboot-248b81d8c291d59e1d864f5af24c9cc47bb51938.zip
Update getFaultSensor to map all target types
-fix logic to return sensor for any target. Change-Id: I3bb842d6a8708762ee6163420cdda382eb4fca72 RTC:125231 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16385 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> 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/targeting/common')
-rw-r--r--src/include/usr/targeting/common/utilFilter.H13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/utilFilter.H b/src/include/usr/targeting/common/utilFilter.H
index 44f5fd95a..bccecfb18 100644
--- a/src/include/usr/targeting/common/utilFilter.H
+++ b/src/include/usr/targeting/common/utilFilter.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,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. */
@@ -258,6 +260,15 @@ const Target * getParentChip( const Target * i_pChiplet );
*/
const Target * getExChiplet( const Target * i_pCoreChiplet );
+/**
+ * @brief return the Core target of the specified input EX chiplet
+ *
+ * @parm[in] i_pExChiplet, EX chiplet target for retrieving the
+ * Core target
+ *
+ * @return Core target pointer or NULL if error
+ */
+const Target * getCoreChiplet( const Target * i_pExChiplet );
/**
* @brief Return a list of all cards in a system
OpenPOWER on IntegriCloud