Revision d3231181 dma-helpers.c

b/dma-helpers.c
18 18
    qsg->size = 0;
19 19
}
20 20

  
21
void qemu_sglist_add(QEMUSGList *qsg, target_phys_addr_t base,
22
                     target_phys_addr_t len)
21
void qemu_sglist_add(QEMUSGList *qsg, dma_addr_t base, dma_addr_t len)
23 22
{
24 23
    if (qsg->nsg == qsg->nalloc) {
25 24
        qsg->nalloc = 2 * qsg->nalloc + 1;
......
45 44
    bool to_dev;
46 45
    bool in_cancel;
47 46
    int sg_cur_index;
48
    target_phys_addr_t sg_cur_byte;
47
    dma_addr_t sg_cur_byte;
49 48
    QEMUIOVector iov;
50 49
    QEMUBH *bh;
51 50
    DMAIOFunc *io_func;

Also available in: Unified diff