]>
Commit | Line | Data |
---|---|---|
1 | #ifndef HW_MCF_H | |
2 | #define HW_MCF_H | |
3 | /* Motorola ColdFire device prototypes. */ | |
4 | ||
5 | struct MemoryRegion; | |
6 | ||
7 | /* mcf_uart.c */ | |
8 | uint64_t mcf_uart_read(void *opaque, target_phys_addr_t addr, | |
9 | unsigned size); | |
10 | void mcf_uart_write(void *opaque, target_phys_addr_t addr, | |
11 | uint64_t val, unsigned size); | |
12 | void *mcf_uart_init(qemu_irq irq, CharDriverState *chr); | |
13 | void mcf_uart_mm_init(struct MemoryRegion *sysmem, | |
14 | target_phys_addr_t base, | |
15 | qemu_irq irq, CharDriverState *chr); | |
16 | ||
17 | /* mcf_intc.c */ | |
18 | qemu_irq *mcf_intc_init(struct MemoryRegion *sysmem, | |
19 | target_phys_addr_t base, | |
20 | CPUM68KState *env); | |
21 | ||
22 | /* mcf_fec.c */ | |
23 | void mcf_fec_init(struct MemoryRegion *sysmem, NICInfo *nd, | |
24 | target_phys_addr_t base, qemu_irq *irq); | |
25 | ||
26 | /* mcf5206.c */ | |
27 | qemu_irq *mcf5206_init(struct MemoryRegion *sysmem, | |
28 | uint32_t base, CPUM68KState *env); | |
29 | ||
30 | #endif |