pub struct Stage2Pte(/* private fields */);Available on AArch64 only.
Expand description
AArch64 stage-two descriptor for a non-FWB translation regime.
Trait Implementations§
impl Copy for Stage2Pte
Source§impl PageTableEntry for Stage2Pte
impl PageTableEntry for Stage2Pte
Source§type PteConfig = MappingFlags
type PteConfig = MappingFlags
Configuration understood by this concrete PTE format.
Source§fn new_page(paddr: HostPhysAddr, config: Self::PteConfig, is_huge: bool) -> Self
fn new_page(paddr: HostPhysAddr, config: Self::PteConfig, is_huge: bool) -> Self
Creates a leaf or block entry.
Source§fn new_table(paddr: HostPhysAddr) -> Self
fn new_table(paddr: HostPhysAddr) -> Self
Creates an entry that points to a child page-table frame.
Source§fn paddr(&self, _is_dir: bool) -> HostPhysAddr
fn paddr(&self, _is_dir: bool) -> HostPhysAddr
Returns the physical address encoded by this entry. Read more
Source§fn config(&self, _is_dir: bool) -> Self::PteConfig
fn config(&self, _is_dir: bool) -> Self::PteConfig
Decodes the owner-defined leaf configuration.
Source§fn present(&self) -> bool
fn present(&self) -> bool
Returns whether this entry participates in address translation. Read more
Source§fn huge(&self, is_dir: bool) -> bool
fn huge(&self, is_dir: bool) -> bool
Returns whether this entry is a block mapping at the current level. Read more
Auto Trait Implementations§
impl Freeze for Stage2Pte
impl RefUnwindSafe for Stage2Pte
impl Send for Stage2Pte
impl Sync for Stage2Pte
impl Unpin for Stage2Pte
impl UnsafeUnpin for Stage2Pte
impl UnwindSafe for Stage2Pte
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