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