diff options
author | Fabien Chouteau <chouteau@adacore.com> | 2011-08-30 17:46:26 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-10-02 16:14:02 +0200 |
commit | 71cf9e62427230ebc0ddd68a206b261952dffc57 (patch) | |
tree | c3b30e840118e8f677fdea2e6f5757c17c1ddd72 /hw/ppce500_mpc8544ds.c | |
parent | 5a95b51dd834462ed2ba82f6cf149b0cf5640ba4 (diff) | |
download | qemu-71cf9e62427230ebc0ddd68a206b261952dffc57.zip qemu-71cf9e62427230ebc0ddd68a206b261952dffc57.tar.gz qemu-71cf9e62427230ebc0ddd68a206b261952dffc57.tar.bz2 |
openpic: Memory API conversion for mpic
This patch converts mpic to the new memory API (through old mmio).
Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/ppce500_mpc8544ds.c')
-rw-r--r-- | hw/ppce500_mpc8544ds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c index 274b37c..28acf0b 100644 --- a/hw/ppce500_mpc8544ds.c +++ b/hw/ppce500_mpc8544ds.c @@ -272,7 +272,7 @@ static void mpc8544ds_init(ram_addr_t ram_size, irqs = g_malloc0(sizeof(qemu_irq) * OPENPIC_OUTPUT_NB); irqs[OPENPIC_OUTPUT_INT] = ((qemu_irq *)env->irq_inputs)[PPCE500_INPUT_INT]; irqs[OPENPIC_OUTPUT_CINT] = ((qemu_irq *)env->irq_inputs)[PPCE500_INPUT_CINT]; - mpic = mpic_init(MPC8544_MPIC_REGS_BASE, 1, &irqs, NULL); + mpic = mpic_init(address_space_mem, MPC8544_MPIC_REGS_BASE, 1, &irqs, NULL); /* Serial */ if (serial_hds[0]) { |