diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-26 15:06:21 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-26 15:06:21 +0100 |
commit | 4ef693ac89cb514f75fd8643322a36d15474902a (patch) | |
tree | 3968f8db46623e0b89ee78b6c0e0fae81ee9060f /libmachdev/ds_routines.c | |
parent | a712dbc42369b44556bf11e2c53e7cad8f476c13 (diff) |
sync libmachdev
Diffstat (limited to 'libmachdev/ds_routines.c')
-rw-r--r-- | libmachdev/ds_routines.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c index 6bd5a129..e9fbe944 100644 --- a/libmachdev/ds_routines.c +++ b/libmachdev/ds_routines.c @@ -87,52 +87,7 @@ boolean_t is_master_device (mach_port_t port); * What follows is the interface for the native Mach devices. */ -static inline mach_port_t -mach_convert_device_to_port (mach_device_t device) -{ - if (device == NULL) - return MACH_PORT_NULL; - - // TODO I have to somehow dereference it when it is called at the first time. - return ports_get_right (device); -} - /* Implementation of device interface */ -kern_return_t -ds_xxx_device_set_status (struct mach_device *device, dev_flavor_t flavor, - dev_status_t status, size_t statu_cnt) -{ - return D_INVALID_OPERATION; -} - -kern_return_t -ds_xxx_device_get_status (struct mach_device *device, dev_flavor_t flavor, - dev_status_t status, size_t *statuscnt) -{ - return D_INVALID_OPERATION; -} - -kern_return_t -ds_xxx_device_set_filter (struct mach_device *device, mach_port_t rec, - int pri, filter_array_t filt, size_t len) -{ - return D_INVALID_OPERATION; -} - -io_return_t -ds_device_intr_register (mach_port_t master_port, int irq, - int flags, int id, mach_port_t receive_port) -{ - return D_INVALID_OPERATION; -} - -kern_return_t -ds_device_intr_enable (mach_port_t master_port, - int line, char status) -{ - return D_INVALID_OPERATION; -} - io_return_t ds_device_open (mach_port_t open_port, mach_port_t reply_port, mach_msg_type_name_t reply_port_type, dev_mode_t mode, |