diff options
Diffstat (limited to 'hw/esp.h')
-rw-r--r-- | hw/esp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/esp.h b/hw/esp.h new file mode 100644 index 0000000000..369998f838 --- /dev/null +++ b/hw/esp.h @@ -0,0 +1,7 @@ +/* esp.c */ +#define ESP_MAX_DEVS 7 +typedef void (*espdma_memory_read_write)(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, + void *dma_opaque, qemu_irq irq, qemu_irq *reset); |