aboutsummaryrefslogtreecommitdiff
path: root/hw/sparc32_dma.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-17 17:14:51 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-17 17:14:51 +0000
commit87ecb68bdf8a3e40ef885ddbb7ca1797dca40ebf (patch)
treef8c5c8eb6e34a6d492a9638d62489e7569f8b046 /hw/sparc32_dma.h
parent257514ddce752fe0b4aeb4b7957bc5661eadbef8 (diff)
downloadqemu-87ecb68bdf8a3e40ef885ddbb7ca1797dca40ebf.zip
qemu-87ecb68bdf8a3e40ef885ddbb7ca1797dca40ebf.tar.gz
qemu-87ecb68bdf8a3e40ef885ddbb7ca1797dca40ebf.tar.bz2
Break up vl.h.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sparc32_dma.h')
-rw-r--r--hw/sparc32_dma.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/hw/sparc32_dma.h b/hw/sparc32_dma.h
new file mode 100644
index 0000000..00b8921
--- /dev/null
+++ b/hw/sparc32_dma.h
@@ -0,0 +1,14 @@
+#ifndef SPARC32_DMA_H
+#define SPARC32_DMA_H
+
+/* sparc32_dma.c */
+void *sparc32_dma_init(target_phys_addr_t daddr, qemu_irq parent_irq,
+ void *iommu, qemu_irq **dev_irq, qemu_irq **reset);
+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