pub fn identity_map_dma(phys_addr: u64, size: usize) -> KernelResult<u64>Expand description
Create an identity mapping for a DMA region.
In identity mapping mode, DMA addresses equal physical addresses. This is the simplest IOMMU configuration and is used as a first step before full page-table-based translation is implemented.
Returns the DMA address (equal to phys_addr in identity mapping mode).