diff options
author | Luca Dariz <luca@orpolo.org> | 2023-01-16 11:58:54 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-18 02:24:59 +0100 |
commit | 194318d21f8ce386a186d90544d8a1d81aa222c2 (patch) | |
tree | c6d065446345e39ecd0d500cc5f5502c3dd4457f /device/ds_routines.h | |
parent | c2886e18c39182084c11d85f18fff5f9f81360ef (diff) | |
download | gnumach-194318d21f8ce386a186d90544d8a1d81aa222c2.tar.gz gnumach-194318d21f8ce386a186d90544d8a1d81aa222c2.tar.bz2 gnumach-194318d21f8ce386a186d90544d8a1d81aa222c2.zip |
update writev syscall signature with rpc types
* device/device_emul.h: write/writev: update trap argument types
* device/ds_routines.c: update argument types and adjust copyin
* device/ds_routines.h: write/writev: update trap argument type
* include/device/device_types.h: add rpc_io_buf_vec_t type
* kern/ipc_mig.c: write/writev: update trap argument type
* kern/ipc_mig.h: Likewise
Message-Id: <20230116105857.240210-5-luca@orpolo.org>
Diffstat (limited to 'device/ds_routines.h')
-rw-r--r-- | device/ds_routines.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/device/ds_routines.h b/device/ds_routines.h index c0543cbc..48d85dd0 100644 --- a/device/ds_routines.h +++ b/device/ds_routines.h @@ -72,15 +72,15 @@ extern void io_done_thread(void) __attribute__ ((noreturn)); 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); + rpc_recnum_t recnum, + rpc_vm_offset_t data, + rpc_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); + rpc_recnum_t recnum, + rpc_io_buf_vec_t *iovec, + rpc_vm_size_t count); #endif /* DS_ROUTINES_H */ |