2007-11-17 18:14:51 +01:00
|
|
|
#ifndef SPARC32_DMA_H
|
|
|
|
#define SPARC32_DMA_H
|
|
|
|
|
|
|
|
/* sparc32_dma.c */
|
|
|
|
void *sparc32_dma_init(target_phys_addr_t daddr, qemu_irq parent_irq,
|
2009-07-15 22:45:19 +02:00
|
|
|
void *iommu, qemu_irq *dev_irq, qemu_irq **reset);
|
2007-11-17 18:14:51 +01:00
|
|
|
void ledma_memory_read(void *opaque, target_phys_addr_t addr,
|
|
|
|
uint8_t *buf, int len, int do_bswap);
|
|
|
|
void ledma_memory_write(void *opaque, target_phys_addr_t addr,
|
|
|
|
uint8_t *buf, int len, int do_bswap);
|
|
|
|
void espdma_memory_read(void *opaque, uint8_t *buf, int len);
|
|
|
|
void espdma_memory_write(void *opaque, uint8_t *buf, int len);
|
|
|
|
|
|
|
|
#endif
|