diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-30 00:59:59 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-30 01:12:13 +0200 |
commit | eb1b2057d839249c955189c2cba8bc37c66d4151 (patch) | |
tree | 4af9bc647e298fd06082cc21db1ff60267c925d1 /pci-arbiter | |
parent | f0cacda83293e4d792b8d12665fcb795dc11d6fc (diff) | |
download | hurd-eb1b2057d839249c955189c2cba8bc37c66d4151.tar.gz hurd-eb1b2057d839249c955189c2cba8bc37c66d4151.tar.bz2 hurd-eb1b2057d839249c955189c2cba8bc37c66d4151.zip |
Fix types of read write and readables methods
This completes 5adb4b834b1e
Diffstat (limited to 'pci-arbiter')
-rw-r--r-- | pci-arbiter/pci-ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pci-arbiter/pci-ops.c b/pci-arbiter/pci-ops.c index ef27a3cd..d721f368 100644 --- a/pci-arbiter/pci-ops.c +++ b/pci-arbiter/pci-ops.c @@ -80,7 +80,7 @@ calculate_ndevs (struct iouser *user) */ error_t S_pci_conf_read (struct protid * master, int reg, char **data, - size_t * datalen, mach_msg_type_number_t amount) + size_t * datalen, vm_size_t amount) { error_t err; pthread_mutex_t *lock; @@ -129,7 +129,7 @@ S_pci_conf_read (struct protid * master, int reg, char **data, /* Write `datalen' bytes from `data'. `amount' is updated. */ error_t S_pci_conf_write (struct protid * master, int reg, const char *data, size_t datalen, - mach_msg_type_number_t * amount) + vm_size_t * amount) { error_t err; pthread_mutex_t *lock; |