diff options
Diffstat (limited to 'lib/libpciaccess/src/x86_pci.h')
-rw-r--r-- | lib/libpciaccess/src/x86_pci.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libpciaccess/src/x86_pci.h b/lib/libpciaccess/src/x86_pci.h index 22c9318e0..b550e3deb 100644 --- a/lib/libpciaccess/src/x86_pci.h +++ b/lib/libpciaccess/src/x86_pci.h @@ -63,10 +63,6 @@ int x86_enable_io(void); int x86_disable_io(void); void pci_system_x86_destroy(void); -int pci_device_x86_map_range(struct pci_device *dev, - struct pci_device_mapping *map); -int pci_device_x86_unmap_range(struct pci_device *dev, - struct pci_device_mapping *map); struct pci_io_handle *pci_device_x86_open_legacy_io(struct pci_io_handle *ret, struct pci_device *dev, pciaddr_t base, pciaddr_t size); void pci_device_x86_close_io(struct pci_device *dev, @@ -80,9 +76,7 @@ void pci_device_x86_write16(struct pci_io_handle *handle, uint32_t reg, uint16_t data); void pci_device_x86_write8(struct pci_io_handle *handle, uint32_t reg, uint8_t data); -int pci_device_x86_map_legacy(struct pci_device *dev, pciaddr_t base, - pciaddr_t size, unsigned map_flags, void **addr); -int pci_device_x86_unmap_legacy(struct pci_device *dev, void *addr, - pciaddr_t size); +int pci_system_x86_map_dev_mem(void **dest, size_t mem_offset, size_t mem_size, + int write); #endif /* X86_PCI_H */ |