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/openpic.h | |
parent | 5a95b51dd834462ed2ba82f6cf149b0cf5640ba4 (diff) |
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/openpic.h')
-rw-r--r-- | hw/openpic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/openpic.h b/hw/openpic.h index 75de3616ad..715f0847bf 100644 --- a/hw/openpic.h +++ b/hw/openpic.h @@ -13,6 +13,6 @@ enum { qemu_irq *openpic_init (PCIBus *bus, MemoryRegion **pmem, int nb_cpus, qemu_irq **irqs, qemu_irq irq_out); -qemu_irq *mpic_init (target_phys_addr_t base, int nb_cpus, - qemu_irq **irqs, qemu_irq irq_out); +qemu_irq *mpic_init (MemoryRegion *address_space, target_phys_addr_t base, + int nb_cpus, qemu_irq **irqs, qemu_irq irq_out); #endif /* __OPENPIC_H__ */ |