2009-11-26 17:33:47 +03:00
|
|
|
#ifndef QEMU_HW_ESP_H
|
|
|
|
#define QEMU_HW_ESP_H
|
|
|
|
|
2008-03-02 11:48:47 +03:00
|
|
|
/* esp.c */
|
|
|
|
#define ESP_MAX_DEVS 7
|
2010-02-07 12:17:35 +03:00
|
|
|
typedef void (*ESPDMAMemoryReadWriteFunc)(void *opaque, uint8_t *buf, int len);
|
2009-10-02 01:12:16 +04:00
|
|
|
void esp_init(target_phys_addr_t espaddr, int it_shift,
|
2010-02-07 12:17:35 +03:00
|
|
|
ESPDMAMemoryReadWriteFunc dma_memory_read,
|
|
|
|
ESPDMAMemoryReadWriteFunc dma_memory_write,
|
2009-05-15 01:35:07 +04:00
|
|
|
void *dma_opaque, qemu_irq irq, qemu_irq *reset);
|
2009-11-26 17:33:47 +03:00
|
|
|
|
|
|
|
#endif
|