ostd/mm/dma/
mod.rs

1// SPDX-License-Identifier: MPL-2.0
2
3//! Direct Memory Access (DMA).
4//!
5//! This module provides [`DmaCoherent`] and [`DmaStream`] abstractions for
6//! managing DMA memory regions with different remapping, caching and
7//! synchronization requirements.
8
9#[cfg(ktest)]
10mod test;
11
12mod dma_coherent;
13mod dma_stream;
14mod util;
15
16pub use dma_coherent::DmaCoherent;
17pub use dma_stream::{DmaDirection, DmaStream, FromAndToDevice, FromDevice, ToDevice};