Revision 84a69356

b/dma-helpers.c
235 235
{
236 236
    return dma_buf_rw(ptr, len, sg, 1);
237 237
}
238

  
239
void dma_acct_start(BlockDriverState *bs, BlockAcctCookie *cookie,
240
                    QEMUSGList *sg, enum BlockAcctType type)
241
{
242
    bdrv_acct_start(bs, cookie, sg->size, type);
243
}
b/dma.h
61 61
uint64_t dma_buf_read(uint8_t *ptr, int32_t len, QEMUSGList *sg);
62 62
uint64_t dma_buf_write(uint8_t *ptr, int32_t len, QEMUSGList *sg);
63 63

  
64
void dma_acct_start(BlockDriverState *bs, BlockAcctCookie *cookie,
65
                    QEMUSGList *sg, enum BlockAcctType type);
66

  
64 67
#endif

Also available in: Unified diff