summaryrefslogtreecommitdiff
path: root/device/interrupt.h
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-02-27 09:10:23 +0100
committerJustus Winter <justus@gnupg.org>2016-02-27 09:10:23 +0100
commit2cf0c62f09dc2069a9446a5a694bb73dd1322108 (patch)
tree0cb0d4b951f4ec9efa4686b2b3d9c05c92fed9eb /device/interrupt.h
parent9482ee4ba48f8033f7916551f2767f48f9bd0c55 (diff)
No need for a new kind of notification, we can provide a smoother upgrade path
Diffstat (limited to 'device/interrupt.h')
-rw-r--r--device/interrupt.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/device/interrupt.h b/device/interrupt.h
index 12e6efc..7a00456 100644
--- a/device/interrupt.h
+++ b/device/interrupt.h
@@ -24,11 +24,13 @@ kern_return_t insert_intr_entry (int line, ipc_port_t dest,
int new_style, /* version2 notifications? */
struct intr_entry **entry);
+boolean_t intr_entry_notify (mach_msg_header_t *msg);
+void intr_thread (void);
+
+/* linux/dev/arch/i386/kernel/irq.c */
int install_user_intr_handler (unsigned int line,
unsigned long flags,
struct intr_entry *entry);
-
-boolean_t intr_entry_notify (mach_msg_header_t *msg);
-void intr_thread (void);
+int remove_user_intr_handler (unsigned int irq, struct intr_entry *entry);
#endif /* DEVICE_INTERRUPT_H */