Revision 59a703eb dma.h
b/dma.h | ||
---|---|---|
12 | 12 |
|
13 | 13 |
#include <stdio.h> |
14 | 14 |
#include "cpu.h" |
15 |
#include "block.h" |
|
15 | 16 |
|
16 | 17 |
typedef struct { |
17 | 18 |
target_phys_addr_t base; |
... | ... | |
30 | 31 |
target_phys_addr_t len); |
31 | 32 |
void qemu_sglist_destroy(QEMUSGList *qsg); |
32 | 33 |
|
34 |
BlockDriverAIOCB *dma_bdrv_read(BlockDriverState *bs, |
|
35 |
QEMUSGList *sg, uint64_t sector, |
|
36 |
BlockDriverCompletionFunc *cb, void *opaque); |
|
37 |
BlockDriverAIOCB *dma_bdrv_write(BlockDriverState *bs, |
|
38 |
QEMUSGList *sg, uint64_t sector, |
|
39 |
BlockDriverCompletionFunc *cb, void *opaque); |
|
40 |
|
|
33 | 41 |
#endif |
Also available in: Unified diff