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

parse_dmar

Function parse_dmar 

Source
pub fn parse_dmar(dmar_data: &[u8]) -> KernelResult<DmarInfo>
Expand description

Parse the ACPI DMAR table from raw bytes.

Walks the variable-length remapping structure entries and extracts DRHD (hardware unit) and RMRR (reserved memory) entries.