Fix cpuid KVM crash on i386 (Lubomir Rintel)
[sniper_test.git] / hw / mcf.h
blob91f2821f1f2eb158dc811cb0b625be205fcfa359
1 #ifndef HW_MCF_H
2 #define HW_MCF_H
3 /* Motorola ColdFire device prototypes. */
5 /* mcf_uart.c */
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);
8 void *mcf_uart_init(qemu_irq irq, CharDriverState *chr);
9 void mcf_uart_mm_init(target_phys_addr_t base, qemu_irq irq,
10 CharDriverState *chr);
12 /* mcf_intc.c */
13 qemu_irq *mcf_intc_init(target_phys_addr_t base, CPUState *env);
15 /* mcf_fec.c */
16 void mcf_fec_init(NICInfo *nd, target_phys_addr_t base, qemu_irq *irq);
18 /* mcf5206.c */
19 qemu_irq *mcf5206_init(uint32_t base, CPUState *env);
21 #endif