Struct page_table::x86_64::X64PagingMetaData
source · pub struct X64PagingMetaData;
Expand description
metadata of x86_64 page tables.
Trait Implementations§
source§impl PagingMetaData for X64PagingMetaData
Available on x86-64 only.
impl PagingMetaData for X64PagingMetaData
Available on x86-64 only.
source§const PA_MAX_BITS: usize = 52usize
const PA_MAX_BITS: usize = 52usize
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.
Auto Trait Implementations§
impl RefUnwindSafe for X64PagingMetaData
impl Send for X64PagingMetaData
impl Sync for X64PagingMetaData
impl Unpin for X64PagingMetaData
impl UnwindSafe for X64PagingMetaData
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