diff options
author | Avi Kivity | 2011-08-08 15:09:04 +0200 |
---|---|---|
committer | Anthony Liguori | 2011-08-08 17:15:53 +0200 |
commit | aee97b840fd0362594c954af750491fafad66a3d (patch) | |
tree | 38d92eebc7f845fece1358ef1aeecf6f9741d138 /hw/ppc_newworld.c | |
parent | Integrate I/O memory regions into qemu (diff) | |
download | qemu-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/ppc_newworld.c')
-rw-r--r-- | hw/ppc_newworld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c index 2c0fae8ef3..94a21f9ecd 100644 --- a/hw/ppc_newworld.c +++ b/hw/ppc_newworld.c @@ -318,10 +318,10 @@ static void ppc_core99_init (ram_addr_t ram_size, pic = openpic_init(NULL, &pic_mem_index, smp_cpus, openpic_irqs, NULL); if (PPC_INPUT(env) == PPC_FLAGS_INPUT_970) { /* 970 gets a U3 bus */ - pci_bus = pci_pmac_u3_init(pic, get_system_memory()); + pci_bus = pci_pmac_u3_init(pic, get_system_memory(), get_system_io()); machine_arch = ARCH_MAC99_U3; } else { - pci_bus = pci_pmac_init(pic, get_system_memory()); + pci_bus = pci_pmac_init(pic, get_system_memory(), get_system_io()); machine_arch = ARCH_MAC99; } /* init basic PC hardware */ |