pub struct AcpiRoots {
pub rsdp_addr: u64,
pub xsdt_addr: Option<u64>,
pub rsdt_addr: Option<u64>,
}Fields§
§rsdp_addr: u64§xsdt_addr: Option<u64>§rsdt_addr: Option<u64>Implementations§
Source§impl AcpiRoots
impl AcpiRoots
Sourcepub unsafe fn parse(map: &impl PhysMapRo, rsdp_addr: u64) -> Option<Self>
pub unsafe fn parse(map: &impl PhysMapRo, rsdp_addr: u64) -> Option<Self>
Validate the RSDP/XSDP from the physical address.
§Safety
This function validates that the provided address is non-zero (i.e., not null).
It validates the supported ACPI 1.0/2.0 variants by revision and checksum/extended checksum.
Auto Trait Implementations§
impl Freeze for AcpiRoots
impl RefUnwindSafe for AcpiRoots
impl Send for AcpiRoots
impl Sync for AcpiRoots
impl Unpin for AcpiRoots
impl UnwindSafe for AcpiRoots
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