From 7c3743a6d1cf06fe5130628c9f39cc3c41128d22 Mon Sep 17 00:00:00 2001 From: Joan Lledó Date: Sat, 8 Jan 2022 13:15:37 +0100 Subject: pci-arbiter: Stop using deprecated region memory pointer Use a internal array of pointers instead * pci-arbiter/device_map.h: * Update device_map_region() prototype * Now it receives an output address as parameter * pci-arbiter/device_map.c: * Update device_map_region() definition to match the new prototype * Support for legacy mappings * When the base address is lower than 1 mb * pci-arbiter/func_files.c: * pci-arbiter/netfs_impl.c: * Update calls to device_map_region to match the new prototype * Use the internal array of pointers instead of region->memory * pci-arbiter/pcifs.h: * struct pcifs_dirent: Declare the internal array of pointers Message-Id: <20220108121537.6277-2-jlledom@mailfence.com> --- pci-arbiter/device_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pci-arbiter/device_map.h') diff --git a/pci-arbiter/device_map.h b/pci-arbiter/device_map.h index 9062e901..0d92650c 100644 --- a/pci-arbiter/device_map.h +++ b/pci-arbiter/device_map.h @@ -27,6 +27,6 @@ #include error_t device_map_region (struct pci_device *device, - struct pci_mem_region *region); + struct pci_mem_region *region, void **addr); #endif /* DEVICE_MAP_H */ -- cgit v1.2.3