Implement cancellation method for dma async I/O (Avi Kivity)
[qemu-kvm/fedora.git] / hw / scsi.h
blob78ae768ab6b023d6daf488a8b1f09035224ea63d
1 /* esp.c */
2 #define ESP_MAX_DEVS 7
3 typedef void (*espdma_memory_read_write)(void *opaque, uint8_t *buf, int len);
4 void esp_scsi_attach(void *opaque, BlockDriverState *bd, int id);
5 void *esp_init(target_phys_addr_t espaddr, int it_shift,
6 espdma_memory_read_write dma_memory_read,
7 espdma_memory_read_write dma_memory_write,
8 void *dma_opaque, qemu_irq irq, qemu_irq *reset);