Merge remote-tracking branch 'aneesh/for-upstream' into staging
[qemu-kvm.git] / hw / esp.h
blob62bfd4d129c927ccf1a751996581b976dc1592e7
1 #ifndef QEMU_HW_ESP_H
2 #define QEMU_HW_ESP_H
4 /* esp.c */
5 #define ESP_MAX_DEVS 7
6 typedef void (*ESPDMAMemoryReadWriteFunc)(void *opaque, uint8_t *buf, int len);
7 void esp_init(target_phys_addr_t espaddr, int it_shift,
8 ESPDMAMemoryReadWriteFunc dma_memory_read,
9 ESPDMAMemoryReadWriteFunc dma_memory_write,
10 void *dma_opaque, qemu_irq irq, qemu_irq *reset,
11 qemu_irq *dma_enable);
13 #endif