pub struct Dmar<'t> { /* private fields */ }
Expand description
A wrapper around the DMAR ACPI table ([DmarReporting
]),
which contains details about IOMMU configuration.
You most likely care about the Dmar::iter()
and Dmar::host_address_width()
methods.
Implementations§
source§impl<'t> Dmar<'t>
impl<'t> Dmar<'t>
sourcepub fn get(acpi_tables: &'t AcpiTables) -> Option<Dmar<'t>>
pub fn get(acpi_tables: &'t AcpiTables) -> Option<Dmar<'t>>
Finds the DMAR in the given AcpiTables
and returns a reference to it.
sourcepub fn host_address_width(&self) -> u8
pub fn host_address_width(&self) -> u8
Returns the maximum DMA physical addressability (in number of bits) supported by this machine.
Trait Implementations§
Auto Trait Implementations§
impl<'t> RefUnwindSafe for Dmar<'t>
impl<'t> Send for Dmar<'t>
impl<'t> Sync for Dmar<'t>
impl<'t> Unpin for Dmar<'t>
impl<'t> UnwindSafe for Dmar<'t>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more