From aee97b840fd0362594c954af750491fafad66a3d Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 8 Aug 2011 16:09:04 +0300 Subject: 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 Reviewed-by: Anthony Liguori Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori --- hw/prep_pci.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hw/prep_pci.h') 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 -- cgit v1.2.3