root / hw / mips.h @ 84f15818
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 | 87ecb68b | pbrook | /* ds1225y.c */
|
9 | 02cb1585 | aurel32 | void *ds1225y_init(target_phys_addr_t mem_base, const char *filename); |
10 | 02cb1585 | aurel32 | void ds1225y_set_protection(void *opaque, int protection); |
11 | 87ecb68b | pbrook | |
12 | 4ce7ff6e | aurel32 | /* g364fb.c */
|
13 | fbe1b595 | Paul Brook | int g364fb_mm_init(target_phys_addr_t vram_base,
|
14 | 0add30cf | aurel32 | target_phys_addr_t ctrl_base, int it_shift,
|
15 | 0add30cf | aurel32 | qemu_irq irq); |
16 | 4ce7ff6e | aurel32 | |
17 | 87ecb68b | pbrook | /* mipsnet.c */
|
18 | 87ecb68b | pbrook | void mipsnet_init(int base, qemu_irq irq, NICInfo *nd); |
19 | 87ecb68b | pbrook | |
20 | 87ecb68b | pbrook | /* jazz_led.c */
|
21 | 3023f332 | aliguori | extern void jazz_led_init(target_phys_addr_t base); |
22 | 87ecb68b | pbrook | |
23 | 87ecb68b | pbrook | /* mips_int.c */
|
24 | 87ecb68b | pbrook | extern void cpu_mips_irq_init_cpu(CPUState *env); |
25 | 87ecb68b | pbrook | |
26 | 87ecb68b | pbrook | /* mips_timer.c */
|
27 | 87ecb68b | pbrook | extern void cpu_mips_clock_init(CPUState *); |
28 | 87ecb68b | pbrook | |
29 | 4ce7ff6e | aurel32 | /* rc4030.c */
|
30 | c6945b15 | aurel32 | typedef struct rc4030DMAState *rc4030_dma; |
31 | 68238a9e | aurel32 | void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write); |
32 | 68238a9e | aurel32 | void rc4030_dma_read(void *dma, uint8_t *buf, int len); |
33 | 68238a9e | aurel32 | void rc4030_dma_write(void *dma, uint8_t *buf, int len); |
34 | 68238a9e | aurel32 | |
35 | 68238a9e | aurel32 | void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
|
36 | 68238a9e | aurel32 | qemu_irq **irqs, rc4030_dma **dmas); |
37 | 4ce7ff6e | aurel32 | |
38 | a65f56ee | aurel32 | /* dp8393x.c */
|
39 | a65f56ee | aurel32 | void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift, |
40 | a65f56ee | aurel32 | qemu_irq irq, void* mem_opaque,
|
41 | a65f56ee | aurel32 | void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write)); |
42 | a65f56ee | aurel32 | |
43 | 87ecb68b | pbrook | #endif |