pub struct Madt<'a>(/* private fields */);
Expand description
The MADT
ACPI table
Implementations§
Source§impl<'a> Madt<'a>
impl<'a> Madt<'a>
Sourcepub fn local_apic_address(&self) -> AcpiPhysicalAddress
pub fn local_apic_address(&self) -> AcpiPhysicalAddress
Gets the physical address of the system’s local APIC
Sourcepub fn header(&self) -> AcpiTableHeader<'_>
pub fn header(&self) -> AcpiTableHeader<'_>
Gets the table’s header
Sourcepub fn pcat_compatible(&self) -> bool
pub fn pcat_compatible(&self) -> bool
Whether the system also has a PC-AT-compatible dual-8259 setup
Sourcepub fn records(&'a self) -> impl Iterator<Item = MadtRecord<'_>> + 'a
pub fn records(&'a self) -> impl Iterator<Item = MadtRecord<'_>> + 'a
Gets an iterator over the records in the table
Source§impl<'a> Madt<'a>
impl<'a> Madt<'a>
Sourcepub fn io_apic_address(
&self,
) -> Result<AcpiPhysicalAddress, IoApicAddressFetchError>
pub fn io_apic_address( &self, ) -> Result<AcpiPhysicalAddress, IoApicAddressFetchError>
Returns the physical address of the IO APIC
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Madt<'a>
impl<'a> RefUnwindSafe for Madt<'a>
impl<'a> Send for Madt<'a>
impl<'a> Sync for Madt<'a>
impl<'a> Unpin for Madt<'a>
impl<'a> UnwindSafe for Madt<'a>
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