Statistics
| Branch: | Revision:

root / hw / mips.h @ b584726d

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 87ecb68b pbrook
/* gt64xxx.c */
6 87ecb68b pbrook
PCIBus *pci_gt64120_init(qemu_irq *pic);
7 87ecb68b pbrook
8 87ecb68b pbrook
/* ds1225y.c */
9 02cb1585 aurel32
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 b584726d pbrook
int g364fb_mm_init(int vram_size, target_phys_addr_t vram_base,
14 0add30cf aurel32
                   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 3023f332 aliguori
extern void jazz_led_init(target_phys_addr_t base);
22 87ecb68b pbrook
23 87ecb68b pbrook
/* mips_int.c */
24 87ecb68b pbrook
extern void cpu_mips_irq_init_cpu(CPUState *env);
25 87ecb68b pbrook
26 87ecb68b pbrook
/* mips_timer.c */
27 87ecb68b pbrook
extern void cpu_mips_clock_init(CPUState *);
28 87ecb68b pbrook
29 4ce7ff6e aurel32
/* rc4030.c */
30 c6945b15 aurel32
typedef struct rc4030DMAState *rc4030_dma;
31 c6945b15 aurel32
typedef void (*rc4030_dma_function)(void *dma, uint8_t *buf, int len);
32 c6945b15 aurel32
qemu_irq *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
33 c6945b15 aurel32
                      rc4030_dma **dmas,
34 c6945b15 aurel32
                      rc4030_dma_function *dma_read, rc4030_dma_function *dma_write);
35 4ce7ff6e aurel32
36 87ecb68b pbrook
#endif