Statistics
| Branch: | Revision:

root / hw / mips.h @ 43997225

History | View | Annotate | Download (942 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 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 4ce7ff6e aurel32
/* rc4030.c */
14 c6945b15 aurel32
typedef struct rc4030DMAState *rc4030_dma;
15 c227f099 Anthony Liguori
void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);
16 68238a9e aurel32
void rc4030_dma_read(void *dma, uint8_t *buf, int len);
17 68238a9e aurel32
void rc4030_dma_write(void *dma, uint8_t *buf, int len);
18 68238a9e aurel32
19 68238a9e aurel32
void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
20 3054434d Avi Kivity
                  qemu_irq **irqs, rc4030_dma **dmas,
21 3054434d Avi Kivity
                  MemoryRegion *sysmem);
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 024e5bb6 Avi Kivity
                  MemoryRegion *address_space,
26 a65f56ee aurel32
                  qemu_irq irq, void* mem_opaque,
27 c227f099 Anthony Liguori
                  void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
28 a65f56ee aurel32
29 87ecb68b pbrook
#endif