Skip to main content

HypervisorConfigurationRegister

Struct HypervisorConfigurationRegister 

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

The layout of HCR_EL2.

Implementations§

Source§

impl HypervisorConfigurationRegister

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 TWEDEL_MASK: u64

Unshifted bitmask of twedel.

Source

pub const TWEDEL_SHIFT: usize = 60

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

Source

pub const TWEDEN_MASK: u64

Unshifted bitmask of tweden.

Source

pub const TWEDEN_SHIFT: usize = 59

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

Source

pub const TID5_MASK: u64

Unshifted bitmask of tid5.

Source

pub const TID5_SHIFT: usize = 58

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

Source

pub const DCT_MASK: u64

Unshifted bitmask of dct.

Source

pub const DCT_SHIFT: usize = 57

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

Source

pub const ATA_MASK: u64

Unshifted bitmask of ata.

Source

pub const ATA_SHIFT: usize = 56

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

Source

pub const TTLBOS_MASK: u64

Unshifted bitmask of ttlbos.

Source

pub const TTLBOS_SHIFT: usize = 55

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

Source

pub const TTLBIS_MASK: u64

Unshifted bitmask of ttlbis.

Source

pub const TTLBIS_SHIFT: usize = 54

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

Source

pub const ENSCXT_MASK: u64

Unshifted bitmask of enscxt.

Source

pub const ENSCXT_SHIFT: usize = 53

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

Source

pub const TOCU_MASK: u64

Unshifted bitmask of tocu.

Source

pub const TOCU_SHIFT: usize = 52

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

Source

pub const AMVOFFEN_MASK: u64

Unshifted bitmask of amvoffen.

Source

pub const AMVOFFEN_SHIFT: usize = 51

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

Source

pub const TICAB_MASK: u64

Unshifted bitmask of ticab.

Source

pub const TICAB_SHIFT: usize = 50

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

Source

pub const TID4_MASK: u64

Unshifted bitmask of tid4.

Source

pub const TID4_SHIFT: usize = 49

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

Source

pub const GPF_MASK: u64

Unshifted bitmask of gpf.

Source

pub const GPF_SHIFT: usize = 48

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

Source

pub const FIEN_MASK: u64

Unshifted bitmask of fien.

Source

pub const FIEN_SHIFT: usize = 47

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

Source

pub const FWB_MASK: u64

Unshifted bitmask of fwb.

Source

pub const FWB_SHIFT: usize = 46

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

Source

pub const NV2_MASK: u64

Unshifted bitmask of nv2.

Source

pub const NV2_SHIFT: usize = 45

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

Source

pub const AT_MASK: u64

Unshifted bitmask of at.

Source

pub const AT_SHIFT: usize = 44

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

Source

pub const NV1_MASK: u64

Unshifted bitmask of nv1.

Source

pub const NV1_SHIFT: usize = 43

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

Source

pub const NV_MASK: u64

Unshifted bitmask of nv.

Source

pub const NV_SHIFT: usize = 42

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

Source

pub const API_MASK: u64

Unshifted bitmask of api.

Source

pub const API_SHIFT: usize = 41

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

Source

pub const APK_MASK: u64

Unshifted bitmask of apk.

Source

pub const APK_SHIFT: usize = 40

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

Source

pub const TME_MASK: u64

Unshifted bitmask of tme.

Source

pub const TME_SHIFT: usize = 39

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

Source

pub const MIOCNCE_MASK: u64

Unshifted bitmask of miocnce.

Source

pub const MIOCNCE_SHIFT: usize = 38

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

Source

pub const TEA_MASK: u64

Unshifted bitmask of tea.

Source

pub const TEA_SHIFT: usize = 37

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

Source

pub const TERR_MASK: u64

Unshifted bitmask of terr.

Source

pub const TERR_SHIFT: usize = 36

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

Source

pub const TLOR_MASK: u64

Unshifted bitmask of tlor.

Source

pub const TLOR_SHIFT: usize = 35

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

Source

pub const E2H_MASK: u64

Unshifted bitmask of e2h.

Source

pub const E2H_SHIFT: usize = 34

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

Source

pub const ID_MASK: u64

Unshifted bitmask of id.

Source

pub const ID_SHIFT: usize = 33

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

Source

pub const CD_MASK: u64

Unshifted bitmask of cd.

Source

pub const CD_SHIFT: usize = 32

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

Source

pub const RW_MASK: u64

Unshifted bitmask of rw.

Source

pub const RW_SHIFT: usize = 31

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

Source

pub const TRVM_MASK: u64

Unshifted bitmask of trvm.

Source

pub const TRVM_SHIFT: usize = 30

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

Source

pub const HCD_MASK: u64

Unshifted bitmask of hcd.

Source

pub const HCD_SHIFT: usize = 29

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

Source

pub const TDZ_MASK: u64

Unshifted bitmask of tdz.

Source

pub const TDZ_SHIFT: usize = 28

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

Source

pub const TGE_MASK: u64

Unshifted bitmask of tge.

Source

pub const TGE_SHIFT: usize = 27

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

Source

pub const TVM_MASK: u64

Unshifted bitmask of tvm.

Source

pub const TVM_SHIFT: usize = 26

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

Source

pub const TTLB_MASK: u64

Unshifted bitmask of ttlb.

Source

pub const TTLB_SHIFT: usize = 25

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

Source

pub const TPU_MASK: u64

Unshifted bitmask of tpu.

Source

pub const TPU_SHIFT: usize = 24

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

Source

pub const TCPC_MASK: u64

Unshifted bitmask of tcpc.

Source

pub const TCPC_SHIFT: usize = 23

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

Source

pub const TSW_MASK: u64

Unshifted bitmask of tsw.

Source

pub const TSW_SHIFT: usize = 22

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

Source

pub const TACR_MASK: u64

Unshifted bitmask of tacr.

Source

pub const TACR_SHIFT: usize = 21

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

Source

pub const TIDCP_MASK: u64

Unshifted bitmask of tidcp.

Source

pub const TIDCP_SHIFT: usize = 20

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

Source

pub const TSC_MASK: u64

Unshifted bitmask of tsc.

Source

pub const TSC_SHIFT: usize = 19

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

Source

pub const TID3_MASK: u64

Unshifted bitmask of tid3.

Source

pub const TID3_SHIFT: usize = 18

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

Source

pub const TID2_MASK: u64

Unshifted bitmask of tid2.

Source

pub const TID2_SHIFT: usize = 17

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

Source

pub const TID1_MASK: u64

Unshifted bitmask of tid1.

Source

pub const TID1_SHIFT: usize = 16

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

Source

pub const TID0_MASK: u64

Unshifted bitmask of tid0.

Source

pub const TID0_SHIFT: usize = 15

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

Source

pub const TWE_MASK: u64

Unshifted bitmask of twe.

Source

pub const TWE_SHIFT: usize = 14

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

Source

pub const TWI_MASK: u64

Unshifted bitmask of twi.

Source

pub const TWI_SHIFT: usize = 13

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

Source

pub const DC_MASK: u64

Unshifted bitmask of dc.

Source

pub const DC_SHIFT: usize = 12

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

Source

pub const BSU_MASK: u64

Unshifted bitmask of bsu.

Source

pub const BSU_SHIFT: usize = 10

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

Source

pub const FB_MASK: u64

Unshifted bitmask of fb.

Source

pub const FB_SHIFT: usize = 9

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

Source

pub const VSE_MASK: u64

Unshifted bitmask of vse.

Source

pub const VSE_SHIFT: usize = 8

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

Source

pub const VI_MASK: u64

Unshifted bitmask of vi.

Source

pub const VI_SHIFT: usize = 7

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

Source

pub const VF_MASK: u64

Unshifted bitmask of vf.

Source

pub const VF_SHIFT: usize = 6

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

Source

pub const AMO_MASK: u64

Unshifted bitmask of amo.

Source

pub const AMO_SHIFT: usize = 5

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

Source

pub const IMO_MASK: u64

Unshifted bitmask of imo.

Source

pub const IMO_SHIFT: usize = 4

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

Source

pub const FMO_MASK: u64

Unshifted bitmask of fmo.

Source

pub const FMO_SHIFT: usize = 3

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

Source

pub const PTW_MASK: u64

Unshifted bitmask of ptw.

Source

pub const PTW_SHIFT: usize = 2

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

Source

pub const SWIO_MASK: u64

Unshifted bitmask of swio.

Source

pub const SWIO_SHIFT: usize = 1

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

Source

pub const VM_MASK: u64

Unshifted bitmask of vm.

Source

pub const VM_SHIFT: usize = 0

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

Source

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

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 twedel(&self) -> u8

The value of HypervisorConfigurationRegister[63:60].

Source

pub const fn set_twedel(&mut self, value: u8) -> &mut Self

Sets the value of HypervisorConfigurationRegister[63:60].

Source

pub const fn tweden(&self) -> bool

The value of HypervisorConfigurationRegister59.

Source

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

Sets the value of HypervisorConfigurationRegister59.

Source

pub const fn tid5(&self) -> bool

The value of HypervisorConfigurationRegister58.

Source

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

Sets the value of HypervisorConfigurationRegister58.

Source

pub const fn dct(&self) -> bool

The value of HypervisorConfigurationRegister57.

Source

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

Sets the value of HypervisorConfigurationRegister57.

Source

pub const fn ata(&self) -> bool

The value of HypervisorConfigurationRegister56.

Source

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

Sets the value of HypervisorConfigurationRegister56.

Source

pub const fn ttlbos(&self) -> bool

The value of HypervisorConfigurationRegister55.

Source

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

Sets the value of HypervisorConfigurationRegister55.

Source

pub const fn ttlbis(&self) -> bool

The value of HypervisorConfigurationRegister54.

Source

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

Sets the value of HypervisorConfigurationRegister54.

Source

pub const fn enscxt(&self) -> bool

The value of HypervisorConfigurationRegister53.

Source

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

Sets the value of HypervisorConfigurationRegister53.

Source

pub const fn tocu(&self) -> bool

The value of HypervisorConfigurationRegister52.

Source

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

Sets the value of HypervisorConfigurationRegister52.

Source

pub const fn amvoffen(&self) -> bool

The value of HypervisorConfigurationRegister51.

Source

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

Sets the value of HypervisorConfigurationRegister51.

Source

pub const fn ticab(&self) -> bool

The value of HypervisorConfigurationRegister50.

Source

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

Sets the value of HypervisorConfigurationRegister50.

Source

pub const fn tid4(&self) -> bool

The value of HypervisorConfigurationRegister49.

Source

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

Sets the value of HypervisorConfigurationRegister49.

Source

pub const fn gpf(&self) -> bool

The value of HypervisorConfigurationRegister48.

Source

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

Sets the value of HypervisorConfigurationRegister48.

Source

pub const fn fien(&self) -> bool

The value of HypervisorConfigurationRegister47.

Source

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

Sets the value of HypervisorConfigurationRegister47.

Source

pub const fn fwb(&self) -> bool

The value of HypervisorConfigurationRegister46.

Source

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

Sets the value of HypervisorConfigurationRegister46.

Source

pub const fn nv2(&self) -> bool

The value of HypervisorConfigurationRegister45.

Source

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

Sets the value of HypervisorConfigurationRegister45.

Source

pub const fn at(&self) -> bool

The value of HypervisorConfigurationRegister44.

Source

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

Sets the value of HypervisorConfigurationRegister44.

Source

pub const fn nv1(&self) -> bool

The value of HypervisorConfigurationRegister43.

Source

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

Sets the value of HypervisorConfigurationRegister43.

Source

pub const fn nv(&self) -> bool

The value of HypervisorConfigurationRegister42.

Source

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

Sets the value of HypervisorConfigurationRegister42.

Source

pub const fn api(&self) -> bool

The value of HypervisorConfigurationRegister41.

Source

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

Sets the value of HypervisorConfigurationRegister41.

Source

pub const fn apk(&self) -> bool

The value of HypervisorConfigurationRegister40.

Source

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

Sets the value of HypervisorConfigurationRegister40.

Source

pub const fn tme(&self) -> bool

The value of HypervisorConfigurationRegister39.

Source

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

Sets the value of HypervisorConfigurationRegister39.

Source

pub const fn miocnce(&self) -> bool

The value of HypervisorConfigurationRegister38.

Source

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

Sets the value of HypervisorConfigurationRegister38.

Source

pub const fn tea(&self) -> bool

The value of HypervisorConfigurationRegister37.

Source

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

Sets the value of HypervisorConfigurationRegister37.

Source

pub const fn terr(&self) -> bool

The value of HypervisorConfigurationRegister36.

Source

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

Sets the value of HypervisorConfigurationRegister36.

Source

pub const fn tlor(&self) -> bool

The value of HypervisorConfigurationRegister35.

Source

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

Sets the value of HypervisorConfigurationRegister35.

Source

pub const fn e2h(&self) -> bool

The value of HypervisorConfigurationRegister34.

Source

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

Sets the value of HypervisorConfigurationRegister34.

Source

pub const fn id(&self) -> bool

The value of HypervisorConfigurationRegister33.

Source

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

Sets the value of HypervisorConfigurationRegister33.

Source

pub const fn cd(&self) -> bool

The value of HypervisorConfigurationRegister32.

Source

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

Sets the value of HypervisorConfigurationRegister32.

Source

pub const fn rw(&self) -> bool

The value of HypervisorConfigurationRegister31.

Source

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

Sets the value of HypervisorConfigurationRegister31.

Source

pub const fn trvm(&self) -> bool

The value of HypervisorConfigurationRegister30.

Source

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

Sets the value of HypervisorConfigurationRegister30.

Source

pub const fn hcd(&self) -> bool

The value of HypervisorConfigurationRegister29.

Source

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

Sets the value of HypervisorConfigurationRegister29.

Source

pub const fn tdz(&self) -> bool

The value of HypervisorConfigurationRegister28.

Source

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

Sets the value of HypervisorConfigurationRegister28.

Source

pub const fn tge(&self) -> bool

The value of HypervisorConfigurationRegister27.

Source

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

Sets the value of HypervisorConfigurationRegister27.

Source

pub const fn tvm(&self) -> bool

The value of HypervisorConfigurationRegister26.

Source

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

Sets the value of HypervisorConfigurationRegister26.

Source

pub const fn ttlb(&self) -> bool

The value of HypervisorConfigurationRegister25.

Source

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

Sets the value of HypervisorConfigurationRegister25.

Source

pub const fn tpu(&self) -> bool

The value of HypervisorConfigurationRegister24.

Source

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

Sets the value of HypervisorConfigurationRegister24.

Source

pub const fn tcpc(&self) -> bool

The value of HypervisorConfigurationRegister23.

Source

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

Sets the value of HypervisorConfigurationRegister23.

Source

pub const fn tsw(&self) -> bool

The value of HypervisorConfigurationRegister22.

Source

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

Sets the value of HypervisorConfigurationRegister22.

Source

pub const fn tacr(&self) -> bool

The value of HypervisorConfigurationRegister21.

Source

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

Sets the value of HypervisorConfigurationRegister21.

Source

pub const fn tidcp(&self) -> bool

The value of HypervisorConfigurationRegister20.

Source

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

Sets the value of HypervisorConfigurationRegister20.

Source

pub const fn tsc(&self) -> bool

The value of HypervisorConfigurationRegister19.

Source

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

Sets the value of HypervisorConfigurationRegister19.

Source

pub const fn tid3(&self) -> bool

The value of HypervisorConfigurationRegister18.

Source

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

Sets the value of HypervisorConfigurationRegister18.

Source

pub const fn tid2(&self) -> bool

The value of HypervisorConfigurationRegister17.

Source

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

Sets the value of HypervisorConfigurationRegister17.

Source

pub const fn tid1(&self) -> bool

The value of HypervisorConfigurationRegister16.

Source

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

Sets the value of HypervisorConfigurationRegister16.

Source

pub const fn tid0(&self) -> bool

The value of HypervisorConfigurationRegister15.

Source

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

Sets the value of HypervisorConfigurationRegister15.

Source

pub const fn twe(&self) -> bool

The value of HypervisorConfigurationRegister14.

Source

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

Sets the value of HypervisorConfigurationRegister14.

Source

pub const fn twi(&self) -> bool

The value of HypervisorConfigurationRegister13.

Source

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

Sets the value of HypervisorConfigurationRegister13.

Source

pub const fn dc(&self) -> bool

The value of HypervisorConfigurationRegister12.

Source

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

Sets the value of HypervisorConfigurationRegister12.

Source

pub const fn bsu(&self) -> u8

The value of HypervisorConfigurationRegister[11:10].

Source

pub const fn set_bsu(&mut self, value: u8) -> &mut Self

Sets the value of HypervisorConfigurationRegister[11:10].

Source

pub const fn fb(&self) -> bool

The value of HypervisorConfigurationRegister9.

Source

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

Sets the value of HypervisorConfigurationRegister9.

Source

pub const fn vse(&self) -> bool

The value of HypervisorConfigurationRegister8.

Source

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

Sets the value of HypervisorConfigurationRegister8.

Source

pub const fn vi(&self) -> bool

The value of HypervisorConfigurationRegister7.

Source

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

Sets the value of HypervisorConfigurationRegister7.

Source

pub const fn vf(&self) -> bool

The value of HypervisorConfigurationRegister6.

Source

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

Sets the value of HypervisorConfigurationRegister6.

Source

pub const fn amo(&self) -> bool

The value of HypervisorConfigurationRegister5.

Source

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

Sets the value of HypervisorConfigurationRegister5.

Source

pub const fn imo(&self) -> bool

The value of HypervisorConfigurationRegister4.

Source

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

Sets the value of HypervisorConfigurationRegister4.

Source

pub const fn fmo(&self) -> bool

The value of HypervisorConfigurationRegister3.

Source

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

Sets the value of HypervisorConfigurationRegister3.

Source

pub const fn ptw(&self) -> bool

The value of HypervisorConfigurationRegister2.

Source

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

Sets the value of HypervisorConfigurationRegister2.

Source

pub const fn swio(&self) -> bool

The value of HypervisorConfigurationRegister1.

Source

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

Sets the value of HypervisorConfigurationRegister1.

Source

pub const fn vm(&self) -> bool

The value of HypervisorConfigurationRegister0.

Source

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

Sets the value of HypervisorConfigurationRegister0.

Source§

impl HypervisorConfigurationRegister

Source

pub fn iter(&self) -> HypervisorConfigurationRegisterIter

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

Trait Implementations§

Source§

impl Binary for HypervisorConfigurationRegister

Source§

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

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

impl Clone for HypervisorConfigurationRegister

Source§

fn clone(&self) -> HypervisorConfigurationRegister

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 HypervisorConfigurationRegister

Source§

impl Debug for HypervisorConfigurationRegister

Source§

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

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

impl Default for HypervisorConfigurationRegister

Source§

fn default() -> Self

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

Source§

impl Eq for HypervisorConfigurationRegister

Source§

impl From<HypervisorConfigurationRegister> for u64

Source§

fn from(value: HypervisorConfigurationRegister) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for HypervisorConfigurationRegister

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl IntoIterator for HypervisorConfigurationRegister

Source§

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

The type of the elements being iterated over.
Source§

type IntoIter = HypervisorConfigurationRegisterIter

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 HypervisorConfigurationRegister

Source§

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

The type of the elements being iterated over.
Source§

type IntoIter = HypervisorConfigurationRegisterIter

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 HypervisorConfigurationRegister

Source§

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

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

impl Octal for HypervisorConfigurationRegister

Source§

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

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

impl PartialEq for HypervisorConfigurationRegister

Source§

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

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

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for HypervisorConfigurationRegister

Source§

impl UpperHex for HypervisorConfigurationRegister

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.