kvm: build: Make "make sync" get correct header files with latest Linux source
[kvm-userspace.git] / qemu / hw / etraxfs_dma.h
blob27719aeae4d1bd785fa5e5deaedf1828dd7a14c7
1 struct etraxfs_dma_client
3 /* DMA controller. */
4 int channel;
5 void *ctrl;
7 /* client. */
8 struct
10 int (*push)(void *opaque, unsigned char *buf, int len);
11 void (*pull)(void *opaque);
12 void *opaque;
13 } client;
16 void *etraxfs_dmac_init(CPUState *env, target_phys_addr_t base,
17 int nr_channels);
18 void etraxfs_dmac_connect(void *opaque, int channel, qemu_irq *line,
19 int input);
20 void etraxfs_dmac_connect_client(void *opaque, int c,
21 struct etraxfs_dma_client *cl);
22 void etraxfs_dmac_run(void *opaque);
23 int etraxfs_dmac_input(struct etraxfs_dma_client *client,
24 void *buf, int len, int eop);