aboutsummaryrefslogtreecommitdiff
path: root/hw/openpic.h
diff options
context:
space:
mode:
authorFabien Chouteau <chouteau@adacore.com>2011-08-30 17:46:26 +0200
committerAvi Kivity <avi@redhat.com>2011-10-02 16:14:02 +0200
commit71cf9e62427230ebc0ddd68a206b261952dffc57 (patch)
treec3b30e840118e8f677fdea2e6f5757c17c1ddd72 /hw/openpic.h
parent5a95b51dd834462ed2ba82f6cf149b0cf5640ba4 (diff)
downloadqemu-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/openpic.h')
-rw-r--r--hw/openpic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/openpic.h b/hw/openpic.h
index 75de361..715f084 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__ */