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/device_emul.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/device_emul.h')
-rw-r--r-- | device/device_emul.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device/device_emul.h b/device/device_emul.h index 957bd505..683fc802 100644 --- a/device/device_emul.h +++ b/device/device_emul.h @@ -56,9 +56,9 @@ struct device_emulation_ops vm_size_t, ipc_port_t *, boolean_t); void (*no_senders) (mach_no_senders_notification_t *); io_return_t (*write_trap) (void *, dev_mode_t, - recnum_t, vm_offset_t, vm_size_t); + rpc_recnum_t, rpc_vm_offset_t, rpc_vm_size_t); io_return_t (*writev_trap) (void *, dev_mode_t, - recnum_t, io_buf_vec_t *, vm_size_t); + rpc_recnum_t, rpc_io_buf_vec_t *, rpc_vm_size_t); }; #endif /* _I386AT_DEVICE_EMUL_H_ */ |