mirror of
https://github.com/xemu-project/xemu.git
synced 2025-01-31 09:02:37 +00:00
esp: use CamelCaseFunc for function types
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
b96ae2da0b
commit
ff9868ecaa
8
hw/esp.c
8
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;
|
||||
|
6
hw/esp.h
6
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user