pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 1 | #ifndef HW_MIPS_H |
| 2 | #define HW_MIPS_H |
| 3 | /* Definitions for mips board emulation. */ |
| 4 | |
| 5 | /* gt64xxx.c */ |
Aurelien Jarno | c2dd2a2 | 2011-01-19 23:10:40 +0100 | [diff] [blame] | 6 | PCIBus *gt64120_register(qemu_irq *pic); |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 7 | |
Huacai Chen | d0f7453 | 2010-06-29 10:48:55 +0800 | [diff] [blame] | 8 | /* bonito.c */ |
| 9 | PCIBus *bonito_init(qemu_irq *pic); |
| 10 | |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 11 | /* jazz_led.c */ |
Blue Swirl | 64b85a8 | 2011-01-23 16:21:20 +0000 | [diff] [blame] | 12 | void jazz_led_init(target_phys_addr_t base); |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 13 | |
aurel32 | 4ce7ff6 | 2008-04-07 19:47:14 +0000 | [diff] [blame] | 14 | /* rc4030.c */ |
aurel32 | c6945b1 | 2009-01-01 13:03:36 +0000 | [diff] [blame] | 15 | typedef struct rc4030DMAState *rc4030_dma; |
Anthony Liguori | c227f09 | 2009-10-01 16:12:16 -0500 | [diff] [blame] | 16 | void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write); |
aurel32 | 68238a9 | 2009-04-10 21:26:55 +0000 | [diff] [blame] | 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); |
aurel32 | 4ce7ff6 | 2008-04-07 19:47:14 +0000 | [diff] [blame] | 22 | |
aurel32 | a65f56e | 2009-04-15 14:57:54 +0000 | [diff] [blame] | 23 | /* dp8393x.c */ |
Anthony Liguori | c227f09 | 2009-10-01 16:12:16 -0500 | [diff] [blame] | 24 | void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift, |
aurel32 | a65f56e | 2009-04-15 14:57:54 +0000 | [diff] [blame] | 25 | qemu_irq irq, void* mem_opaque, |
Anthony Liguori | c227f09 | 2009-10-01 16:12:16 -0500 | [diff] [blame] | 26 | void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write)); |
aurel32 | a65f56e | 2009-04-15 14:57:54 +0000 | [diff] [blame] | 27 | |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 28 | #endif |