From 71cf9e62427230ebc0ddd68a206b261952dffc57 Mon Sep 17 00:00:00 2001 From: Fabien Chouteau Date: Tue, 30 Aug 2011 17:46:26 +0200 Subject: openpic: Memory API conversion for mpic This patch converts mpic to the new memory API (through old mmio). Signed-off-by: Fabien Chouteau Signed-off-by: Avi Kivity --- hw/openpic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/openpic.h') 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__ */ -- cgit v1.1