]> git.proxmox.com Git - qemu.git/blame - hw/mips.h
tcg-s390: Fix merge error in tgen_brcond
[qemu.git] / hw / mips.h
CommitLineData
87ecb68b
PB
1#ifndef HW_MIPS_H
2#define HW_MIPS_H
3/* Definitions for mips board emulation. */
4
022c62cb 5#include "exec/memory.h"
c6017850 6
87ecb68b 7/* gt64xxx.c */
c2dd2a23 8PCIBus *gt64120_register(qemu_irq *pic);
87ecb68b 9
d0f7453d
HC
10/* bonito.c */
11PCIBus *bonito_init(qemu_irq *pic);
12
4ce7ff6e 13/* rc4030.c */
c6945b15 14typedef struct rc4030DMAState *rc4030_dma;
a8170e5e 15void rc4030_dma_memory_rw(void *opaque, hwaddr addr, uint8_t *buf, int len, int is_write);
68238a9e
AJ
16void rc4030_dma_read(void *dma, uint8_t *buf, int len);
17void rc4030_dma_write(void *dma, uint8_t *buf, int len);
18
19void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
3054434d
AK
20 qemu_irq **irqs, rc4030_dma **dmas,
21 MemoryRegion *sysmem);
4ce7ff6e 22
a65f56ee 23/* dp8393x.c */
a8170e5e 24void dp83932_init(NICInfo *nd, hwaddr base, int it_shift,
024e5bb6 25 MemoryRegion *address_space,
a65f56ee 26 qemu_irq irq, void* mem_opaque,
a8170e5e 27 void (*memory_rw)(void *opaque, hwaddr addr, uint8_t *buf, int len, int is_write));
a65f56ee 28
87ecb68b 29#endif