Struct page_table_entry::riscv::Rv64PTE
source · pub struct Rv64PTE(/* private fields */);
Expand description
Sv39 and Sv48 page table entry for RV64 systems.
Trait Implementations§
source§impl GenericPTE for Rv64PTE
Available on RISC-V RV32 or RISC-V RV64 only.
impl GenericPTE for Rv64PTE
Available on RISC-V RV32 or RISC-V RV64 only.
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_fault_page(_flags: MappingFlags, _is_huge: bool) -> Self
fn new_fault_page(_flags: MappingFlags, _is_huge: bool) -> Self
Creates a fault page table entry.
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 Rv64PTE
Available on RISC-V RV32 or RISC-V RV64 only.
Auto Trait Implementations§
impl RefUnwindSafe for Rv64PTE
impl Send for Rv64PTE
impl Sync for Rv64PTE
impl Unpin for Rv64PTE
impl UnwindSafe for Rv64PTE
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