diff options
author | Avi Kivity <avi@redhat.com> | 2011-08-08 16:09:04 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-08 10:15:53 -0500 |
commit | aee97b840fd0362594c954af750491fafad66a3d (patch) | |
tree | 38d92eebc7f845fece1358ef1aeecf6f9741d138 /hw/ppc_mac.h | |
parent | 309cb471c80e5909710d1ee3c3b50d481496d189 (diff) |
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/ppc_mac.h')
-rw-r--r-- | hw/ppc_mac.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/hw/ppc_mac.h b/hw/ppc_mac.h index 6fad20a745..25a227483f 100644 --- a/hw/ppc_mac.h +++ b/hw/ppc_mac.h @@ -55,11 +55,16 @@ qemu_irq *heathrow_pic_init(int *pmem_index, /* Grackle PCI */ PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic, - MemoryRegion *address_space); + MemoryRegion *address_space_mem, + MemoryRegion *address_space_io); /* UniNorth PCI */ -PCIBus *pci_pmac_init(qemu_irq *pic, MemoryRegion *address_space); -PCIBus *pci_pmac_u3_init(qemu_irq *pic, MemoryRegion *address_space); +PCIBus *pci_pmac_init(qemu_irq *pic, + MemoryRegion *address_space_mem, + MemoryRegion *address_space_io); +PCIBus *pci_pmac_u3_init(qemu_irq *pic, + MemoryRegion *address_space_mem, + MemoryRegion *address_space_io); /* Mac NVRAM */ typedef struct MacIONVRAMState MacIONVRAMState; |