diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-05-07 13:15:02 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-07 19:25:00 +0200 |
commit | add3d8afc7fd199c0fe6bf40a46462c2f77f9ef5 (patch) | |
tree | 31830f8669c960601925aecac7f0012bd1092251 /libmachdev/ds_routines.c | |
parent | 42fbc5f9afb66043d4493297a84842cbeef870b7 (diff) | |
download | hurd-add3d8afc7fd199c0fe6bf40a46462c2f77f9ef5.tar.gz hurd-add3d8afc7fd199c0fe6bf40a46462c2f77f9ef5.tar.bz2 hurd-add3d8afc7fd199c0fe6bf40a46462c2f77f9ef5.zip |
Implement device_open_new for all the translators implementing the device interface.
Message-Id: <ZFfcloxDKSiyHJTH@jupiter.tail36e24.ts.net>
Diffstat (limited to 'libmachdev/ds_routines.c')
-rw-r--r-- | libmachdev/ds_routines.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c index 0d60d589..6555d6e9 100644 --- a/libmachdev/ds_routines.c +++ b/libmachdev/ds_routines.c @@ -127,6 +127,16 @@ ds_device_open (mach_port_t open_port, mach_port_t reply_port, } io_return_t +ds_device_open_new (mach_port_t open_port, mach_port_t reply_port, + mach_msg_type_name_t reply_port_type, dev_mode_t mode, + const_dev_name_t name, device_t *devp, + mach_msg_type_name_t *devicePoly) +{ + return ds_device_open (open_port, reply_port, reply_port_type, mode, + name, devp, devicePoly); +} + +io_return_t ds_device_close (struct mach_device *device) { /* Refuse if device is dead or not completely open. */ |