3 /* Definitions for mips board emulation. */
6 PCIBus
*pci_gt64120_init(qemu_irq
*pic
);
9 void *ds1225y_init(target_phys_addr_t mem_base
, const char *filename
);
10 void ds1225y_set_protection(void *opaque
, int protection
);
13 int g364fb_mm_init(target_phys_addr_t vram_base
,
14 target_phys_addr_t ctrl_base
, int it_shift
,
18 void mipsnet_init(int base
, qemu_irq irq
, NICInfo
*nd
);
21 extern void jazz_led_init(target_phys_addr_t base
);
24 uint64_t cpu_mips_kseg0_to_phys(void *opaque
, uint64_t addr
);
25 uint64_t cpu_mips_phys_to_kseg0(void *opaque
, uint64_t addr
);
28 extern void cpu_mips_irq_init_cpu(CPUState
*env
);
31 extern void cpu_mips_clock_init(CPUState
*);
34 typedef struct rc4030DMAState
*rc4030_dma
;
35 void rc4030_dma_memory_rw(void *opaque
, target_phys_addr_t addr
, uint8_t *buf
, int len
, int is_write
);
36 void rc4030_dma_read(void *dma
, uint8_t *buf
, int len
);
37 void rc4030_dma_write(void *dma
, uint8_t *buf
, int len
);
39 void *rc4030_init(qemu_irq timer
, qemu_irq jazz_bus
,
40 qemu_irq
**irqs
, rc4030_dma
**dmas
);
43 void dp83932_init(NICInfo
*nd
, target_phys_addr_t base
, int it_shift
,
44 qemu_irq irq
, void* mem_opaque
,
45 void (*memory_rw
)(void *opaque
, target_phys_addr_t addr
, uint8_t *buf
, int len
, int is_write
));