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