diff options
-rw-r--r-- | device/ds_routines.h | 13 | ||||
-rw-r--r-- | kern/ipc_mig.c | 4 |
2 files changed, 13 insertions, 4 deletions
diff --git a/device/ds_routines.h b/device/ds_routines.h index 6d5b61c..fad89ac 100644 --- a/device/ds_routines.h +++ b/device/ds_routines.h @@ -70,5 +70,18 @@ extern void dev_lookup_init(void); extern void device_pager_init(void); extern void io_done_thread(void); +io_return_t ds_device_write_trap( + device_t dev, + dev_mode_t mode, + recnum_t recnum, + vm_offset_t data, + vm_size_t count); + +io_return_t ds_device_writev_trap( + device_t dev, + dev_mode_t mode, + recnum_t recnum, + io_buf_vec_t *iovec, + vm_size_t count); #endif /* DS_ROUTINES_H */ diff --git a/kern/ipc_mig.c b/kern/ipc_mig.c index 3d48cb4..20339a2 100644 --- a/kern/ipc_mig.c +++ b/kern/ipc_mig.c @@ -915,10 +915,6 @@ kern_return_t syscall_thread_depress_abort(thread) /* * Device traps -- these are way experimental. */ - -extern io_return_t ds_device_write_trap(); -extern io_return_t ds_device_writev_trap(); - io_return_t syscall_device_write_request(mach_port_t device_name, mach_port_t reply_name, |