diff options
author | Benoît Canet <benoit.canet@gmail.com> | 2011-11-24 14:31:12 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-28 15:38:42 +0200 |
commit | 653fa85c9a626f48c92806e4e28c7ccebc05c43e (patch) | |
tree | 5c95d7ab8f1f1d13ae4f58109b9b3f4a969c5845 /hw/mcf.h | |
parent | 9244b42dea8208e57868ef5552c3be3f921ebd99 (diff) | |
download | qemu-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |