pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 1 | #ifndef HW_MCF_H |
| 2 | #define HW_MCF_H |
| 3 | /* Motorola ColdFire device prototypes. */ |
| 4 | |
| 5 | /* mcf_uart.c */ |
Anthony Liguori | c227f09 | 2009-10-01 16:12:16 -0500 | [diff] [blame] | 6 | uint32_t mcf_uart_read(void *opaque, target_phys_addr_t addr); |
| 7 | void mcf_uart_write(void *opaque, target_phys_addr_t addr, uint32_t val); |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 8 | void *mcf_uart_init(qemu_irq irq, CharDriverState *chr); |
Anthony Liguori | c227f09 | 2009-10-01 16:12:16 -0500 | [diff] [blame] | 9 | void mcf_uart_mm_init(target_phys_addr_t base, qemu_irq irq, |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 10 | CharDriverState *chr); |
| 11 | |
| 12 | /* mcf_intc.c */ |
Anthony Liguori | c227f09 | 2009-10-01 16:12:16 -0500 | [diff] [blame] | 13 | qemu_irq *mcf_intc_init(target_phys_addr_t base, CPUState *env); |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 14 | |
| 15 | /* mcf_fec.c */ |
Anthony Liguori | c227f09 | 2009-10-01 16:12:16 -0500 | [diff] [blame] | 16 | void mcf_fec_init(NICInfo *nd, target_phys_addr_t base, qemu_irq *irq); |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 17 | |
| 18 | /* mcf5206.c */ |
| 19 | qemu_irq *mcf5206_init(uint32_t base, CPUState *env); |
| 20 | |
| 21 | #endif |