Fix warnings when compiling hppa-dis.c
[qemu/hppa.git] / hw / mips.h
blob84d5792f2e06586dfe44b99d73e45aa9b9abad15
1 #ifndef HW_MIPS_H
2 #define HW_MIPS_H
3 /* Definitions for mips board emulation. */
5 /* gt64xxx.c */
6 PCIBus *pci_gt64120_init(qemu_irq *pic);
8 /* ds1225y.c */
9 void *ds1225y_init(target_phys_addr_t mem_base, const char *filename);
10 void ds1225y_set_protection(void *opaque, int protection);
12 /* g364fb.c */
13 int g364fb_mm_init(uint8_t *vram, ram_addr_t vram_offset,
14 int vram_size, target_phys_addr_t vram_base,
15 target_phys_addr_t ctrl_base, int it_shift,
16 qemu_irq irq);
18 /* mipsnet.c */
19 void mipsnet_init(int base, qemu_irq irq, NICInfo *nd);
21 /* jazz_led.c */
22 extern void jazz_led_init(target_phys_addr_t base);
24 /* mips_int.c */
25 extern void cpu_mips_irq_init_cpu(CPUState *env);
27 /* mips_timer.c */
28 extern void cpu_mips_clock_init(CPUState *);
30 /* rc4030.c */
31 typedef struct rc4030DMAState *rc4030_dma;
32 typedef void (*rc4030_dma_function)(void *dma, uint8_t *buf, int len);
33 qemu_irq *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
34 rc4030_dma **dmas,
35 rc4030_dma_function *dma_read, rc4030_dma_function *dma_write);
37 #endif