Barrelfish
Data Fields
dma_service_cb Struct Reference

Data Fields

errval_t(* connect )(void *arg, void **user_st)
 
errval_t(* addregion )(dma_svc_handle_t svc_handle, struct capref cap)
 
errval_t(* removeregion )(dma_svc_handle_t svc_handle, struct capref cap)
 
errval_t(* memcpy )(dma_svc_handle_t svc_handle, lpaddr_t dst, lpaddr_t src, size_t bytes, dma_req_id_t *id)
 

Detailed Description

DMA service callbacks called when the message event occurs if a callback is not set, this will trigger a not supported error in the client.

Field Documentation

errval_t(* dma_service_cb::addregion) (dma_svc_handle_t svc_handle, struct capref cap)

registers a memory region to be used

errval_t(* dma_service_cb::connect) (void *arg, void **user_st)

informs about the new connection on the service

errval_t(* dma_service_cb::memcpy) (dma_svc_handle_t svc_handle, lpaddr_t dst, lpaddr_t src, size_t bytes, dma_req_id_t *id)

execute a memcpy request

errval_t(* dma_service_cb::removeregion) (dma_svc_handle_t svc_handle, struct capref cap)

deregisters a memory region


The documentation for this struct was generated from the following file: