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
|
|
|
|
typedef void (*espdma_memory_read_write)(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,
|
2009-05-14 23:35:07 +02:00
|
|
|
espdma_memory_read_write dma_memory_read,
|
|
|
|
espdma_memory_read_write dma_memory_write,
|
|
|
|
void *dma_opaque, qemu_irq irq, qemu_irq *reset);
|
2009-11-26 15:33:47 +01:00
|
|
|
|
|
|
|
#endif
|