summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-09-02 11:37:02 +0300
committerMichael S. Tsirkin <mst@redhat.com>2013-09-15 11:49:50 +0300
commit438640695723f33be6d0081ac1e690aa40975c39 (patch)
treec19e421b79b0141f298befb84cb967b6f35efd91 /include
parentc5a22c4344f17169bb20e122e9d935c62aedc063 (diff)
downloadhqemu-438640695723f33be6d0081ac1e690aa40975c39.zip
hqemu-438640695723f33be6d0081ac1e690aa40975c39.tar.gz
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 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);
OpenPOWER on IntegriCloud