aboutsummaryrefslogtreecommitdiff
path: root/hw/mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mips.h')
-rw-r--r--hw/mips.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/mips.h b/hw/mips.h
index 1ebb107dbc..589be9da97 100644
--- a/hw/mips.h
+++ b/hw/mips.h
@@ -27,6 +27,10 @@ extern void cpu_mips_irq_init_cpu(CPUState *env);
extern void cpu_mips_clock_init(CPUState *);
/* rc4030.c */
-qemu_irq *rc4030_init(qemu_irq timer, qemu_irq jazz_bus);
+typedef struct rc4030DMAState *rc4030_dma;
+typedef void (*rc4030_dma_function)(void *dma, uint8_t *buf, int len);
+qemu_irq *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
+ rc4030_dma **dmas,
+ rc4030_dma_function *dma_read, rc4030_dma_function *dma_write);
#endif