blob: 6fa9a3ae7571636d22b4591b42c16b4c944ca3d7 [file] [log] [blame]
pbrook87ecb682007-11-17 17:14:51 +00001#ifndef HW_MIPS_H
2#define HW_MIPS_H
3/* Definitions for mips board emulation. */
4
5/* gt64xxx.c */
Aurelien Jarnoc2dd2a22011-01-19 23:10:40 +01006PCIBus *gt64120_register(qemu_irq *pic);
pbrook87ecb682007-11-17 17:14:51 +00007
Huacai Chend0f74532010-06-29 10:48:55 +08008/* bonito.c */
9PCIBus *bonito_init(qemu_irq *pic);
10
pbrook87ecb682007-11-17 17:14:51 +000011/* jazz_led.c */
Blue Swirl64b85a82011-01-23 16:21:20 +000012void jazz_led_init(target_phys_addr_t base);
pbrook87ecb682007-11-17 17:14:51 +000013
aurel324ce7ff62008-04-07 19:47:14 +000014/* rc4030.c */
aurel32c6945b12009-01-01 13:03:36 +000015typedef struct rc4030DMAState *rc4030_dma;
Anthony Liguoric227f092009-10-01 16:12:16 -050016void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);
aurel3268238a92009-04-10 21:26:55 +000017void rc4030_dma_read(void *dma, uint8_t *buf, int len);
18void rc4030_dma_write(void *dma, uint8_t *buf, int len);
19
20void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
21 qemu_irq **irqs, rc4030_dma **dmas);
aurel324ce7ff62008-04-07 19:47:14 +000022
aurel32a65f56e2009-04-15 14:57:54 +000023/* dp8393x.c */
Anthony Liguoric227f092009-10-01 16:12:16 -050024void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
aurel32a65f56e2009-04-15 14:57:54 +000025 qemu_irq irq, void* mem_opaque,
Anthony Liguoric227f092009-10-01 16:12:16 -050026 void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
aurel32a65f56e2009-04-15 14:57:54 +000027
pbrook87ecb682007-11-17 17:14:51 +000028#endif