summaryrefslogtreecommitdiff
path: root/hw/esp.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-10-30 09:53:59 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-09 08:43:03 -0600
commit1cd3af54801e18ec02884eb7249b50e842dae1be (patch)
tree4478f9303a6c862463c9745b1ca42af084796cd8 /hw/esp.h
parentfafce63d992d34468eca1aea7ae63b12a5209ae4 (diff)
downloadqemu-1cd3af54801e18ec02884eb7249b50e842dae1be.tar.gz
scsi: move scsi.h -> esp.h
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/esp.h')
-rw-r--r--hw/esp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/esp.h b/hw/esp.h
new file mode 100644
index 0000000000..369998f838
--- /dev/null
+++ b/hw/esp.h
@@ -0,0 +1,7 @@
+/* esp.c */
+#define ESP_MAX_DEVS 7
+typedef void (*espdma_memory_read_write)(void *opaque, uint8_t *buf, int len);
+void esp_init(target_phys_addr_t espaddr, int it_shift,
+ espdma_memory_read_write dma_memory_read,
+ espdma_memory_read_write dma_memory_write,
+ void *dma_opaque, qemu_irq irq, qemu_irq *reset);