Statistics
| Branch: | Revision:

root / hw / mips.h @ 64a7fde8

History | View | Annotate | Download (1.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 0add30cf aurel32
int g364fb_mm_init(uint8_t *vram, ram_addr_t vram_offset,
14 0add30cf aurel32
                   int vram_size, target_phys_addr_t vram_base,
15 0add30cf aurel32
                   target_phys_addr_t ctrl_base, int it_shift,
16 0add30cf aurel32
                   qemu_irq irq);
17 4ce7ff6e aurel32
18 87ecb68b pbrook
/* mipsnet.c */
19 87ecb68b pbrook
void mipsnet_init(int base, qemu_irq irq, NICInfo *nd);
20 87ecb68b pbrook
21 87ecb68b pbrook
/* jazz_led.c */
22 3023f332 aliguori
extern void jazz_led_init(target_phys_addr_t base);
23 87ecb68b pbrook
24 87ecb68b pbrook
/* mips_int.c */
25 87ecb68b pbrook
extern void cpu_mips_irq_init_cpu(CPUState *env);
26 87ecb68b pbrook
27 87ecb68b pbrook
/* mips_timer.c */
28 87ecb68b pbrook
extern void cpu_mips_clock_init(CPUState *);
29 87ecb68b pbrook
30 4ce7ff6e aurel32
/* rc4030.c */
31 c6945b15 aurel32
typedef struct rc4030DMAState *rc4030_dma;
32 c6945b15 aurel32
typedef void (*rc4030_dma_function)(void *dma, uint8_t *buf, int len);
33 c6945b15 aurel32
qemu_irq *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
34 c6945b15 aurel32
                      rc4030_dma **dmas,
35 c6945b15 aurel32
                      rc4030_dma_function *dma_read, rc4030_dma_function *dma_write);
36 4ce7ff6e aurel32
37 87ecb68b pbrook
#endif