aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hw/esp.c8
-rw-r--r--hw/esp.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/hw/esp.c b/hw/esp.c
index 87da2a690..0a8cf6e9f 100644
--- a/hw/esp.c
+++ b/hw/esp.c
@@ -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;
diff --git a/hw/esp.h b/hw/esp.h
index 190bc2e26..605f95375 100644
--- a/hw/esp.h
+++ b/hw/esp.h
@@ -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