pub struct ArchPagingMeta;Expand description
Page-table metadata for the active target architecture.
Trait Implementations§
Source§impl Clone for ArchPagingMeta
impl Clone for ArchPagingMeta
Source§fn clone(&self) -> ArchPagingMeta
fn clone(&self) -> ArchPagingMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ArchPagingMeta
Source§impl TableMeta for ArchPagingMeta
impl TableMeta for ArchPagingMeta
Source§const LEVEL_BITS: &'static [usize] = ARCH_LEVEL_BITS
const LEVEL_BITS: &'static [usize] = ARCH_LEVEL_BITS
各级索引位数数组,从最高级到最低级
Source§const MAX_BLOCK_LEVEL: usize = ARCH_MAX_BLOCK_LEVEL
const MAX_BLOCK_LEVEL: usize = ARCH_MAX_BLOCK_LEVEL
大页最高支持的级别
type P = X64Pte
Source§fn canonicalize_vaddr(vaddr: VirtAddr) -> VirtAddr
fn canonicalize_vaddr(vaddr: VirtAddr) -> VirtAddr
Converts an address reconstructed from page-table indexes into the
architecture’s virtual-address representation.
Source§const STRICT_ADDRESS_WIDTH: bool = false
const STRICT_ADDRESS_WIDTH: bool = false
Whether addresses must fit the address width described by [
LEVEL_BITS].Auto Trait Implementations§
impl Freeze for ArchPagingMeta
impl RefUnwindSafe for ArchPagingMeta
impl Send for ArchPagingMeta
impl Sync for ArchPagingMeta
impl Unpin for ArchPagingMeta
impl UnsafeUnpin for ArchPagingMeta
impl UnwindSafe for ArchPagingMeta
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