diff options
| author | Justus Winter <justus@gnupg.org> | 2016-02-26 20:05:40 +0100 |
|---|---|---|
| committer | Justus Winter <justus@gnupg.org> | 2016-02-26 20:20:55 +0100 |
| commit | 9482ee4ba48f8033f7916551f2767f48f9bd0c55 (patch) | |
| tree | 4a8f9ab990249f2ddd2065f8699fa1265996e06f /include | |
| parent | c113575502e58f8bfb9870867472d08e653e7c09 (diff) | |
New kind of notification, untested
Diffstat (limited to 'include')
| -rw-r--r-- | include/device/intr.h | 12 | ||||
| -rw-r--r-- | include/mach/experimental.defs | 14 |
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); */ |
