Skip to main content

Crate dma_buffer

Crate dma_buffer 

Source
Expand description

Safe wrappers around pinned and mapped DMA buffers for Fuchsia drivers.

Structs§

Buffer
Concrete type for DMA buffers providing cache management, pinned memory token lifecycle, and safe memory access backed by a mapped_vmo::Mapping.
ContiguousBuffer
A physically contiguous DMA buffer pinned to a Bti and mapped into a Vmar.
PagedBuffer
A paged DMA buffer consisting of one or more pinned pages that are contiguous in virtual memory (Mapping), but may be discontiguous in physical memory.
PhysIter
An iterator yielding (zx_paddr_t, usize) physical address and byte length pairs for a pinned DMA buffer.

Enums§

CacheOptions
Cache options for DMA buffers.