dma/rc4030: use AddressSpace and address_space_rw in users
[qemu.git] / include / hw / mips / mips.h
blob47eb31f31c9012994e135fe5e8d9361ce6efaa63
1 #ifndef HW_MIPS_H
2 #define HW_MIPS_H
3 /* Definitions for mips board emulation. */
5 /* Kernels can be configured with 64KB pages */
6 #define INITRD_PAGE_MASK (~((1 << 16) - 1))
8 #include "exec/memory.h"
10 /* gt64xxx.c */
11 PCIBus *gt64120_register(qemu_irq *pic);
13 /* bonito.c */
14 PCIBus *bonito_init(qemu_irq *pic);
16 /* rc4030.c */
17 typedef struct rc4030DMAState *rc4030_dma;
18 void rc4030_dma_read(void *dma, uint8_t *buf, int len);
19 void rc4030_dma_write(void *dma, uint8_t *buf, int len);
21 MemoryRegion *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
22 qemu_irq **irqs, rc4030_dma **dmas,
23 MemoryRegion *sysmem);
25 /* dp8393x.c */
26 void dp83932_init(NICInfo *nd, hwaddr base, int it_shift,
27 MemoryRegion *address_space,
28 qemu_irq irq, MemoryRegion *dma_mr);
30 #endif