kvm: testsuite: add harness for real-mode tests in C
[qemu-kvm/fedora.git] / hw / sparc32_dma.h
blob00b892164be7bd226db3aac89551dd1222fe8bd3
1 #ifndef SPARC32_DMA_H
2 #define SPARC32_DMA_H
4 /* sparc32_dma.c */
5 void *sparc32_dma_init(target_phys_addr_t daddr, qemu_irq parent_irq,
6 void *iommu, qemu_irq **dev_irq, qemu_irq **reset);
7 void ledma_memory_read(void *opaque, target_phys_addr_t addr,
8 uint8_t *buf, int len, int do_bswap);
9 void ledma_memory_write(void *opaque, target_phys_addr_t addr,
10 uint8_t *buf, int len, int do_bswap);
11 void espdma_memory_read(void *opaque, uint8_t *buf, int len);
12 void espdma_memory_write(void *opaque, uint8_t *buf, int len);
14 #endif