virtio-serial: save/load: Ensure we have hot-plugged ports instantiated
[qemu/kraxel.git] / hw / esp.h
blob605f9537548aa6e8af052341a5fd0c7f4644b278
1 #ifndef QEMU_HW_ESP_H
2 #define QEMU_HW_ESP_H
4 /* esp.c */
5 #define ESP_MAX_DEVS 7
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);
12 #endif