diff options
-rw-r--r-- | hw/esp.c | 8 | ||||
-rw-r--r-- | hw/esp.h | 6 |
2 files changed, 7 insertions, 7 deletions
@@ -77,8 +77,8 @@ struct ESPState { uint8_t *async_buf; uint32_t async_len; - espdma_memory_read_write dma_memory_read; - espdma_memory_read_write dma_memory_write; + ESPDMAMemoryReadWriteFunc dma_memory_read; + ESPDMAMemoryReadWriteFunc dma_memory_write; void *dma_opaque; }; @@ -635,8 +635,8 @@ static const VMStateDescription vmstate_esp = { }; 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, + ESPDMAMemoryReadWriteFunc dma_memory_read, + ESPDMAMemoryReadWriteFunc dma_memory_write, void *dma_opaque, qemu_irq irq, qemu_irq *reset) { DeviceState *dev; @@ -3,10 +3,10 @@ /* esp.c */ #define ESP_MAX_DEVS 7 -typedef void (*espdma_memory_read_write)(void *opaque, uint8_t *buf, int len); +typedef void (*ESPDMAMemoryReadWriteFunc)(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, + ESPDMAMemoryReadWriteFunc dma_memory_read, + ESPDMAMemoryReadWriteFunc dma_memory_write, void *dma_opaque, qemu_irq irq, qemu_irq *reset); #endif |