72 l4re_ds_offset_t offset,
l4_uint64_t l4re_dma_space_dma_addr_t
Data type for DMA addresses.
l4re_dma_space_direction
Direction of the DMA transfers.
@ L4RE_DMA_SPACE_BIDIRECTIONAL
device reads and writes to the memory
@ L4RE_DMA_SPACE_NONE
device is coherently connected
@ L4RE_DMA_SPACE_TO_DEVICE
device reads the memory
@ L4RE_DMA_SPACE_FROM_DEVICE
device writes to the memory
l4re_dma_space_space_attribs
Attributes assigned to the DMA space when associated with a specific device.
@ L4RE_DMA_SPACE_PHYS_SPACE
The DMA space has no DMA task assigned and uses the CPUs physical memory.
@ L4RE_DMA_SPACE_COHERENT
The device is connected coherently with the cache.
long l4re_dma_space_disassociate(l4re_dma_space_t dma)
Disassociate the (kernel) DMA space from this Dma_space.
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.
l4_cap_idx_t l4re_dma_space_t
DMA space capability type.
long l4re_dma_space_associate(l4re_dma_space_t dma, l4_cap_idx_t dma_task, unsigned long attr) L4_NOTHROW
Associate a (kernel) DMA space for a device to this Dma_space.
long l4re_dma_space_map(l4re_dma_space_t dma, l4re_ds_t src, l4re_ds_offset_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.
l4_cap_idx_t l4re_ds_t
Dataspace type.
unsigned int l4_size_t
Unsigned size type.
unsigned long long l4_uint64_t
Unsigned 64bit value.
unsigned long l4_cap_idx_t
Capability selector type.
#define L4_CV
Define calling convention.
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
#define EXTERN_C_BEGIN
Start section with C types and functions.
#define EXTERN_C_END
End section with C types and functions.
Common L4 ABI Data Types.