Statistics
| Branch: | Revision:

root / hw / mips.h @ 416343b1

History | View | Annotate | Download (897 Bytes)

1
#ifndef HW_MIPS_H
2
#define HW_MIPS_H
3
/* Definitions for mips board emulation.  */
4

    
5
/* gt64xxx.c */
6
PCIBus *gt64120_register(qemu_irq *pic);
7

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

    
11
/* jazz_led.c */
12
void jazz_led_init(target_phys_addr_t base);
13

    
14
/* rc4030.c */
15
typedef struct rc4030DMAState *rc4030_dma;
16
void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);
17
void rc4030_dma_read(void *dma, uint8_t *buf, int len);
18
void rc4030_dma_write(void *dma, uint8_t *buf, int len);
19

    
20
void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
21
                  qemu_irq **irqs, rc4030_dma **dmas);
22

    
23
/* dp8393x.c */
24
void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
25
                  qemu_irq irq, void* mem_opaque,
26
                  void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
27

    
28
#endif