root / hw / mcf.h @ 47ce9ef7
History | View | Annotate | Download (977 Bytes)
1 | 87ecb68b | pbrook | #ifndef HW_MCF_H
|
---|---|---|---|
2 | 87ecb68b | pbrook | #define HW_MCF_H
|
3 | 87ecb68b | pbrook | /* Motorola ColdFire device prototypes. */
|
4 | 87ecb68b | pbrook | |
5 | 653fa85c | Benoît Canet | struct MemoryRegion;
|
6 | 653fa85c | Benoît Canet | |
7 | 87ecb68b | pbrook | /* mcf_uart.c */
|
8 | aa6e4986 | Benoît Canet | uint64_t mcf_uart_read(void *opaque, target_phys_addr_t addr,
|
9 | aa6e4986 | Benoît Canet | unsigned size);
|
10 | aa6e4986 | Benoît Canet | void mcf_uart_write(void *opaque, target_phys_addr_t addr, |
11 | aa6e4986 | Benoît Canet | uint64_t val, unsigned size);
|
12 | 87ecb68b | pbrook | void *mcf_uart_init(qemu_irq irq, CharDriverState *chr);
|
13 | aa6e4986 | Benoît Canet | void mcf_uart_mm_init(struct MemoryRegion *sysmem, |
14 | aa6e4986 | Benoît Canet | target_phys_addr_t base, |
15 | aa6e4986 | Benoît Canet | qemu_irq irq, CharDriverState *chr); |
16 | 87ecb68b | pbrook | |
17 | 87ecb68b | pbrook | /* mcf_intc.c */
|
18 | 663d9446 | Benoît Canet | qemu_irq *mcf_intc_init(struct MemoryRegion *sysmem,
|
19 | 663d9446 | Benoît Canet | target_phys_addr_t base, |
20 | 7927df3a | Andreas Färber | CPUM68KState *env); |
21 | 87ecb68b | pbrook | |
22 | 87ecb68b | pbrook | /* mcf_fec.c */
|
23 | c65fc1df | Benoît Canet | void mcf_fec_init(struct MemoryRegion *sysmem, NICInfo *nd, |
24 | c65fc1df | Benoît Canet | target_phys_addr_t base, qemu_irq *irq); |
25 | 87ecb68b | pbrook | |
26 | 87ecb68b | pbrook | /* mcf5206.c */
|
27 | 653fa85c | Benoît Canet | qemu_irq *mcf5206_init(struct MemoryRegion *sysmem,
|
28 | 7927df3a | Andreas Färber | uint32_t base, CPUM68KState *env); |
29 | 87ecb68b | pbrook | |
30 | 87ecb68b | pbrook | #endif |