Struct page_table::riscv::Sv48MetaData
source · pub struct Sv48MetaData;
Expand description
Metadata of RISC-V Sv48 page tables.
Trait Implementations§
source§impl Clone for Sv48MetaData
Available on RISC-V RV32 or RISC-V RV64 only.
impl Clone for Sv48MetaData
Available on RISC-V RV32 or RISC-V RV64 only.
source§fn clone(&self) -> Sv48MetaData
fn clone(&self) -> Sv48MetaData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PagingMetaData for Sv48MetaData
Available on RISC-V RV32 or RISC-V RV64 only.
impl PagingMetaData for Sv48MetaData
Available on RISC-V RV32 or RISC-V RV64 only.
source§const PA_MAX_BITS: usize = 56usize
const PA_MAX_BITS: usize = 56usize
The maximum number of bits of physical address.
source§const VA_MAX_BITS: usize = 48usize
const VA_MAX_BITS: usize = 48usize
The maximum number of bits of virtual address.
source§const PA_MAX_ADDR: usize = _
const PA_MAX_ADDR: usize = _
The maximum physical address.
source§fn paddr_is_valid(paddr: usize) -> bool
fn paddr_is_valid(paddr: usize) -> bool
Whether a given physical address is valid.
source§fn vaddr_is_valid(vaddr: usize) -> bool
fn vaddr_is_valid(vaddr: usize) -> bool
Whether a given virtual address is valid.
impl Copy for Sv48MetaData
Available on RISC-V RV32 or RISC-V RV64 only.
Auto Trait Implementations§
impl RefUnwindSafe for Sv48MetaData
impl Send for Sv48MetaData
impl Sync for Sv48MetaData
impl Unpin for Sv48MetaData
impl UnwindSafe for Sv48MetaData
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