mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06:00

Convert the existing includes with sed -i ,exec/memory.h,system/memory.h,g Move the include within cpu-all.h into a !CONFIG_USER_ONLY block. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
22 lines
525 B
C
22 lines
525 B
C
#ifndef HW_MIPS_H
|
|
#define HW_MIPS_H
|
|
/* Definitions for mips board emulation. */
|
|
|
|
#include "qemu/units.h"
|
|
|
|
/* Kernels can be configured with 64KB pages */
|
|
#define INITRD_PAGE_SIZE (64 * KiB)
|
|
|
|
#include "system/memory.h"
|
|
|
|
/* bonito.c */
|
|
PCIBus *bonito_init(qemu_irq *pic);
|
|
|
|
/* rc4030.c */
|
|
typedef struct rc4030DMAState *rc4030_dma;
|
|
void rc4030_dma_read(void *dma, uint8_t *buf, int len);
|
|
void rc4030_dma_write(void *dma, uint8_t *buf, int len);
|
|
|
|
DeviceState *rc4030_init(rc4030_dma **dmas, IOMMUMemoryRegion **dma_mr);
|
|
|
|
#endif
|