mips.h 1.1 KB
Newer Older
P
pbrook 已提交
1 2 3 4 5
#ifndef HW_MIPS_H
#define HW_MIPS_H
/* Definitions for mips board emulation.  */

/* gt64xxx.c */
A
Aurelien Jarno 已提交
6
PCIBus *gt64120_register(qemu_irq *pic);
P
pbrook 已提交
7

8 9 10
/* bonito.c */
PCIBus *bonito_init(qemu_irq *pic);

A
aurel32 已提交
11
/* g364fb.c */
12
int g364fb_mm_init(target_phys_addr_t vram_base,
A
Anthony Liguori 已提交
13
                   target_phys_addr_t ctrl_base, int it_shift,
A
aurel32 已提交
14
                   qemu_irq irq);
A
aurel32 已提交
15

P
pbrook 已提交
16 17 18 19
/* mipsnet.c */
void mipsnet_init(int base, qemu_irq irq, NICInfo *nd);

/* jazz_led.c */
20
void jazz_led_init(target_phys_addr_t base);
P
pbrook 已提交
21

A
aurel32 已提交
22
/* rc4030.c */
23
typedef struct rc4030DMAState *rc4030_dma;
A
Anthony Liguori 已提交
24
void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);
A
aurel32 已提交
25 26 27 28 29
void rc4030_dma_read(void *dma, uint8_t *buf, int len);
void rc4030_dma_write(void *dma, uint8_t *buf, int len);

void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
                  qemu_irq **irqs, rc4030_dma **dmas);
A
aurel32 已提交
30

A
aurel32 已提交
31
/* dp8393x.c */
A
Anthony Liguori 已提交
32
void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
A
aurel32 已提交
33
                  qemu_irq irq, void* mem_opaque,
A
Anthony Liguori 已提交
34
                  void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
A
aurel32 已提交
35

P
pbrook 已提交
36
#endif