summaryrefslogtreecommitdiff
path: root/include/device/device.defs
diff options
context:
space:
mode:
Diffstat (limited to 'include/device/device.defs')
-rw-r--r--include/device/device.defs18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/device/device.defs b/include/device/device.defs
index 409146f5..ec4b5bf8 100644
--- a/include/device/device.defs
+++ b/include/device/device.defs
@@ -142,3 +142,21 @@ routine device_set_filter(
in filter : filter_array_t
);
+routine device_intr_register(
+ device : device_t;
+ in id : int;
+ in flags : int;
+ in receive_port : mach_port_send_t
+ );
+
+/*
+ * Acknowledge the specified interrupt notification.
+ */
+/*
+ * When an IRQ happens and an intr notification is thus sent, the IRQ line
+ * is kept disabled until the notification is acknowledged with this RPC
+ */
+routine device_intr_ack(
+ device : device_t;
+ in receive_port : mach_port_send_t);
+