blob: 91f2821f1f2eb158dc811cb0b625be205fcfa359 [file] [log] [blame]
pbrook87ecb682007-11-17 17:14:51 +00001#ifndef HW_MCF_H
2#define HW_MCF_H
3/* Motorola ColdFire device prototypes. */
4
5/* mcf_uart.c */
Anthony Liguoric227f092009-10-01 16:12:16 -05006uint32_t mcf_uart_read(void *opaque, target_phys_addr_t addr);
7void mcf_uart_write(void *opaque, target_phys_addr_t addr, uint32_t val);
pbrook87ecb682007-11-17 17:14:51 +00008void *mcf_uart_init(qemu_irq irq, CharDriverState *chr);
Anthony Liguoric227f092009-10-01 16:12:16 -05009void mcf_uart_mm_init(target_phys_addr_t base, qemu_irq irq,
pbrook87ecb682007-11-17 17:14:51 +000010 CharDriverState *chr);
11
12/* mcf_intc.c */
Anthony Liguoric227f092009-10-01 16:12:16 -050013qemu_irq *mcf_intc_init(target_phys_addr_t base, CPUState *env);
pbrook87ecb682007-11-17 17:14:51 +000014
15/* mcf_fec.c */
Anthony Liguoric227f092009-10-01 16:12:16 -050016void mcf_fec_init(NICInfo *nd, target_phys_addr_t base, qemu_irq *irq);
pbrook87ecb682007-11-17 17:14:51 +000017
18/* mcf5206.c */
19qemu_irq *mcf5206_init(uint32_t base, CPUState *env);
20
21#endif