Statistics
| Branch: | Revision:

root / hw / mips.h @ 0dad6c35

History | View | Annotate | Download (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 c6017850 Avi Kivity
#include "memory.h"
6 c6017850 Avi Kivity
7 87ecb68b pbrook
/* gt64xxx.c */
8 c2dd2a23 Aurelien Jarno
PCIBus *gt64120_register(qemu_irq *pic);
9 87ecb68b pbrook
10 d0f7453d Huacai Chen
/* bonito.c */
11 d0f7453d Huacai Chen
PCIBus *bonito_init(qemu_irq *pic);
12 d0f7453d Huacai Chen
13 87ecb68b pbrook
/* jazz_led.c */
14 c6017850 Avi Kivity
void jazz_led_init(MemoryRegion *address_space, target_phys_addr_t base);
15 87ecb68b pbrook
16 4ce7ff6e aurel32
/* rc4030.c */
17 c6945b15 aurel32
typedef struct rc4030DMAState *rc4030_dma;
18 c227f099 Anthony Liguori
void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);
19 68238a9e aurel32
void rc4030_dma_read(void *dma, uint8_t *buf, int len);
20 68238a9e aurel32
void rc4030_dma_write(void *dma, uint8_t *buf, int len);
21 68238a9e aurel32
22 68238a9e aurel32
void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
23 3054434d Avi Kivity
                  qemu_irq **irqs, rc4030_dma **dmas,
24 3054434d Avi Kivity
                  MemoryRegion *sysmem);
25 4ce7ff6e aurel32
26 a65f56ee aurel32
/* dp8393x.c */
27 c227f099 Anthony Liguori
void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
28 024e5bb6 Avi Kivity
                  MemoryRegion *address_space,
29 a65f56ee aurel32
                  qemu_irq irq, void* mem_opaque,
30 c227f099 Anthony Liguori
                  void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
31 a65f56ee aurel32
32 87ecb68b pbrook
#endif