vfio: simplify the conditional statements in vfio_msi_enable
[qemu/ar7.git] / include / hw / mips / mips.h
blob101799f7d3edcc978aae6952fed4c4abdb9ba852
1 #ifndef HW_MIPS_H
2 #define HW_MIPS_H
3 /* Definitions for mips board emulation. */
5 #include "qemu/units.h"
7 /* Kernels can be configured with 64KB pages */
8 #define INITRD_PAGE_SIZE (64 * KiB)
10 #include "exec/memory.h"
12 /* bonito.c */
13 PCIBus *bonito_init(qemu_irq *pic);
15 /* rc4030.c */
16 typedef struct rc4030DMAState *rc4030_dma;
17 void rc4030_dma_read(void *dma, uint8_t *buf, int len);
18 void rc4030_dma_write(void *dma, uint8_t *buf, int len);
20 DeviceState *rc4030_init(rc4030_dma **dmas, IOMMUMemoryRegion **dma_mr);
22 #endif