aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc_prep.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-08-10 15:28:11 -0700
committerAvi Kivity <avi@redhat.com>2011-09-25 14:58:35 +0300
commitc2d0d01202e07f87bf17ec9a9f43232c982aa1c2 (patch)
tree0bee5a325c0abea6c0b97aed121d5bfa0641bbf9 /hw/ppc_prep.c
parente11d64390ba076d8a293e422dad3027f9adb9430 (diff)
downloadqemu-c2d0d01202e07f87bf17ec9a9f43232c982aa1c2.zip
qemu-c2d0d01202e07f87bf17ec9a9f43232c982aa1c2.tar.gz
qemu-c2d0d01202e07f87bf17ec9a9f43232c982aa1c2.tar.bz2
isa: Pass i/o address space to isa_bus_new
Not used yet, but at least we're provided with the correct region. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r--hw/ppc_prep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index 515de42..f9325bd 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -651,7 +651,7 @@ static void ppc_prep_init (ram_addr_t ram_size,
i8259 = i8259_init(first_cpu->irq_inputs[PPC6xx_INPUT_INT]);
pci_bus = pci_prep_init(i8259, get_system_memory(), get_system_io());
/* Hmm, prep has no pci-isa bridge ??? */
- isa_bus_new(NULL);
+ isa_bus_new(NULL, get_system_io());
isa_bus_irqs(i8259);
// pci_bus = i440fx_init();
/* Register 8 MB of ISA IO space (needed for non-contiguous map) */