]>
Commit | Line | Data |
---|---|---|
87ecb68b PB |
1 | #ifndef HW_MCF_H |
2 | #define HW_MCF_H | |
3 | /* Motorola ColdFire device prototypes. */ | |
4 | ||
653fa85c BC |
5 | struct MemoryRegion; |
6 | ||
87ecb68b | 7 | /* mcf_uart.c */ |
aa6e4986 BC |
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); | |
87ecb68b | 12 | void *mcf_uart_init(qemu_irq irq, CharDriverState *chr); |
aa6e4986 BC |
13 | void mcf_uart_mm_init(struct MemoryRegion *sysmem, |
14 | target_phys_addr_t base, | |
15 | qemu_irq irq, CharDriverState *chr); | |
87ecb68b PB |
16 | |
17 | /* mcf_intc.c */ | |
663d9446 BC |
18 | qemu_irq *mcf_intc_init(struct MemoryRegion *sysmem, |
19 | target_phys_addr_t base, | |
7927df3a | 20 | CPUM68KState *env); |
87ecb68b PB |
21 | |
22 | /* mcf_fec.c */ | |
c65fc1df BC |
23 | void mcf_fec_init(struct MemoryRegion *sysmem, NICInfo *nd, |
24 | target_phys_addr_t base, qemu_irq *irq); | |
87ecb68b PB |
25 | |
26 | /* mcf5206.c */ | |
653fa85c | 27 | qemu_irq *mcf5206_init(struct MemoryRegion *sysmem, |
7927df3a | 28 | uint32_t base, CPUM68KState *env); |
87ecb68b PB |
29 | |
30 | #endif |