⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

init_iommu_unit

Function init_iommu_unit 

Source
pub fn init_iommu_unit(drhd: &DrhdUnit) -> KernelResult<IommuUnit>
Expand description

Initialize an IOMMU hardware unit from a parsed DRHD entry.

Reads capability registers from the MMIO region. Full translation enablement (root table pointer, global command register) requires MMIO mapping which is deferred until the VMM supports MMIO allocation.