pub struct LA64PTE(/* private fields */);
Available on LoongArch LA64 only.
Expand description
page table entry for loongarch64 system
Implementations§
Trait Implementations§
Source§impl GenericPTE for LA64PTE
impl GenericPTE for LA64PTE
Source§fn new_page(paddr: PhysAddr, flags: MappingFlags, is_huge: bool) -> Self
fn new_page(paddr: PhysAddr, flags: MappingFlags, is_huge: bool) -> Self
Creates a page table entry point to a terminate page or block.
Source§fn new_table(paddr: PhysAddr) -> Self
fn new_table(paddr: PhysAddr) -> Self
Creates a page table entry point to a next level page table.
Source§fn flags(&self) -> MappingFlags
fn flags(&self) -> MappingFlags
Returns the flags of this entry.
Source§fn set_flags(&mut self, flags: MappingFlags, is_huge: bool)
fn set_flags(&mut self, flags: MappingFlags, is_huge: bool)
Set flags of the entry.
Source§fn is_present(&self) -> bool
fn is_present(&self) -> bool
Returns whether this entry flag indicates present.
impl Copy for LA64PTE
Auto Trait Implementations§
impl Freeze for LA64PTE
impl RefUnwindSafe for LA64PTE
impl Send for LA64PTE
impl Sync for LA64PTE
impl Unpin for LA64PTE
impl UnwindSafe for LA64PTE
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