summaryrefslogtreecommitdiffstats
path: root/src/include/usr/mbox
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2013-05-08 14:54:38 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-06-11 13:16:57 -0500
commitf03a35a49b91257b59bdad052db10e6f9a7e8685 (patch)
tree91234a0575ddd68dd8b4f2d5d2208434a7be9c54 /src/include/usr/mbox
parent1b4408af313ad567489879c8409f26edb095665d (diff)
downloadtalos-hostboot-f03a35a49b91257b59bdad052db10e6f9a7e8685.tar.gz
talos-hostboot-f03a35a49b91257b59bdad052db10e6f9a7e8685.zip
Mailbox suspend/resume for multinode IPL
RTC: 63126 Change-Id: I590fe2d38eaef58ffa8e664ca202bd7fc9877b16 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4551 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/mbox')
-rw-r--r--src/include/usr/mbox/mbox_reasoncodes.H1
-rw-r--r--src/include/usr/mbox/mboxif.H20
2 files changed, 21 insertions, 0 deletions
diff --git a/src/include/usr/mbox/mbox_reasoncodes.H b/src/include/usr/mbox/mbox_reasoncodes.H
index 4760d1de1..2bce46660 100644
--- a/src/include/usr/mbox/mbox_reasoncodes.H
+++ b/src/include/usr/mbox/mbox_reasoncodes.H
@@ -42,6 +42,7 @@ namespace MBOX
MOD_MBOXSRC_UNCLAIMED = 0x0A, // MailboxSp::handleUnclaimed
MOD_MBOX_SEND = 0x0B, // MBOX::send
MOD_MBOXSRV_IPC_MSG = 0x0C, // MailboxSp::handleIPC
+ MOD_MBOX_MSGQ_FAIL = 0x0D, // MBOX::makeErrlMsgQSendFail
};
enum MBOXReasonCode
diff --git a/src/include/usr/mbox/mboxif.H b/src/include/usr/mbox/mboxif.H
index a8609a31f..8bce7b495 100644
--- a/src/include/usr/mbox/mboxif.H
+++ b/src/include/usr/mbox/mboxif.H
@@ -108,6 +108,26 @@ namespace MBOX
*/
bool mailbox_enabled();
+ /**
+ * Suspend the mailbox.
+ *
+ * @return error handle on error
+ *
+ * @note:
+ * Any message sent to the FSP will be queued and send after the mailbox
+ * is resumed. Interrupts from the FSP MBox will be masked.
+ */
+ errlHndl_t suspend();
+
+ /**
+ * Resume the mailbox
+ *
+ * @return error handle on error
+ *
+ * @note FSP Mbox re-enabled, queued messages sent.
+ */
+ errlHndl_t resume();
+
}; // end namespace MBOX
#endif
OpenPOWER on IntegriCloud