summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReshmi Nair <resnair5@in.ibm.com>2012-07-30 04:44:51 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-08-29 12:46:41 -0500
commit3a602ec6ddd3cd02f013ac178b18235936d8efb2 (patch)
treeb54c43a4809a9583c3018cc71cf4e294c205ef2a
parentebf064b38b4f494f21913ed77808317909840464 (diff)
downloadtalos-hostboot-3a602ec6ddd3cd02f013ac178b18235936d8efb2.tar.gz
talos-hostboot-3a602ec6ddd3cd02f013ac178b18235936d8efb2.zip
Implement interface for PRD-MDIA communication
RTC: 38392 Change-Id: I615377a028d049018f1173879a45f3eaf60a8d19 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1438 Tested-by: Jenkins Server Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: LARINA M. DSOUZA <larsouza@in.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rw-r--r--src/usr/diag/mdia/mdia.C55
1 files changed, 33 insertions, 22 deletions
diff --git a/src/usr/diag/mdia/mdia.C b/src/usr/diag/mdia/mdia.C
index e9ae2be69..620a64c91 100644
--- a/src/usr/diag/mdia/mdia.C
+++ b/src/usr/diag/mdia/mdia.C
@@ -1,25 +1,26 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/usr/diag/mdia/mdia.C $
-//
-// 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/usr/diag/mdia/mdia.C $
+ *
+ * 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_TAG
+ */
/**
* @file mdia.C
* @brief mdia entry points, utility function implementations
@@ -96,4 +97,14 @@ void doStepCleanup(const Globals & i_globals)
// TODO ... stop the command monitor
}
+
+errlHndl_t processEvent(MaintCommandEvent & i_event)
+{
+ errlHndl_t err = 0;
+ // Call State machine processEvent
+ Singleton<StateMachine>::instance().processMaintCommandEvent(i_event);
+
+ return err;
+}
+
}
OpenPOWER on IntegriCloud