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