diff options
Diffstat (limited to 'device/ds_routines.c')
| -rw-r--r-- | device/ds_routines.c | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/device/ds_routines.c b/device/ds_routines.c index a54bb0e..d866acc 100644 --- a/device/ds_routines.c +++ b/device/ds_routines.c @@ -340,36 +340,7 @@ experimental_device_intr_register (ipc_port_t master_port, int line, if (line < 0 || line >= 16) return D_INVALID_OPERATION; - ret = insert_intr_entry (line, receive_port, FALSE, &entry); - if (ret) - return ret; - - return install_user_intr_handler (line, flags, entry); -#endif /* MACH_XEN */ -} - -io_return_t -experimental_device_intr_register2 (ipc_port_t master_port, int line, - int flags, ipc_port_t notification_port) -{ -#ifdef MACH_XEN - return D_INVALID_OPERATION; -#else /* MACH_XEN */ - struct intr_entry *entry; - io_return_t ret; - - /* Open must be called on the master device port. */ - if (master_port != master_device_port) - return D_INVALID_OPERATION; - - if (notification_port == IP_NULL) - return D_INVALID_OPERATION; - - /* XXX: move to arch-specific */ - if (line < 0 || line >= 16) - return D_INVALID_OPERATION; - - ret = insert_intr_entry (line, notification_port, TRUE, &entry); + ret = insert_intr_entry (line, receive_port, &entry); if (ret) return ret; |
