Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.7-20160617' into staging
[qemu/ar7.git] / include / hw / m68k / mcf.h
blob0f0d2288e63f2db2c244af20bae48bbae6ddeedb
1 #ifndef HW_MCF_H
2 #define HW_MCF_H
3 /* Motorola ColdFire device prototypes. */
5 #include "target-m68k/cpu-qom.h"
7 struct MemoryRegion;
9 /* mcf_uart.c */
10 uint64_t mcf_uart_read(void *opaque, hwaddr addr,
11 unsigned size);
12 void mcf_uart_write(void *opaque, hwaddr addr,
13 uint64_t val, unsigned size);
14 void *mcf_uart_init(qemu_irq irq, CharDriverState *chr);
15 void mcf_uart_mm_init(struct MemoryRegion *sysmem,
16 hwaddr base,
17 qemu_irq irq, CharDriverState *chr);
19 /* mcf_intc.c */
20 qemu_irq *mcf_intc_init(struct MemoryRegion *sysmem,
21 hwaddr base,
22 M68kCPU *cpu);
24 /* mcf_fec.c */
25 void mcf_fec_init(struct MemoryRegion *sysmem, NICInfo *nd,
26 hwaddr base, qemu_irq *irq);
28 /* mcf5206.c */
29 qemu_irq *mcf5206_init(struct MemoryRegion *sysmem,
30 uint32_t base, M68kCPU *cpu);
32 #endif