pub struct ArchitecturalFeatureTrapRegisterNoVhe(/* private fields */);Expand description
The layout of [CPTR_EL2] and [CPTR_EL3] when HCR_EL2.E2H == 0.
Implementations§
Source§impl ArchitecturalFeatureTrapRegisterNoVhe
impl ArchitecturalFeatureTrapRegisterNoVhe
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 TCPAC_MASK: u64
pub const TCPAC_MASK: u64
Unshifted bitmask of tcpac.
Sourcepub const TCPAC_SHIFT: usize = 31
pub const TCPAC_SHIFT: usize = 31
Bit shift (i.e., the low bit) of tcpac.
Sourcepub const FIELDS: [FieldMetadata<u64>; 6]
pub const FIELDS: [FieldMetadata<u64>; 6]
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_tcpac(&mut self, value: bool) -> &mut Self
pub const fn set_tcpac(&mut self, value: bool) -> &mut Self
Sets the value of ArchitecturalFeatureTrapRegisterNoVhe31.
Sourcepub const fn set_tam(&mut self, value: bool) -> &mut Self
pub const fn set_tam(&mut self, value: bool) -> &mut Self
Sets the value of ArchitecturalFeatureTrapRegisterNoVhe30.
Sourcepub const fn set_tta(&mut self, value: bool) -> &mut Self
pub const fn set_tta(&mut self, value: bool) -> &mut Self
Sets the value of ArchitecturalFeatureTrapRegisterNoVhe20.
Sourcepub const fn set_tsm(&mut self, value: bool) -> &mut Self
pub const fn set_tsm(&mut self, value: bool) -> &mut Self
Sets the value of ArchitecturalFeatureTrapRegisterNoVhe12.
Trait Implementations§
Source§impl Binary for ArchitecturalFeatureTrapRegisterNoVhe
impl Binary for ArchitecturalFeatureTrapRegisterNoVhe
Source§impl Clone for ArchitecturalFeatureTrapRegisterNoVhe
impl Clone for ArchitecturalFeatureTrapRegisterNoVhe
Source§fn clone(&self) -> ArchitecturalFeatureTrapRegisterNoVhe
fn clone(&self) -> ArchitecturalFeatureTrapRegisterNoVhe
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ArchitecturalFeatureTrapRegisterNoVhe
Source§impl Debug for ArchitecturalFeatureTrapRegisterNoVhe
impl Debug for ArchitecturalFeatureTrapRegisterNoVhe
Source§impl Default for ArchitecturalFeatureTrapRegisterNoVhe
impl Default for ArchitecturalFeatureTrapRegisterNoVhe
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 ArchitecturalFeatureTrapRegisterNoVhe
Source§impl From<ArchitecturalFeatureTrapRegisterNoVhe> for u64
impl From<ArchitecturalFeatureTrapRegisterNoVhe> for u64
Source§fn from(value: ArchitecturalFeatureTrapRegisterNoVhe) -> Self
fn from(value: ArchitecturalFeatureTrapRegisterNoVhe) -> Self
Source§impl From<u64> for ArchitecturalFeatureTrapRegisterNoVhe
impl From<u64> for ArchitecturalFeatureTrapRegisterNoVhe
Source§impl IntoIterator for ArchitecturalFeatureTrapRegisterNoVhe
impl IntoIterator for ArchitecturalFeatureTrapRegisterNoVhe
Source§impl<'a> IntoIterator for &'a ArchitecturalFeatureTrapRegisterNoVhe
impl<'a> IntoIterator for &'a ArchitecturalFeatureTrapRegisterNoVhe
Source§impl LowerHex for ArchitecturalFeatureTrapRegisterNoVhe
impl LowerHex for ArchitecturalFeatureTrapRegisterNoVhe
Source§impl Octal for ArchitecturalFeatureTrapRegisterNoVhe
impl Octal for ArchitecturalFeatureTrapRegisterNoVhe
Source§impl PartialEq for ArchitecturalFeatureTrapRegisterNoVhe
impl PartialEq for ArchitecturalFeatureTrapRegisterNoVhe
impl StructuralPartialEq for ArchitecturalFeatureTrapRegisterNoVhe
Auto Trait Implementations§
impl Freeze for ArchitecturalFeatureTrapRegisterNoVhe
impl RefUnwindSafe for ArchitecturalFeatureTrapRegisterNoVhe
impl Send for ArchitecturalFeatureTrapRegisterNoVhe
impl Sync for ArchitecturalFeatureTrapRegisterNoVhe
impl Unpin for ArchitecturalFeatureTrapRegisterNoVhe
impl UnsafeUnpin for ArchitecturalFeatureTrapRegisterNoVhe
impl UnwindSafe for ArchitecturalFeatureTrapRegisterNoVhe
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
§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)
clone_to_uninit)