summaryrefslogtreecommitdiff
path: root/include/device
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-02-26 20:05:40 +0100
committerJustus Winter <justus@gnupg.org>2016-02-26 20:20:55 +0100
commit9482ee4ba48f8033f7916551f2767f48f9bd0c55 (patch)
tree4a8f9ab990249f2ddd2065f8699fa1265996e06f /include/device
parentc113575502e58f8bfb9870867472d08e653e7c09 (diff)
New kind of notification, untested
Diffstat (limited to 'include/device')
-rw-r--r--include/device/intr.h12
1 files changed, 12 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