pub struct ControlRegister3Pcid(/* private fields */);Expand description
The layout of CR3_PCID.
Implementations§
Source§impl ControlRegister3Pcid
impl ControlRegister3Pcid
Sourcepub const RSVD1_MASK: u64
pub const RSVD1_MASK: u64
Mask of all reserved-as-1 bits.
Sourcepub const RSVD0_MASK: u64
pub const RSVD0_MASK: u64
Mask of all reserved-as-0 bits.
Sourcepub const DEFAULT: u64
pub const DEFAULT: u64
The default value of the layout, combining all field defaults and reserved-as values.
Sourcepub const NOFLUSH_MASK: u64
pub const NOFLUSH_MASK: u64
Unshifted bitmask of noflush.
Sourcepub const NOFLUSH_SHIFT: usize = 63
pub const NOFLUSH_SHIFT: usize = 63
Bit shift (i.e., the low bit) of noflush.
Sourcepub const BASE_SHIFT: usize = 12
pub const BASE_SHIFT: usize = 12
Bit shift (i.e., the low bit) of base.
Sourcepub const PCID_SHIFT: usize = 0
pub const PCID_SHIFT: usize = 0
Bit shift (i.e., the low bit) of pcid.
Sourcepub const FIELDS: [FieldMetadata<u64>; 3]
pub const FIELDS: [FieldMetadata<u64>; 3]
Metadata of all named fields in the layout.
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new instance with reserved-as-1 bits set and
all other bits zeroed (i.e., with a value of
Self::RSVD1_MASK).
pub const fn bits(self) -> u64
Sourcepub const fn set_noflush(&mut self, value: bool) -> &mut Self
pub const fn set_noflush(&mut self, value: bool) -> &mut Self
Sets the value of ControlRegister3Pcid63.
Trait Implementations§
Source§impl Binary for ControlRegister3Pcid
impl Binary for ControlRegister3Pcid
Source§impl Clone for ControlRegister3Pcid
impl Clone for ControlRegister3Pcid
Source§fn clone(&self) -> ControlRegister3Pcid
fn clone(&self) -> ControlRegister3Pcid
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlRegister3Pcid
Source§impl Debug for ControlRegister3Pcid
impl Debug for ControlRegister3Pcid
Source§impl Default for ControlRegister3Pcid
impl Default for ControlRegister3Pcid
Source§fn default() -> Self
fn default() -> Self
Returns an instance with the default bits set (i.e,. with a
value of Self::DEFAULT.
impl Eq for ControlRegister3Pcid
Source§impl From<ControlRegister3Pcid> for u64
impl From<ControlRegister3Pcid> for u64
Source§fn from(value: ControlRegister3Pcid) -> Self
fn from(value: ControlRegister3Pcid) -> Self
Converts to this type from the input type.
Source§impl From<u64> for ControlRegister3Pcid
impl From<u64> for ControlRegister3Pcid
Source§impl IntoIterator for ControlRegister3Pcid
impl IntoIterator for ControlRegister3Pcid
Source§impl<'a> IntoIterator for &'a ControlRegister3Pcid
impl<'a> IntoIterator for &'a ControlRegister3Pcid
Source§impl LowerHex for ControlRegister3Pcid
impl LowerHex for ControlRegister3Pcid
Source§impl Octal for ControlRegister3Pcid
impl Octal for ControlRegister3Pcid
Source§impl PartialEq for ControlRegister3Pcid
impl PartialEq for ControlRegister3Pcid
impl StructuralPartialEq for ControlRegister3Pcid
Auto Trait Implementations§
impl Freeze for ControlRegister3Pcid
impl RefUnwindSafe for ControlRegister3Pcid
impl Send for ControlRegister3Pcid
impl Sync for ControlRegister3Pcid
impl Unpin for ControlRegister3Pcid
impl UnsafeUnpin for ControlRegister3Pcid
impl UnwindSafe for ControlRegister3Pcid
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)