#[repr(C)]pub struct RawPTE(pub u64);
Tuple Fields§
§0: u64
Implementations§
source§impl RawPTE
impl RawPTE
pub fn new(data: u64) -> RawPTE
pub fn get_mut(&mut self) -> &mut Self
pub fn get(&self) -> u64
pub fn get_masked(&self, mask: u64) -> u64
pub fn get_masked_value(&self, mask: u64) -> u64
pub fn set(&mut self, val: u64) -> &mut Self
pub fn set_masked(&mut self, mask: u64, val: u64) -> &mut Self
pub fn set_masked_value(&mut self, mask: u64, val: u64) -> &mut Self
pub fn set_bits(&mut self, mask: u64) -> &mut Self
pub fn clear_bits(&mut self, mask: u64) -> &mut Self
pub const NS: u64 = 36_028_797_018_963_968u64
pub const XN: u64 = 18_014_398_509_481_984u64
pub const CONT: u64 = 4_503_599_627_370_496u64
pub const ADDR_BLK_L1: u64 = 281_473_902_968_832u64
pub const ADDR_BLK_L2: u64 = 281_474_974_613_504u64
pub const ADDR_TBL_OR_PAGE: u64 = 281_474_976_706_560u64
pub const AF: u64 = 1_024u64
pub const SH: u64 = 768u64
pub const S2AP: u64 = 192u64
pub const ATTR: u64 = 60u64
pub const TYPE: u64 = 2u64
pub const VALID: u64 = 1u64
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RawPTE
impl Send for RawPTE
impl Sync for RawPTE
impl Unpin for RawPTE
impl UnwindSafe for RawPTE
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