summaryrefslogtreecommitdiffstats
path: root/hw/prep_pci.h
diff options
context:
space:
mode:
authorAvi Kivity2011-08-08 15:09:04 +0200
committerAnthony Liguori2011-08-08 17:15:53 +0200
commitaee97b840fd0362594c954af750491fafad66a3d (patch)
tree38d92eebc7f845fece1358ef1aeecf6f9741d138 /hw/prep_pci.h
parentIntegrate I/O memory regions into qemu (diff)
downloadqemu-aee97b840fd0362594c954af750491fafad66a3d.tar.gz
qemu-aee97b840fd0362594c954af750491fafad66a3d.tar.xz
qemu-aee97b840fd0362594c954af750491fafad66a3d.zip
pci: pass I/O address space to new PCI bus
This lets us register BARs in the I/O address space. Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/prep_pci.h')
-rw-r--r--hw/prep_pci.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/prep_pci.h b/hw/prep_pci.h
index a27368b99b..b6b481a517 100644
--- a/hw/prep_pci.h
+++ b/hw/prep_pci.h
@@ -4,6 +4,8 @@
#include "qemu-common.h"
#include "memory.h"
-PCIBus *pci_prep_init(qemu_irq *pic, MemoryRegion *address_space);
+PCIBus *pci_prep_init(qemu_irq *pic,
+ MemoryRegion *address_space_mem,
+ MemoryRegion *address_space_io);
#endif