Statistics
| Branch: | Revision:

root / hw / mips.h @ d2c5efd8

History | View | Annotate | Download (1.2 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 87ecb68b pbrook
PCIBus *pci_gt64120_init(qemu_irq *pic);
7 87ecb68b pbrook
8 87ecb68b pbrook
/* ds1225y.c */
9 c227f099 Anthony Liguori
void *ds1225y_init(target_phys_addr_t mem_base, const char *filename);
10 02cb1585 aurel32
void ds1225y_set_protection(void *opaque, int protection);
11 87ecb68b pbrook
12 4ce7ff6e aurel32
/* g364fb.c */
13 c227f099 Anthony Liguori
int g364fb_mm_init(target_phys_addr_t vram_base,
14 c227f099 Anthony Liguori
                   target_phys_addr_t ctrl_base, int it_shift,
15 0add30cf aurel32
                   qemu_irq irq);
16 4ce7ff6e aurel32
17 87ecb68b pbrook
/* mipsnet.c */
18 87ecb68b pbrook
void mipsnet_init(int base, qemu_irq irq, NICInfo *nd);
19 87ecb68b pbrook
20 87ecb68b pbrook
/* jazz_led.c */
21 c227f099 Anthony Liguori
extern void jazz_led_init(target_phys_addr_t base);
22 87ecb68b pbrook
23 4ce7ff6e aurel32
/* rc4030.c */
24 c6945b15 aurel32
typedef struct rc4030DMAState *rc4030_dma;
25 c227f099 Anthony Liguori
void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);
26 68238a9e aurel32
void rc4030_dma_read(void *dma, uint8_t *buf, int len);
27 68238a9e aurel32
void rc4030_dma_write(void *dma, uint8_t *buf, int len);
28 68238a9e aurel32
29 68238a9e aurel32
void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
30 68238a9e aurel32
                  qemu_irq **irqs, rc4030_dma **dmas);
31 4ce7ff6e aurel32
32 a65f56ee aurel32
/* dp8393x.c */
33 c227f099 Anthony Liguori
void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
34 a65f56ee aurel32
                  qemu_irq irq, void* mem_opaque,
35 c227f099 Anthony Liguori
                  void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
36 a65f56ee aurel32
37 87ecb68b pbrook
#endif