summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/framework/service/prdfPlatServices.H
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2013-02-18 16:39:45 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-03-14 19:34:18 -0500
commitd82bc1a19f90818ec436932d8d56d8e43f58fd8b (patch)
tree09407cbe90617085b459ffe809059757d9439a77 /src/usr/diag/prdf/framework/service/prdfPlatServices.H
parentcdb8cf581d746c7e05495236ece738612bc48c91 (diff)
downloadtalos-hostboot-d82bc1a19f90818ec436932d8d56d8e43f58fd8b.tar.gz
talos-hostboot-d82bc1a19f90818ec436932d8d56d8e43f58fd8b.zip
PRD: Implement COMMAND_STOPPED for MDIA
Change-Id: Ia7836ece908e6078e10ef0dad7675e1f270e80d8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3239 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3563
Diffstat (limited to 'src/usr/diag/prdf/framework/service/prdfPlatServices.H')
-rw-r--r--src/usr/diag/prdf/framework/service/prdfPlatServices.H8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/framework/service/prdfPlatServices.H b/src/usr/diag/prdf/framework/service/prdfPlatServices.H
index 0eaaa12e8..28dc2f6e0 100644
--- a/src/usr/diag/prdf/framework/service/prdfPlatServices.H
+++ b/src/usr/diag/prdf/framework/service/prdfPlatServices.H
@@ -32,6 +32,8 @@
* is common between FSP and Hostboot should be in the respective common file.
*/
+#include <diag/mdia/mdia.H>
+
// This must be included after all other includes. This will take care of cases
// where a file must be included in the common code, but the include paths are
// different between FSP and Hostboot.
@@ -64,11 +66,13 @@ namespace PlatServices
bool isInMdiaMode();
/**
- * @brief Sends a command complete message to MDIA.
+ * @brief Sends a maintenance command message to MDIA.
* @param i_mbaTarget An MBA target.
+ * @param i_eventType MDIA event type
* @return Non-SUCCESS in internal function fails, SUCCESS otherwise.
*/
-int32_t mdiaSendCmdComplete( TARGETING::TargetHandle_t i_mbaTarget );
+int32_t mdiaSendEventMsg( TARGETING::TargetHandle_t i_mbaTarget,
+ MDIA::MaintCommandEventType i_eventType );
/**
* @brief Invokes the restore DRAM repairs hardware procedure.
OpenPOWER on IntegriCloud