summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-03-22 11:14:00 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-03-27 15:12:30 -0500
commit64a9a50f5582133148c7960adae83021e1c23d8c (patch)
treebe09d0bab769ad00c6e1aab09e40dc1fbd86c7eb /src/include/usr
parente365e2055da924ce134e2f8263d47a6afba23e98 (diff)
downloadtalos-hostboot-64a9a50f5582133148c7960adae83021e1c23d8c.tar.gz
talos-hostboot-64a9a50f5582133148c7960adae83021e1c23d8c.zip
Support P8 interrupt presenter.
Task 35765 RTC: 35561 Change-Id: I9fd382fa1005b593d5bef5a258810a70956129d7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/788 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/intr/interrupt.H11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/usr/intr/interrupt.H b/src/include/usr/intr/interrupt.H
index 7137b2f0e..ddc81ed87 100644
--- a/src/include/usr/intr/interrupt.H
+++ b/src/include/usr/intr/interrupt.H
@@ -38,7 +38,7 @@ namespace INTR
{
NO_INTERRUPT = 0, //!< no interrupt present
INTERPROC = 2, //!< Inter processor interrupt
- FSP_MAILBOX = 0x25, //!< TODO find this value
+ FSP_MAILBOX = 0x1A, //!< TODO final value??
ATTENTION = 0x26, //!< TODO find this value
};
@@ -49,6 +49,7 @@ namespace INTR
{
MSG_INTR_ADD_CPU_USR = 1, //!< Add cpu core, data[0] = cpuid (PIR)
MSG_INTR_REGISTER_MSGQ, //!< Register a msgQ
+ MSG_INTR_UNREGISTER_MSGQ, //!< Un register a msgQ
MSG_INTR_ENABLE, //!< Enable external Interrupts
MSG_INTR_DISABLE, //!< Disable external interrupts
};
@@ -63,6 +64,14 @@ namespace INTR
errlHndl_t registerMsgQ(msg_q_t i_msgQ, ext_intr_t i_type);
/**
+ * Un register a message queue from the interrupt handler
+ * @param[in] i_type the type of interrupt (XISR value)
+ * @return The message queue that was unregistered with i_type
+ * | NULL if no queue was not found for i_type
+ */
+ msg_q_t unRegisterMsgQ(ext_intr_t i_type);
+
+ /**
* Enable hardware to report external interrupts
* @return errlHndl_t on error.
*/
OpenPOWER on IntegriCloud