root / hw / mips.h @ 44ae28f3
History | View | Annotate | Download (1.3 kB)
1 | 87ecb68b | pbrook | #ifndef HW_MIPS_H
|
---|---|---|---|
2 | 87ecb68b | pbrook | #define HW_MIPS_H
|
3 | 87ecb68b | pbrook | /* Definitions for mips board emulation. */
|
4 | 87ecb68b | pbrook | |
5 | 87ecb68b | pbrook | /* gt64xxx.c */
|
6 | 87ecb68b | pbrook | PCIBus *pci_gt64120_init(qemu_irq *pic); |
7 | 87ecb68b | pbrook | |
8 | d0f7453d | Huacai Chen | /* bonito.c */
|
9 | d0f7453d | Huacai Chen | PCIBus *bonito_init(qemu_irq *pic); |
10 | d0f7453d | Huacai Chen | |
11 | 87ecb68b | pbrook | /* ds1225y.c */
|
12 | c227f099 | Anthony Liguori | void *ds1225y_init(target_phys_addr_t mem_base, const char *filename); |
13 | 02cb1585 | aurel32 | void ds1225y_set_protection(void *opaque, int protection); |
14 | 87ecb68b | pbrook | |
15 | 4ce7ff6e | aurel32 | /* g364fb.c */
|
16 | c227f099 | Anthony Liguori | int g364fb_mm_init(target_phys_addr_t vram_base,
|
17 | c227f099 | Anthony Liguori | target_phys_addr_t ctrl_base, int it_shift,
|
18 | 0add30cf | aurel32 | qemu_irq irq); |
19 | 4ce7ff6e | aurel32 | |
20 | 87ecb68b | pbrook | /* mipsnet.c */
|
21 | 87ecb68b | pbrook | void mipsnet_init(int base, qemu_irq irq, NICInfo *nd); |
22 | 87ecb68b | pbrook | |
23 | 87ecb68b | pbrook | /* jazz_led.c */
|
24 | c227f099 | Anthony Liguori | extern void jazz_led_init(target_phys_addr_t base); |
25 | 87ecb68b | pbrook | |
26 | 4ce7ff6e | aurel32 | /* rc4030.c */
|
27 | c6945b15 | aurel32 | typedef struct rc4030DMAState *rc4030_dma; |
28 | c227f099 | Anthony Liguori | void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write); |
29 | 68238a9e | aurel32 | void rc4030_dma_read(void *dma, uint8_t *buf, int len); |
30 | 68238a9e | aurel32 | void rc4030_dma_write(void *dma, uint8_t *buf, int len); |
31 | 68238a9e | aurel32 | |
32 | 68238a9e | aurel32 | void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
|
33 | 68238a9e | aurel32 | qemu_irq **irqs, rc4030_dma **dmas); |
34 | 4ce7ff6e | aurel32 | |
35 | a65f56ee | aurel32 | /* dp8393x.c */
|
36 | c227f099 | Anthony Liguori | void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift, |
37 | a65f56ee | aurel32 | qemu_irq irq, void* mem_opaque,
|
38 | c227f099 | Anthony Liguori | void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write)); |
39 | a65f56ee | aurel32 | |
40 | 87ecb68b | pbrook | #endif |