summaryrefslogtreecommitdiffstats
path: root/src/include/kernel/doorbell.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/kernel/doorbell.H')
-rw-r--r--src/include/kernel/doorbell.H23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/kernel/doorbell.H b/src/include/kernel/doorbell.H
index d0c65be2c..8275c4fc7 100644
--- a/src/include/kernel/doorbell.H
+++ b/src/include/kernel/doorbell.H
@@ -38,4 +38,27 @@ void doorbell_broadcast();
*/
void doorbell_clear();
+/** Send a doorbell exception to the given pir
+ *
+ * @param i_pir - PIR to send doorbell exception to
+ */
+void doorbell_send(uint64_t i_pir);
+
+/** Initiate a thread/core wakeup using a doorbell
+ *
+ * @param i_pir - PIR to send doorbell to wakeup
+ */
+void send_doorbell_wakeup(uint64_t i_pir);
+
+/* TODO RTC 150861
+ * send_doorbell_ipc
+ *
+ * void send_doorbell_ipc(cpu_t *i_cpu, uint64_t pir);
+**/
+
+enum
+{
+ _DOORBELL_MSG_TYPE = 0x0000000028000000, /// Comes from the ISA.
+};
+
#endif
OpenPOWER on IntegriCloud