diff options
Diffstat (limited to 'hw/pci.c')
-rw-r--r-- | hw/pci.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2165,3 +2165,8 @@ int pci_qdev_find_device(const char *id, PCIDevice **pdev) return rc; } + +MemoryRegion *pci_address_space(PCIDevice *dev) +{ + return dev->bus->address_space_mem; +} |