1#ifndef HW_MCF_H
2#define HW_MCF_H
3
4
5struct MemoryRegion;
6
7
8uint64_t mcf_uart_read(void *opaque, hwaddr addr,
9 unsigned size);
10void mcf_uart_write(void *opaque, hwaddr addr,
11 uint64_t val, unsigned size);
12void *mcf_uart_init(qemu_irq irq, CharDriverState *chr);
13void mcf_uart_mm_init(struct MemoryRegion *sysmem,
14 hwaddr base,
15 qemu_irq irq, CharDriverState *chr);
16
17
18qemu_irq *mcf_intc_init(struct MemoryRegion *sysmem,
19 hwaddr base,
20 M68kCPU *cpu);
21
22
23void mcf_fec_init(struct MemoryRegion *sysmem, NICInfo *nd,
24 hwaddr base, qemu_irq *irq);
25
26
27qemu_irq *mcf5206_init(struct MemoryRegion *sysmem,
28 uint32_t base, M68kCPU *cpu);
29
30#endif
31