summaryrefslogtreecommitdiffstats
path: root/src/include/usr/targeting/common
diff options
context:
space:
mode:
authorElliott Dahle <dedahle@us.ibm.com>2013-11-13 10:35:18 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-12-14 17:42:08 -0600
commit178ea26dbd10dd1989b2311a209b00e2642af10a (patch)
tree666892b2b904c487faa477064eccb05e95a6e64b /src/include/usr/targeting/common
parent915c24391f2d71ff7eca4b19ca9680b9496c44f3 (diff)
downloadblackbird-hostboot-178ea26dbd10dd1989b2311a209b00e2642af10a.tar.gz
blackbird-hostboot-178ea26dbd10dd1989b2311a209b00e2642af10a.zip
Integrate IPL Flow Reconfig Loop Memory HWPs
Change-Id: I024737b0685164d3e79ee847d53ba1b46721ce5a RTC:89843 CMVC-Coreq:906058 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7452 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.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.H38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/include/usr/targeting/common/utilFilter.H b/src/include/usr/targeting/common/utilFilter.H
index 85d123780..551f4cf85 100644
--- a/src/include/usr/targeting/common/utilFilter.H
+++ b/src/include/usr/targeting/common/utilFilter.H
@@ -38,6 +38,44 @@
namespace TARGETING
{
+ /**
+ * Enum of functional states for use with calls to getChip/ChipletResources
+ */
+ enum ResourceState
+ {
+ UTIL_FILTER_ALL, // All targets
+ UTIL_FILTER_PRESENT, // Present at minimum
+ UTIL_FILTER_FUNCTIONAL // Functional targets only
+ };
+
+
+/**
+ * @brief Populate the o_vector with target chip pointers based on the
+ * requested type, and functional state.
+ *
+ * @parm[out] o_vector, reference of vector of target pointers.
+ * @parm[in] i_type, the type of the chip targets to be obtained
+ * @parm[in] i_state, Selection filter based on ResourceState enum
+ *
+ * @return N/A
+ */
+void getChipResources(TARGETING::TargetHandleList & o_vector,
+ TYPE i_type, ResourceState i_state );
+
+/**
+ * @brief Populate the o_vector with target chiplet pointers based on the
+ * requested type, and functional state.
+ *
+ * @parm[out] o_vector, reference of vector of target pointers.
+ * @parm[in] i_type, the type of the chiplet targets to be obtained
+ * @parm[in] i_state, Selection filter based on ResourceState enum
+ *
+ * @return N/A
+ */
+void getChipletResources(TARGETING::TargetHandleList & o_vector,
+ TYPE i_type, ResourceState i_state );
+
+
/**
* @brief Populate the o_vector with target chip pointers based on the
* requested type, and functional state.
OpenPOWER on IntegriCloud