diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-10 02:52:25 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-10 02:52:25 +0200 |
commit | cb5ab7708b6b7f9941a9ba914ede153601c5be49 (patch) | |
tree | becf4873658e9b3549e111a3a531bbfb76ed2f0d /pci-arbiter | |
parent | 9fe5e6bf0ccaccec9c5ea2c3a2cea86dbd9c78dc (diff) | |
download | hurd-cb5ab7708b6b7f9941a9ba914ede153601c5be49.tar.gz hurd-cb5ab7708b6b7f9941a9ba914ede153601c5be49.tar.bz2 hurd-cb5ab7708b6b7f9941a9ba914ede153601c5be49.zip |
More prototypes fixes
Diffstat (limited to 'pci-arbiter')
-rw-r--r-- | pci-arbiter/pci-ops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pci-arbiter/pci-ops.c b/pci-arbiter/pci-ops.c index d721f368..2f9f5296 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, vm_size_t amount) + mach_msg_type_number_t * datalen, vm_size_t amount) { error_t err; pthread_mutex_t *lock; @@ -128,7 +128,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, +S_pci_conf_write (struct protid * master, int reg, const char *data, mach_msg_type_number_t datalen, vm_size_t * amount) { error_t err; @@ -182,7 +182,7 @@ S_pci_get_ndevs (struct protid * master, mach_msg_type_number_t * amount) * regions in the given device. */ error_t -S_pci_get_dev_regions (struct protid * master, char **data, size_t * datalen) +S_pci_get_dev_regions (struct protid * master, char **data, mach_msg_type_number_t * datalen) { error_t err; struct pcifs_dirent *e; @@ -233,7 +233,7 @@ S_pci_get_dev_regions (struct protid * master, char **data, size_t * datalen) * Return in `data' the information about the expansion rom of the given device */ error_t -S_pci_get_dev_rom (struct protid * master, char **data, size_t * datalen) +S_pci_get_dev_rom (struct protid * master, char **data, mach_msg_type_number_t * datalen) { error_t err; struct pcifs_dirent *e; |