diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-09-02 11:37:02 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-09-15 11:49:50 +0300 |
commit | 438640695723f33be6d0081ac1e690aa40975c39 (patch) | |
tree | c19e421b79b0141f298befb84cb967b6f35efd91 /include | |
parent | c5a22c4344f17169bb20e122e9d935c62aedc063 (diff) | |
download | qemu-438640695723f33be6d0081ac1e690aa40975c39.zip qemu-438640695723f33be6d0081ac1e690aa40975c39.tar.gz qemu-438640695723f33be6d0081ac1e690aa40975c39.tar.bz2 |
pci: add helper to retrieve the 64-bit range
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/pci/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index 37979aa..4b90e5d 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -397,6 +397,7 @@ const char *pci_root_bus_path(PCIDevice *dev); PCIDevice *pci_find_device(PCIBus *bus, int bus_num, uint8_t devfn); int pci_qdev_find_device(const char *id, PCIDevice **pdev); PCIBus *pci_get_bus_devfn(int *devfnp, PCIBus *root, const char *devaddr); +void pci_bus_get_w64_range(PCIBus *bus, Range *range); int pci_parse_devaddr(const char *addr, int *domp, int *busp, unsigned int *slotp, unsigned int *funcp); |