long l4re_dma_space_unmap(l4re_dma_space_t dma, l4re_dma_space_dma_addr_t dma_addr, l4_size_t size, unsigned long attrs, enum l4re_dma_space_direction dir) L4_NOTHROW
Unmap the given part of this data space from the DMA address space.
unsigned int l4_size_t
Unsigned size type.
device reads and writes to the memory
Common L4 ABI Data Types.
#define EXTERN_C_END
End section with C types and functions.
l4re_dma_space_space_attribs
Attributes assigned to the DMA space when associated with a specific device.
unsigned long l4_cap_idx_t
L4 Capability selector Type.
l4re_dma_space_direction
Direction of the DMA transfers.
l4_uint64_t l4re_dma_space_dma_addr_t
Data type for DMA addresses.
long l4re_dma_space_disassociate(l4re_dma_space_t dma)
Disassociate the DMA task from this Dma_space.
l4_cap_idx_t l4re_ds_t
Dataspace type.
#define EXTERN_C_BEGIN
Start section with C types and functions.
device writes to the memory
#define L4_CV
Define calling convention.
unsigned long long l4_uint64_t
Unsigned 64bit value.
l4_cap_idx_t l4re_dma_space_t
DMA space capability type.
device is coherently connected
unsigned long l4_addr_t
Address type.
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
long l4re_dma_space_map(l4re_dma_space_t dma, l4re_ds_t src, l4_addr_t offset, l4_size_t *size, unsigned long attrs, enum l4re_dma_space_direction dir, l4re_dma_space_dma_addr_t *dma_addr) L4_NOTHROW
Map the given part of this data space into the DMA address space.
long l4re_dma_space_associate(l4re_dma_space_t dma, l4_cap_idx_t dma_task, unsigned long attr) L4_NOTHROW
Associate a DMA task for a device to this Dma_space.