summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/mdia/mdiafwd.H
diff options
context:
space:
mode:
authorChris Phan <cphan@us.ibm.com>2013-07-24 10:44:25 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-08-09 13:35:51 -0500
commit7b0dcb2cc3a80cb09aa2af5d4cd2f2673c7146a6 (patch)
tree6b0c9593073229e92bf0d716086095ea446133ee /src/usr/diag/mdia/mdiafwd.H
parent5b6ce29d510f5393728ab8bdfdf6d90a26bf1d0c (diff)
downloadtalos-hostboot-7b0dcb2cc3a80cb09aa2af5d4cd2f2673c7146a6.tar.gz
talos-hostboot-7b0dcb2cc3a80cb09aa2af5d4cd2f2673c7146a6.zip
MDIA: add hcdb/HWAS_CHANGED_BIT_MEMDIAG support
Also add check for the new ATTR_RUN_MAX_MEM_PATTERNS Change-Id: I343f1054cf657e06cea688f0a87340bdd32f01f2 RTC: 38367 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5548 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/mdia/mdiafwd.H')
-rw-r--r--src/usr/diag/mdia/mdiafwd.H20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/usr/diag/mdia/mdiafwd.H b/src/usr/diag/mdia/mdiafwd.H
index 83186f23e..6737cb29b 100644
--- a/src/usr/diag/mdia/mdiafwd.H
+++ b/src/usr/diag/mdia/mdiafwd.H
@@ -31,6 +31,7 @@
#include <mdia/mdia.H>
#include <mdia/mdiareasoncodes.H>
#include <targeting/common/attributes.H>
+#include <targeting/common/targetservice.H>
#include <vector>
#include <map>
@@ -184,5 +185,24 @@ errlHndl_t getMbaWorkFlow(
*/
void doStepCleanup(const Globals & i_globals);
+/**
+ * @brief check if hw state has been changed for an mba's
+ * associated targets
+ *
+ * @param[in] i_mba input mba target
+ *
+ * @retval true if hw state has been changed or else
+ */
+bool isHWStateChanged(TARGETING::TargetHandle_t i_mba);
+
+/**
+ * @brief clear hw changed state for an mba's
+ * associated targets
+ *
+ * @param[in] i_mba input mba target
+ *
+ */
+void clearHWStateChanged(TARGETING::TargetHandle_t i_mba);
+
}
#endif
OpenPOWER on IntegriCloud