xref: /openbmc/qemu/include/hw/m68k/mcf.h (revision 709395f8)
1 #ifndef HW_MCF_H
2 #define HW_MCF_H
3 /* Motorola ColdFire device prototypes.  */
4 
5 #include "target/m68k/cpu-qom.h"
6 
7 /* mcf_uart.c */
8 uint64_t mcf_uart_read(void *opaque, hwaddr addr,
9                        unsigned size);
10 void mcf_uart_write(void *opaque, hwaddr addr,
11                     uint64_t val, unsigned size);
12 void *mcf_uart_init(qemu_irq irq, Chardev *chr);
13 void mcf_uart_mm_init(hwaddr base, qemu_irq irq, Chardev *chr);
14 
15 /* mcf_intc.c */
16 qemu_irq *mcf_intc_init(struct MemoryRegion *sysmem,
17                         hwaddr base,
18                         M68kCPU *cpu);
19 
20 /* mcf5206.c */
21 qemu_irq *mcf5206_init(struct MemoryRegion *sysmem,
22                        uint32_t base, M68kCPU *cpu);
23 
24 #endif
25