#[repr(packed(1))]pub struct Rsdp { /* private fields */ }
Expand description
The Root System Descriptor Pointer, which contains the address of the RSDT (or XSDT), among other items.
Implementations§
source§impl Rsdp
impl Rsdp
sourcepub fn get_rsdp(
page_table: &mut PageTable
) -> Result<BorrowedMappedPages<Rsdp>, &'static str>
pub fn get_rsdp( page_table: &mut PageTable ) -> Result<BorrowedMappedPages<Rsdp>, &'static str>
Search for the RSDP in the BIOS memory area from 0xE_0000 to 0xF_FFFF. Returns the RSDP structure and the pages that are currently mapping it.
pub fn from_address( address: PhysicalAddress, page_table: &mut PageTable ) -> Result<BorrowedMappedPages<Rsdp>, &'static str>
sourcepub fn sdt_address(&self) -> PhysicalAddress
pub fn sdt_address(&self) -> PhysicalAddress
Returns the PhysicalAddress
of the RSDT or XSDT.
Trait Implementations§
impl Copy for Rsdp
impl FromBytes for Rsdp
Auto Trait Implementations§
impl RefUnwindSafe for Rsdp
impl Send for Rsdp
impl Sync for Rsdp
impl Unpin for Rsdp
impl UnwindSafe for Rsdp
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