summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwas
diff options
context:
space:
mode:
authorMatt Ploetz <maploetz@us.ibm.com>2013-09-24 11:03:02 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-10-12 14:51:14 -0500
commit4e536844c21b0ab7c256e49c63e8e9520c9e1d19 (patch)
tree03fa743c3e3f5c00cf1d44a936a3c92c7673b48c /src/include/usr/hwas
parenteffbdc22da60af7ae67f69005f63a6a6e4db773d (diff)
downloadtalos-hostboot-4e536844c21b0ab7c256e49c63e8e9520c9e1d19.tar.gz
talos-hostboot-4e536844c21b0ab7c256e49c63e8e9520c9e1d19.zip
Hardware Reconfigure loop and Istepdispatcher redesign
Change-Id: Icc037be6b0eac67d1b5196180f8a53f083afa085 RTC: 34055 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6324 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas')
-rw-r--r--src/include/usr/hwas/common/deconfigGard.H16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H
index 6a9c3e479..c1288978e 100644
--- a/src/include/usr/hwas/common/deconfigGard.H
+++ b/src/include/usr/hwas/common/deconfigGard.H
@@ -228,6 +228,19 @@ public:
errlHndl_t deconfigureTarget(TARGETING::Target & i_target,
const uint32_t i_errlEid,
bool i_evenAtRunTime = false);
+
+ /**
+ * @brief Get the Deconfigure Status
+ *
+ * This function returns a uint32_t counter that can be used to indicate
+ * whether Targets have been deconfigured. The counter wraps, so the user
+ * should just check for != to determine if a deconfigure has happened
+ * since the last time this was called.
+ *
+ * @return uint32_t 'counter' of deconfigure events
+ */
+ uint32_t getDeconfigureStatus();
+
/**
* @brief Registers a Deferred Deconfigure
*
@@ -568,6 +581,9 @@ private:
*/
bool iv_XABusEndpointDeconfigured;
+ // counter, used to tell if there were deconfigure 'events'.
+ uint32_t iv_deconfigCount;
+
}; // DeconfigGard
HWAS_DECLARE_SINGLETON(HWAS::DeconfigGard,theDeconfigGardSingleton);
OpenPOWER on IntegriCloud