Statistics
| Branch: | Revision:

root / hw / mips.h @ 416343b1

History | View | Annotate | Download (897 Bytes)

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 87ecb68b pbrook
/* jazz_led.c */
12 64b85a8f Blue Swirl
void jazz_led_init(target_phys_addr_t base);
13 87ecb68b pbrook
14 4ce7ff6e aurel32
/* rc4030.c */
15 c6945b15 aurel32
typedef struct rc4030DMAState *rc4030_dma;
16 c227f099 Anthony Liguori
void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);
17 68238a9e aurel32
void rc4030_dma_read(void *dma, uint8_t *buf, int len);
18 68238a9e aurel32
void rc4030_dma_write(void *dma, uint8_t *buf, int len);
19 68238a9e aurel32
20 68238a9e aurel32
void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
21 68238a9e aurel32
                  qemu_irq **irqs, rc4030_dma **dmas);
22 4ce7ff6e aurel32
23 a65f56ee aurel32
/* dp8393x.c */
24 c227f099 Anthony Liguori
void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
25 a65f56ee aurel32
                  qemu_irq irq, void* mem_opaque,
26 c227f099 Anthony Liguori
                  void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
27 a65f56ee aurel32
28 87ecb68b pbrook
#endif