pub struct PagingConsts {}Trait Implementations§
Source§impl Clone for PagingConsts
impl Clone for PagingConsts
Source§impl Debug for PagingConsts
impl Debug for PagingConsts
Source§impl Default for PagingConsts
impl Default for PagingConsts
Source§fn default() -> PagingConsts
fn default() -> PagingConsts
Returns the “default value” for a type. Read more
Source§impl PagingConstsTrait for PagingConsts
impl PagingConstsTrait for PagingConsts
Source§open spec fn BASE_PAGE_SIZE_spec() -> usize
open spec fn BASE_PAGE_SIZE_spec() -> usize
{ 4096 }Source§proof fn lemma_BASE_PAGE_SIZE_properties()
proof fn lemma_BASE_PAGE_SIZE_properties()
ensures
0 < Self::BASE_PAGE_SIZE_spec(),is_pow2(Self::BASE_PAGE_SIZE_spec() as int),Source§exec fn BASE_PAGE_SIZE() -> res : usize
exec fn BASE_PAGE_SIZE() -> res : usize
ensures
res == Self::BASE_PAGE_SIZE_spec(),Source§open spec fn NR_LEVELS_spec() -> PagingLevel
open spec fn NR_LEVELS_spec() -> PagingLevel
{ 4 }Source§exec fn NR_LEVELS() -> res : PagingLevel
exec fn NR_LEVELS() -> res : PagingLevel
ensures
res == Self::NR_LEVELS_spec(),Source§open spec fn ADDRESS_WIDTH_spec() -> usize
open spec fn ADDRESS_WIDTH_spec() -> usize
{ 48 }Source§exec fn ADDRESS_WIDTH() -> res : usize
exec fn ADDRESS_WIDTH() -> res : usize
ensures
res == Self::ADDRESS_WIDTH_spec(),Source§open spec fn HIGHEST_TRANSLATION_LEVEL_spec() -> PagingLevel
open spec fn HIGHEST_TRANSLATION_LEVEL_spec() -> PagingLevel
{ 2 }Source§exec fn HIGHEST_TRANSLATION_LEVEL() -> res : PagingLevel
exec fn HIGHEST_TRANSLATION_LEVEL() -> res : PagingLevel
ensures
res == Self::HIGHEST_TRANSLATION_LEVEL_spec(),Source§open spec fn VA_SIGN_EXT_spec() -> bool
open spec fn VA_SIGN_EXT_spec() -> bool
{ true }Source§exec fn VA_SIGN_EXT() -> bool
exec fn VA_SIGN_EXT() -> bool
Source§open spec fn PTE_SIZE_spec() -> usize
open spec fn PTE_SIZE_spec() -> usize
{ 8 }Source§proof fn lemma_PTE_SIZE_properties()
proof fn lemma_PTE_SIZE_properties()
ensures
0 < Self::PTE_SIZE_spec() <= Self::BASE_PAGE_SIZE(),is_pow2(Self::PTE_SIZE_spec() as int),Auto Trait Implementations§
impl Freeze for PagingConsts
impl RefUnwindSafe for PagingConsts
impl Send for PagingConsts
impl Sync for PagingConsts
impl Unpin for PagingConsts
impl UnsafeUnpin for PagingConsts
impl UnwindSafe for PagingConsts
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