Statistics
| Branch: | Revision:

root / hw / mips.h @ 8b92e298

History | View | Annotate | Download (1.1 kB)

1 87ecb68b pbrook
#ifndef HW_MIPS_H
2 87ecb68b pbrook
#define HW_MIPS_H
3 87ecb68b pbrook
/* Definitions for mips board emulation.  */
4 87ecb68b pbrook
5 87ecb68b pbrook
/* gt64xxx.c */
6 c2dd2a23 Aurelien Jarno
PCIBus *gt64120_register(qemu_irq *pic);
7 87ecb68b pbrook
8 d0f7453d Huacai Chen
/* bonito.c */
9 d0f7453d Huacai Chen
PCIBus *bonito_init(qemu_irq *pic);
10 d0f7453d Huacai Chen
11 4ce7ff6e aurel32
/* g364fb.c */
12 c227f099 Anthony Liguori
int g364fb_mm_init(target_phys_addr_t vram_base,
13 c227f099 Anthony Liguori
                   target_phys_addr_t ctrl_base, int it_shift,
14 0add30cf aurel32
                   qemu_irq irq);
15 4ce7ff6e aurel32
16 87ecb68b pbrook
/* mipsnet.c */
17 87ecb68b pbrook
void mipsnet_init(int base, qemu_irq irq, NICInfo *nd);
18 87ecb68b pbrook
19 87ecb68b pbrook
/* jazz_led.c */
20 64b85a8f Blue Swirl
void jazz_led_init(target_phys_addr_t base);
21 87ecb68b pbrook
22 4ce7ff6e aurel32
/* rc4030.c */
23 c6945b15 aurel32
typedef struct rc4030DMAState *rc4030_dma;
24 c227f099 Anthony Liguori
void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);
25 68238a9e aurel32
void rc4030_dma_read(void *dma, uint8_t *buf, int len);
26 68238a9e aurel32
void rc4030_dma_write(void *dma, uint8_t *buf, int len);
27 68238a9e aurel32
28 68238a9e aurel32
void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
29 68238a9e aurel32
                  qemu_irq **irqs, rc4030_dma **dmas);
30 4ce7ff6e aurel32
31 a65f56ee aurel32
/* dp8393x.c */
32 c227f099 Anthony Liguori
void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
33 a65f56ee aurel32
                  qemu_irq irq, void* mem_opaque,
34 c227f099 Anthony Liguori
                  void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
35 a65f56ee aurel32
36 87ecb68b pbrook
#endif