summaryrefslogtreecommitdiffstats
path: root/src/include/usr/targeting/common/entitypath.H
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2014-03-26 13:12:57 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-04-04 10:56:27 -0500
commit214b4da81b98c19c5dd8eb30b56b3b4d5d38e1c8 (patch)
tree5698b5251695fe1bc406610c3e3a2f8ed746085f /src/include/usr/targeting/common/entitypath.H
parent1be9762f6c1112555176ba474fe9a294c2ff1d95 (diff)
downloadtalos-hostboot-214b4da81b98c19c5dd8eb30b56b3b4d5d38e1c8.tar.gz
talos-hostboot-214b4da81b98c19c5dd8eb30b56b3b4d5d38e1c8.zip
Deconfigure targets by checking presence related targets
Centaurs behind a non-present processor are not being deconfigured Change-Id: I2574d75d76d7b7c1f4a0089193a2f361b7ac7e13 RTC: 99406 CQ: SW253452 Backport: release-fips810 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9921 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/targeting/common/entitypath.H')
-rw-r--r--src/include/usr/targeting/common/entitypath.H25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/entitypath.H b/src/include/usr/targeting/common/entitypath.H
index cee5422cc..13fa86d39 100644
--- a/src/include/usr/targeting/common/entitypath.H
+++ b/src/include/usr/targeting/common/entitypath.H
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* COPYRIGHT International Business Machines Corp. 2011,2014 */
/* */
/* p1 */
/* */
@@ -255,6 +255,29 @@ class EntityPath
const EntityPath& i_rhs) const;
/**
+ * @brief Returns whether an entity path is logically less than
+ * another entity path (lexicographical order)
+ *
+ * Returns whether an entity path is logically less than another.
+ * This determination takes into account the entity path type, the
+ * number of path elements, and the values of the path elements
+ * themselves.
+ *
+ * @param[in] i_rhs Const reference to entity path to compare
+ *
+ * @pre N/A
+ *
+ * @post Equality returned to caller
+ *
+ * @return bool indicating whether an entity path is logically less
+ * than another entity path
+ *
+ * @retval true The lhs entity path is logically less than rhs
+ * @retval false The lhs entity path is logically greater than rhs
+ */
+ bool operator<(const EntityPath& i_rhs) const;
+
+ /**
* @brief Returns whether two entity paths are logically equal, but
* only for the specified number of path elements
*
OpenPOWER on IntegriCloud