pub struct ExtendedSvmVersionAndFeaturesEdx(/* private fields */);Implementations§
Source§impl ExtendedSvmVersionAndFeaturesEdx
impl ExtendedSvmVersionAndFeaturesEdx
Sourcepub const fn with_np_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_np_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_lbr_virt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_lbr_virt_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_lbr_virt(self, value: bool) -> Self
pub const fn with_lbr_virt(self, value: bool) -> Self
Bits: 1..2
Sourcepub const fn set_lbr_virt(&mut self, value: bool)
pub const fn set_lbr_virt(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn with_svml_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_svml_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_nrips_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_nrips_checked(self, value: bool) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_nrips(self, value: bool) -> Self
pub const fn with_nrips(self, value: bool) -> Self
Bits: 3..4
Sourcepub const fn tsc_rate_msr(&self) -> bool
pub const fn tsc_rate_msr(&self) -> bool
Bits: 4..5
Sourcepub const fn with_tsc_rate_msr_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tsc_rate_msr_checked(self, value: bool) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_tsc_rate_msr(self, value: bool) -> Self
pub const fn with_tsc_rate_msr(self, value: bool) -> Self
Bits: 4..5
Sourcepub const fn set_tsc_rate_msr(&mut self, value: bool)
pub const fn set_tsc_rate_msr(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn vmcb_clean(&self) -> bool
pub const fn vmcb_clean(&self) -> bool
Bits: 5..6
Sourcepub const fn with_vmcb_clean_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_vmcb_clean_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_vmcb_clean(self, value: bool) -> Self
pub const fn with_vmcb_clean(self, value: bool) -> Self
Bits: 5..6
Sourcepub const fn set_vmcb_clean(&mut self, value: bool)
pub const fn set_vmcb_clean(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn flush_by_asid(&self) -> bool
pub const fn flush_by_asid(&self) -> bool
Bits: 6..7
Sourcepub const fn with_flush_by_asid_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_flush_by_asid_checked(self, value: bool) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_flush_by_asid(self, value: bool) -> Self
pub const fn with_flush_by_asid(self, value: bool) -> Self
Bits: 6..7
Sourcepub const fn set_flush_by_asid(&mut self, value: bool)
pub const fn set_flush_by_asid(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn decode_assists(&self) -> bool
pub const fn decode_assists(&self) -> bool
Bits: 7..8
Sourcepub const fn with_decode_assists_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_decode_assists_checked(self, value: bool) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_decode_assists(self, value: bool) -> Self
pub const fn with_decode_assists(self, value: bool) -> Self
Bits: 7..8
Sourcepub const fn set_decode_assists(&mut self, value: bool)
pub const fn set_decode_assists(&mut self, value: bool)
Bits: 7..8
Sourcepub const fn set_decode_assists_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_decode_assists_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 7..8
Sourcepub const fn pause_filter(&self) -> bool
pub const fn pause_filter(&self) -> bool
Bits: 10..11
Sourcepub const fn with_pause_filter_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pause_filter_checked(self, value: bool) -> Result<Self, ()>
Bits: 10..11
Sourcepub const fn with_pause_filter(self, value: bool) -> Self
pub const fn with_pause_filter(self, value: bool) -> Self
Bits: 10..11
Sourcepub const fn set_pause_filter(&mut self, value: bool)
pub const fn set_pause_filter(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn pause_filter_threshold(&self) -> bool
pub const fn pause_filter_threshold(&self) -> bool
Bits: 12..13
Sourcepub const fn with_pause_filter_threshold_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_pause_filter_threshold_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 12..13
Sourcepub const fn with_pause_filter_threshold(self, value: bool) -> Self
pub const fn with_pause_filter_threshold(self, value: bool) -> Self
Bits: 12..13
Sourcepub const fn set_pause_filter_threshold(&mut self, value: bool)
pub const fn set_pause_filter_threshold(&mut self, value: bool)
Bits: 12..13
Sourcepub const fn set_pause_filter_threshold_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_pause_filter_threshold_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 12..13
Sourcepub const fn with_avic_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_avic_checked(self, value: bool) -> Result<Self, ()>
Bits: 13..14
Sourcepub const fn vmsave_virt(&self) -> bool
pub const fn vmsave_virt(&self) -> bool
Bits: 15..16
Sourcepub const fn with_vmsave_virt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_vmsave_virt_checked(self, value: bool) -> Result<Self, ()>
Bits: 15..16
Sourcepub const fn with_vmsave_virt(self, value: bool) -> Self
pub const fn with_vmsave_virt(self, value: bool) -> Self
Bits: 15..16
Sourcepub const fn set_vmsave_virt(&mut self, value: bool)
pub const fn set_vmsave_virt(&mut self, value: bool)
Bits: 15..16
Sourcepub const fn with_vgif_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_vgif_checked(self, value: bool) -> Result<Self, ()>
Bits: 16..17
Sourcepub const fn with_gmet_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_gmet_checked(self, value: bool) -> Result<Self, ()>
Bits: 17..18
Sourcepub const fn with_x2avic_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_x2avic_checked(self, value: bool) -> Result<Self, ()>
Bits: 18..19
Sourcepub const fn with_x2avic(self, value: bool) -> Self
pub const fn with_x2avic(self, value: bool) -> Self
Bits: 18..19
Sourcepub const fn set_x2avic(&mut self, value: bool)
pub const fn set_x2avic(&mut self, value: bool)
Bits: 18..19
Sourcepub const fn with_ssscheck_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ssscheck_checked(self, value: bool) -> Result<Self, ()>
Bits: 19..20
Sourcepub const fn with_ssscheck(self, value: bool) -> Self
pub const fn with_ssscheck(self, value: bool) -> Self
Bits: 19..20
Sourcepub const fn set_ssscheck(&mut self, value: bool)
pub const fn set_ssscheck(&mut self, value: bool)
Bits: 19..20
Sourcepub const fn with_spec_ctrl_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_spec_ctrl_checked(self, value: bool) -> Result<Self, ()>
Bits: 20..21
Sourcepub const fn with_spec_ctrl(self, value: bool) -> Self
pub const fn with_spec_ctrl(self, value: bool) -> Self
Bits: 20..21
Sourcepub const fn set_spec_ctrl(&mut self, value: bool)
pub const fn set_spec_ctrl(&mut self, value: bool)
Bits: 20..21
Sourcepub const fn with_rogpt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rogpt_checked(self, value: bool) -> Result<Self, ()>
Bits: 21..22
Sourcepub const fn with_rogpt(self, value: bool) -> Self
pub const fn with_rogpt(self, value: bool) -> Self
Bits: 21..22
Sourcepub const fn host_mce_override(&self) -> bool
pub const fn host_mce_override(&self) -> bool
Bits: 23..24
Sourcepub const fn with_host_mce_override_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_host_mce_override_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 23..24
Sourcepub const fn with_host_mce_override(self, value: bool) -> Self
pub const fn with_host_mce_override(self, value: bool) -> Self
Bits: 23..24
Sourcepub const fn set_host_mce_override(&mut self, value: bool)
pub const fn set_host_mce_override(&mut self, value: bool)
Bits: 23..24
Sourcepub const fn set_host_mce_override_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_host_mce_override_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 23..24
Sourcepub const fn with_tlbi_ctl_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tlbi_ctl_checked(self, value: bool) -> Result<Self, ()>
Bits: 24..25
Sourcepub const fn with_tlbi_ctl(self, value: bool) -> Self
pub const fn with_tlbi_ctl(self, value: bool) -> Self
Bits: 24..25
Sourcepub const fn set_tlbi_ctl(&mut self, value: bool)
pub const fn set_tlbi_ctl(&mut self, value: bool)
Bits: 24..25
Sourcepub const fn with_vnmi_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_vnmi_checked(self, value: bool) -> Result<Self, ()>
Bits: 25..26
Sourcepub const fn with_ibs_virt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ibs_virt_checked(self, value: bool) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn with_ibs_virt(self, value: bool) -> Self
pub const fn with_ibs_virt(self, value: bool) -> Self
Bits: 26..27
Sourcepub const fn set_ibs_virt(&mut self, value: bool)
pub const fn set_ibs_virt(&mut self, value: bool)
Bits: 26..27
Sourcepub const fn ext_lvt_avic(&self) -> bool
pub const fn ext_lvt_avic(&self) -> bool
Bits: 27..28
Sourcepub const fn with_ext_lvt_avic_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ext_lvt_avic_checked(self, value: bool) -> Result<Self, ()>
Bits: 27..28
Sourcepub const fn with_ext_lvt_avic(self, value: bool) -> Self
pub const fn with_ext_lvt_avic(self, value: bool) -> Self
Bits: 27..28
Sourcepub const fn set_ext_lvt_avic(&mut self, value: bool)
pub const fn set_ext_lvt_avic(&mut self, value: bool)
Bits: 27..28
Sourcepub const fn nested_virt_snp_msr(&self) -> bool
pub const fn nested_virt_snp_msr(&self) -> bool
Bits: 29..30
Sourcepub const fn with_nested_virt_snp_msr_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_nested_virt_snp_msr_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 29..30
Sourcepub const fn with_nested_virt_snp_msr(self, value: bool) -> Self
pub const fn with_nested_virt_snp_msr(self, value: bool) -> Self
Bits: 29..30
Sourcepub const fn set_nested_virt_snp_msr(&mut self, value: bool)
pub const fn set_nested_virt_snp_msr(&mut self, value: bool)
Bits: 29..30
Trait Implementations§
Source§impl Clone for ExtendedSvmVersionAndFeaturesEdx
impl Clone for ExtendedSvmVersionAndFeaturesEdx
Source§fn clone(&self) -> ExtendedSvmVersionAndFeaturesEdx
fn clone(&self) -> ExtendedSvmVersionAndFeaturesEdx
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more