2
0

mips.h 942 B

1234567891011121314151617181920212223242526272829
  1. #ifndef HW_MIPS_H
  2. #define HW_MIPS_H
  3. /* Definitions for mips board emulation. */
  4. #include "memory.h"
  5. /* gt64xxx.c */
  6. PCIBus *gt64120_register(qemu_irq *pic);
  7. /* bonito.c */
  8. PCIBus *bonito_init(qemu_irq *pic);
  9. /* rc4030.c */
  10. typedef struct rc4030DMAState *rc4030_dma;
  11. void rc4030_dma_memory_rw(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);
  12. void rc4030_dma_read(void *dma, uint8_t *buf, int len);
  13. void rc4030_dma_write(void *dma, uint8_t *buf, int len);
  14. void *rc4030_init(qemu_irq timer, qemu_irq jazz_bus,
  15. qemu_irq **irqs, rc4030_dma **dmas,
  16. MemoryRegion *sysmem);
  17. /* dp8393x.c */
  18. void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
  19. MemoryRegion *address_space,
  20. qemu_irq irq, void* mem_opaque,
  21. void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write));
  22. #endif