pub struct Sv39MetaData<VA: SvVirtAddr> { /* private fields */ }
Available on RISC-V RV32 or RISC-V RV64 only.
Expand description
Metadata of RISC-V Sv39 page tables.
Trait Implementations§
Source§impl<VA: SvVirtAddr> PagingMetaData for Sv39MetaData<VA>
impl<VA: SvVirtAddr> PagingMetaData for Sv39MetaData<VA>
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 = 39usize
const VA_MAX_BITS: usize = 39usize
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.
Auto Trait Implementations§
impl<VA> Freeze for Sv39MetaData<VA>
impl<VA> RefUnwindSafe for Sv39MetaData<VA>where
VA: RefUnwindSafe,
impl<VA> Send for Sv39MetaData<VA>
impl<VA> Sync for Sv39MetaData<VA>
impl<VA> Unpin for Sv39MetaData<VA>where
VA: Unpin,
impl<VA> UnwindSafe for Sv39MetaData<VA>where
VA: UnwindSafe,
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