Add access control support to qemu bridge helper
[qemu.git] / hw / mips.h
1 #ifndef HW_MIPS_H
2 #define HW_MIPS_H
3 /* Definitions for mips board emulation. */
4
5 #include "memory.h"
6
7 /* gt64xxx.c */
8 PCIBus *gt64120_register(qemu_irq *pic);
9
10 /* bonito.c */
11 PCIBus *bonito_init(qemu_irq *pic);
12
13 /* jazz_led.c */
14 void jazz_led_init(MemoryRegion *address_space, target_phys_addr_t base);
15
16 /* rc4030.c */
17 typedef struct rc4030DMAState *rc4030_dma;
18 void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);
19 void rc4030_dma_read(void *dma, uint8_t *buf, int len);
20 void rc4030_dma_write(void *dma, uint8_t *buf, int len);
21
22 void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
23 qemu_irq **irqs, rc4030_dma **dmas,
24 MemoryRegion *sysmem);
25
26 /* dp8393x.c */
27 void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
28 MemoryRegion *address_space,
29 qemu_irq irq, void* mem_opaque,
30 void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
31
32 #endif