summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael S. Tsirkin2013-09-02 10:37:02 +0200
committerMichael S. Tsirkin2013-09-15 10:49:50 +0200
commit438640695723f33be6d0081ac1e690aa40975c39 (patch)
treec19e421b79b0141f298befb84cb967b6f35efd91 /include
parentrange: add min/max operations on ranges (diff)
downloadqemu-438640695723f33be6d0081ac1e690aa40975c39.tar.gz
qemu-438640695723f33be6d0081ac1e690aa40975c39.tar.xz
qemu-438640695723f33be6d0081ac1e690aa40975c39.zip
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h
index 37979aa723..4b90e5d00b 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);