summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/device/intr.h12
-rw-r--r--include/mach/experimental.defs14
2 files changed, 26 insertions, 0 deletions
diff --git a/include/device/intr.h b/include/device/intr.h
index a02b64c..e7aa7e2 100644
--- a/include/device/intr.h
+++ b/include/device/intr.h
@@ -11,7 +11,19 @@ typedef struct
int line;
} mach_intr_notification_t;
+typedef struct
+{
+ mach_msg_header_t intr_header;
+ mach_msg_type_t line_type;
+ mach_msg_type_number_t line;
+ mach_msg_type_t count_type;
+ mach_msg_type_number_t count;
+ mach_msg_type_t port_type;
+ mach_port_t interrupt_port;
+} mach_intr_notification2_t;
+
#define INTR_NOTIFY_MSGH_SEQNO 0
#define MACH_INTR_NOTIFY 424242
+#define MACH_INTR_NOTIFY2 424247
#endif
diff --git a/include/mach/experimental.defs b/include/mach/experimental.defs
index 11c51d6..03fdee4 100644
--- a/include/mach/experimental.defs
+++ b/include/mach/experimental.defs
@@ -106,3 +106,17 @@ routine vm_allocate_contiguous(
out vaddr : vm_address_t;
out paddr : vm_address_t;
size : vm_size_t);
+
+/* 424246 */
+routine device_intr_register2(
+ master_port : mach_port_t;
+ line : int;
+ flags : int;
+ notification_port: mach_port_send_t);
+
+/* 424247 */
+skip; /* simpleroutine mach_intr_notify2(
+ notify : notify_port_t;
+ line : int,
+ count : int,
+ port : mach_port_send_t); */