summaryrefslogtreecommitdiff
path: root/hw/mcf.h
diff options
context:
space:
mode:
authorBenoît Canet <benoit.canet@gmail.com>2011-11-24 14:31:12 +0100
committerAvi Kivity <avi@redhat.com>2011-11-28 15:38:42 +0200
commit653fa85c9a626f48c92806e4e28c7ccebc05c43e (patch)
tree5c95d7ab8f1f1d13ae4f58109b9b3f4a969c5845 /hw/mcf.h
parent9244b42dea8208e57868ef5552c3be3f921ebd99 (diff)
downloadqemu-653fa85c9a626f48c92806e4e28c7ccebc05c43e.zip
mcf5206: convert to memory API
Signed-off-by: Benoît Canet <benoit.canet@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/mcf.h')
-rw-r--r--hw/mcf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/mcf.h b/hw/mcf.h
index 91f2821f1f..572424d09c 100644
--- a/hw/mcf.h
+++ b/hw/mcf.h
@@ -2,6 +2,8 @@
#define HW_MCF_H
/* Motorola ColdFire device prototypes. */
+struct MemoryRegion;
+
/* mcf_uart.c */
uint32_t mcf_uart_read(void *opaque, target_phys_addr_t addr);
void mcf_uart_write(void *opaque, target_phys_addr_t addr, uint32_t val);
@@ -16,6 +18,7 @@ qemu_irq *mcf_intc_init(target_phys_addr_t base, CPUState *env);
void mcf_fec_init(NICInfo *nd, target_phys_addr_t base, qemu_irq *irq);
/* mcf5206.c */
-qemu_irq *mcf5206_init(uint32_t base, CPUState *env);
+qemu_irq *mcf5206_init(struct MemoryRegion *sysmem,
+ uint32_t base, CPUState *env);
#endif