summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2013-10-09 09:03:45 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-10-10 13:05:46 -0500
commitcb4b721956f9a0a347db3b838608ffc0b08fd7e5 (patch)
treeb5bd5cdc3aa8aa74cae205fb38ed87a4769a77da /src/include/usr
parente650b34e1940043d342a39d5018867f172fb7f40 (diff)
downloadtalos-hostboot-cb4b721956f9a0a347db3b838608ffc0b08fd7e5.tar.gz
talos-hostboot-cb4b721956f9a0a347db3b838608ffc0b08fd7e5.zip
add new utility to update HWAS_STATE_CHANGED_MASK with specific bits.
Change-Id: I732ec859a6573fd2dd6d9adac6491acec893bbd4 RTC: 88037 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6575 Tested-by: Jenkins Server Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/targeting/common/util.H9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/util.H b/src/include/usr/targeting/common/util.H
index bb11c70f6..301e521d5 100644
--- a/src/include/usr/targeting/common/util.H
+++ b/src/include/usr/targeting/common/util.H
@@ -94,7 +94,14 @@ uint32_t get_huid( const Target* i_target );
void update_hwas_changed_mask(Target * i_target);
/**
- * @brief Set HWAS Changed Mask to subscription mask
+ * @brief Set HWAS Changed Mask to specific bits in subscription mask
+ * @param[in] Pointer to a Target
+ * @param[in] bit mask of bits to set
+ */
+void update_hwas_changed_mask(Target * i_target, const uint64_t i_bits);
+
+/**
+ * @brief Clear bit in HWAS Changed Mask
* @param[in] Pointer to a Target
* @param[in] bit to clear
*/
OpenPOWER on IntegriCloud