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
);