Skip to main content

ExtendedHypervisorConfigurationRegister

Struct ExtendedHypervisorConfigurationRegister 

Source
pub struct ExtendedHypervisorConfigurationRegister(/* private fields */);
Expand description

The layout of HCRX_EL2.

Implementations§

Source§

impl ExtendedHypervisorConfigurationRegister

Source

pub const RSVD1_MASK: u64

Mask of all reserved-as-1 bits.

Source

pub const RSVD0_MASK: u64

Mask of all reserved-as-0 bits.

Source

pub const DEFAULT: u64

The default value of the layout, combining all field defaults and reserved-as values.

Source

pub const SRMASKEN_MASK: u64

Unshifted bitmask of srmasken.

Source

pub const SRMASKEN_SHIFT: usize = 26

Bit shift (i.e., the low bit) of srmasken.

Source

pub const PACMEN_MASK: u64

Unshifted bitmask of pacmen.

Source

pub const PACMEN_SHIFT: usize = 24

Bit shift (i.e., the low bit) of pacmen.

Source

pub const ENFPM_MASK: u64

Unshifted bitmask of enfpm.

Source

pub const ENFPM_SHIFT: usize = 23

Bit shift (i.e., the low bit) of enfpm.

Source

pub const GCSEN_MASK: u64

Unshifted bitmask of gcsen.

Source

pub const GCSEN_SHIFT: usize = 22

Bit shift (i.e., the low bit) of gcsen.

Source

pub const ENIDCP128_MASK: u64

Unshifted bitmask of enidcp128.

Source

pub const ENIDCP128_SHIFT: usize = 21

Bit shift (i.e., the low bit) of enidcp128.

Source

pub const ENSDERR_MASK: u64

Unshifted bitmask of ensderr.

Source

pub const ENSDERR_SHIFT: usize = 20

Bit shift (i.e., the low bit) of ensderr.

Source

pub const TMEA_MASK: u64

Unshifted bitmask of tmea.

Source

pub const TMEA_SHIFT: usize = 19

Bit shift (i.e., the low bit) of tmea.

Source

pub const ENSNERR_MASK: u64

Unshifted bitmask of ensnerr.

Source

pub const ENSNERR_SHIFT: usize = 18

Bit shift (i.e., the low bit) of ensnerr.

Source

pub const D128EN_MASK: u64

Unshifted bitmask of d128en.

Source

pub const D128EN_SHIFT: usize = 17

Bit shift (i.e., the low bit) of d128en.

Source

pub const PTTWI_MASK: u64

Unshifted bitmask of pttwi.

Source

pub const PTTWI_SHIFT: usize = 16

Bit shift (i.e., the low bit) of pttwi.

Source

pub const SCTLR2EN_MASK: u64

Unshifted bitmask of sctlr2en.

Source

pub const SCTLR2EN_SHIFT: usize = 15

Bit shift (i.e., the low bit) of sctlr2en.

Source

pub const TCR2EN_MASK: u64

Unshifted bitmask of tcr2en.

Source

pub const TCR2EN_SHIFT: usize = 14

Bit shift (i.e., the low bit) of tcr2en.

Source

pub const MSCEN_MASK: u64

Unshifted bitmask of mscen.

Source

pub const MSCEN_SHIFT: usize = 11

Bit shift (i.e., the low bit) of mscen.

Source

pub const MCE2_MASK: u64

Unshifted bitmask of mce2.

Source

pub const MCE2_SHIFT: usize = 10

Bit shift (i.e., the low bit) of mce2.

Source

pub const CMOW_MASK: u64

Unshifted bitmask of cmow.

Source

pub const CMOW_SHIFT: usize = 9

Bit shift (i.e., the low bit) of cmow.

Source

pub const VFNMI_MASK: u64

Unshifted bitmask of vfnmi.

Source

pub const VFNMI_SHIFT: usize = 8

Bit shift (i.e., the low bit) of vfnmi.

Source

pub const VINMI_MASK: u64

Unshifted bitmask of vinmi.

Source

pub const VINMI_SHIFT: usize = 7

Bit shift (i.e., the low bit) of vinmi.

Source

pub const TALLINT_MASK: u64

Unshifted bitmask of tallint.

Source

pub const TALLINT_SHIFT: usize = 6

Bit shift (i.e., the low bit) of tallint.

Source

pub const SMPME_MASK: u64

Unshifted bitmask of smpme.

Source

pub const SMPME_SHIFT: usize = 5

Bit shift (i.e., the low bit) of smpme.

Source

pub const FGTNXS_MASK: u64

Unshifted bitmask of fgtnxs.

Source

pub const FGTNXS_SHIFT: usize = 4

Bit shift (i.e., the low bit) of fgtnxs.

Source

pub const FNXS_MASK: u64

Unshifted bitmask of fnxs.

Source

pub const FNXS_SHIFT: usize = 3

Bit shift (i.e., the low bit) of fnxs.

Source

pub const ENASR_MASK: u64

Unshifted bitmask of enasr.

Source

pub const ENASR_SHIFT: usize = 2

Bit shift (i.e., the low bit) of enasr.

Source

pub const ENALS_MASK: u64

Unshifted bitmask of enals.

Source

pub const ENALS_SHIFT: usize = 1

Bit shift (i.e., the low bit) of enals.

Source

pub const ENAS0_MASK: u64

Unshifted bitmask of enas0.

Source

pub const ENAS0_SHIFT: usize = 0

Bit shift (i.e., the low bit) of enas0.

Source

pub const FIELDS: [FieldMetadata<u64>; 24]

Metadata of all named fields in the layout.

Source

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).

Source

pub const fn bits(self) -> u64

Source

pub const fn srmasken(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister26.

Source

pub const fn set_srmasken(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister26.

Source

pub const fn pacmen(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister24.

Source

pub const fn set_pacmen(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister24.

Source

pub const fn enfpm(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister23.

Source

pub const fn set_enfpm(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister23.

Source

pub const fn gcsen(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister22.

Source

pub const fn set_gcsen(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister22.

Source

pub const fn enidcp128(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister21.

Source

pub const fn set_enidcp128(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister21.

Source

pub const fn ensderr(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister20.

Source

pub const fn set_ensderr(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister20.

Source

pub const fn tmea(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister19.

Source

pub const fn set_tmea(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister19.

Source

pub const fn ensnerr(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister18.

Source

pub const fn set_ensnerr(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister18.

Source

pub const fn d128en(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister17.

Source

pub const fn set_d128en(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister17.

Source

pub const fn pttwi(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister16.

Source

pub const fn set_pttwi(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister16.

Source

pub const fn sctlr2en(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister15.

Source

pub const fn set_sctlr2en(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister15.

Source

pub const fn tcr2en(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister14.

Source

pub const fn set_tcr2en(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister14.

Source

pub const fn mscen(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister11.

Source

pub const fn set_mscen(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister11.

Source

pub const fn mce2(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister10.

Source

pub const fn set_mce2(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister10.

Source

pub const fn cmow(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister9.

Source

pub const fn set_cmow(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister9.

Source

pub const fn vfnmi(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister8.

Source

pub const fn set_vfnmi(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister8.

Source

pub const fn vinmi(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister7.

Source

pub const fn set_vinmi(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister7.

Source

pub const fn tallint(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister6.

Source

pub const fn set_tallint(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister6.

Source

pub const fn smpme(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister5.

Source

pub const fn set_smpme(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister5.

Source

pub const fn fgtnxs(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister4.

Source

pub const fn set_fgtnxs(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister4.

Source

pub const fn fnxs(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister3.

Source

pub const fn set_fnxs(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister3.

Source

pub const fn enasr(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister2.

Source

pub const fn set_enasr(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister2.

Source

pub const fn enals(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister1.

Source

pub const fn set_enals(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister1.

Source

pub const fn enas0(&self) -> bool

The value of ExtendedHypervisorConfigurationRegister0.

Source

pub const fn set_enas0(&mut self, value: bool) -> &mut Self

Sets the value of ExtendedHypervisorConfigurationRegister0.

Source§

impl ExtendedHypervisorConfigurationRegister

Source

pub fn iter(&self) -> ExtendedHypervisorConfigurationRegisterIter

Returns an iterator over (metadata, value) pairs for each field.

Trait Implementations§

Source§

impl Binary for ExtendedHypervisorConfigurationRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Clone for ExtendedHypervisorConfigurationRegister

Source§

fn clone(&self) -> ExtendedHypervisorConfigurationRegister

Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ExtendedHypervisorConfigurationRegister

Source§

impl Debug for ExtendedHypervisorConfigurationRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ExtendedHypervisorConfigurationRegister

Source§

fn default() -> Self

Returns an instance with the default bits set (i.e,. with a value of Self::DEFAULT.

Source§

impl Eq for ExtendedHypervisorConfigurationRegister

Source§

impl From<ExtendedHypervisorConfigurationRegister> for u64

Source§

fn from(value: ExtendedHypervisorConfigurationRegister) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for ExtendedHypervisorConfigurationRegister

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl IntoIterator for ExtendedHypervisorConfigurationRegister

Source§

type Item = (&'static FieldMetadata<u64>, u64)

The type of the elements being iterated over.
Source§

type IntoIter = ExtendedHypervisorConfigurationRegisterIter

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl<'a> IntoIterator for &'a ExtendedHypervisorConfigurationRegister

Source§

type Item = (&'static FieldMetadata<u64>, u64)

The type of the elements being iterated over.
Source§

type IntoIter = ExtendedHypervisorConfigurationRegisterIter

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl LowerHex for ExtendedHypervisorConfigurationRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Octal for ExtendedHypervisorConfigurationRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for ExtendedHypervisorConfigurationRegister

Source§

fn eq(&self, other: &ExtendedHypervisorConfigurationRegister) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable)§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ExtendedHypervisorConfigurationRegister

Source§

impl UpperHex for ExtendedHypervisorConfigurationRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

Source§

impl<Layout, Base> LayoutOver<Base> for Layout
where Layout: Copy + From<Base> + Into<Base>,

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = !

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.