summaryrefslogtreecommitdiff
path: root/dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'dma.h')
-rw-r--r--dma.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/dma.h b/dma.h
index f3bb275159..883d471b96 100644
--- a/dma.h
+++ b/dma.h
@@ -16,20 +16,20 @@
#include "block.h"
typedef struct {
- target_phys_addr_t base;
- target_phys_addr_t len;
+ a_target_phys_addr base;
+ a_target_phys_addr len;
} ScatterGatherEntry;
typedef struct {
ScatterGatherEntry *sg;
int nsg;
int nalloc;
- target_phys_addr_t size;
+ a_target_phys_addr size;
} QEMUSGList;
void qemu_sglist_init(QEMUSGList *qsg, int alloc_hint);
-void qemu_sglist_add(QEMUSGList *qsg, target_phys_addr_t base,
- target_phys_addr_t len);
+void qemu_sglist_add(QEMUSGList *qsg, a_target_phys_addr base,
+ a_target_phys_addr len);
void qemu_sglist_destroy(QEMUSGList *qsg);
BlockDriverAIOCB *dma_bdrv_read(BlockDriverState *bs,