udi_dma_mem_barrier(3udi)


Ordering barrier for accesses to DMA-able memory

SYNOPSIS

#include <udi.h>

void udi_dma_mem_barrier (

	udi_dma_handle_t dma_handle );
 

ARGUMENTS dma_handle is a DMA handle previously allocated by udi_dma_mem_alloc.

DESCRIPTION udi_dma_mem_barrier is used to impose ordering constraints between driver accesses to shared control structure memory allocated by udi_dma_mem_alloc.

This ensures that no loads or stores to the memory associated with dma_handle that are executed after the call to udi_dma_mem_barrier will be visible to the device until all prior loads or stores are visible.

REFERENCES udi_dma_mem_alloc, udi_dma_sync


UDI Physical I/O Specification Contents