mips.h 579 B

123456789101112131415161718192021222324
  1. #ifndef HW_MIPS_H
  2. #define HW_MIPS_H
  3. /* Definitions for mips board emulation. */
  4. /* Kernels can be configured with 64KB pages */
  5. #define INITRD_PAGE_MASK (~((1 << 16) - 1))
  6. #include "exec/memory.h"
  7. #include "hw/irq.h"
  8. /* gt64xxx.c */
  9. PCIBus *gt64120_register(qemu_irq *pic);
  10. /* bonito.c */
  11. PCIBus *bonito_init(qemu_irq *pic);
  12. /* rc4030.c */
  13. typedef struct rc4030DMAState *rc4030_dma;
  14. void rc4030_dma_read(void *dma, uint8_t *buf, int len);
  15. void rc4030_dma_write(void *dma, uint8_t *buf, int len);
  16. DeviceState *rc4030_init(rc4030_dma **dmas, MemoryRegion **dma_mr);
  17. #endif