summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/usr/diag/mdia/mdia.H55
-rw-r--r--src/usr/diag/mdia/mdia.C6
2 files changed, 39 insertions, 22 deletions
diff --git a/src/include/usr/diag/mdia/mdia.H b/src/include/usr/diag/mdia/mdia.H
index 691a37d04..cb924c973 100644
--- a/src/include/usr/diag/mdia/mdia.H
+++ b/src/include/usr/diag/mdia/mdia.H
@@ -1,25 +1,25 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/include/usr/diag/mdia/mdia.H $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2012
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/diag/mdia/mdia.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
#ifndef __MDIA_MDIA_H
#define __MDIA_MDIA_H
@@ -79,6 +79,17 @@ enum MaintCommandEventType
errlHndl_t runStep(const TARGETING::TargetHandleList & i_targetList);
/**
+ * @brief waitingForMaintCmdEvents
+ *
+ * Provides an indicator of whether or not memory
+ * diagnostics is running and waiting for
+ * calls to the processEvent function.
+ *
+ * @param[out] o_waiting indicator.
+ */
+void waitingForMaintCmdEvents(bool & o_waiting);
+
+/**
* @brief processEvent prd callback
*
* called by prd to inform memory diagnostics of attention
diff --git a/src/usr/diag/mdia/mdia.C b/src/usr/diag/mdia/mdia.C
index 620a64c91..9237c1d85 100644
--- a/src/usr/diag/mdia/mdia.C
+++ b/src/usr/diag/mdia/mdia.C
@@ -107,4 +107,10 @@ errlHndl_t processEvent(MaintCommandEvent & i_event)
return err;
}
+void waitingForMaintCmdEvents(bool & o_waiting)
+{
+ // TODO unstub RTC 45395
+
+ o_waiting = true;
+}
}
OpenPOWER on IntegriCloud