Struct x86defs::cpuid::ExtendedSevFeaturesEax
source · pub struct ExtendedSevFeaturesEax(/* private fields */);
Implementations§
source§impl ExtendedSevFeaturesEax
impl ExtendedSevFeaturesEax
sourcepub const fn vmpage_flush_msr_available(&self) -> bool
pub const fn vmpage_flush_msr_available(&self) -> bool
Bits: 2..3
sourcepub const fn with_vmpage_flush_msr_available(self, value: bool) -> Self
pub const fn with_vmpage_flush_msr_available(self, value: bool) -> Self
Bits: 2..3
sourcepub fn set_vmpage_flush_msr_available(&mut self, value: bool)
pub fn set_vmpage_flush_msr_available(&mut self, value: bool)
Bits: 2..3
sourcepub const fn with_sev_es(self, value: bool) -> Self
pub const fn with_sev_es(self, value: bool) -> Self
Bits: 3..4
sourcepub fn set_sev_es(&mut self, value: bool)
pub fn set_sev_es(&mut self, value: bool)
Bits: 3..4
sourcepub const fn with_sev_snp(self, value: bool) -> Self
pub const fn with_sev_snp(self, value: bool) -> Self
Bits: 4..5
sourcepub fn set_sev_snp(&mut self, value: bool)
pub fn set_sev_snp(&mut self, value: bool)
Bits: 4..5
sourcepub const fn with_rmp_query(self, value: bool) -> Self
pub const fn with_rmp_query(self, value: bool) -> Self
Bits: 6..7
sourcepub fn set_rmp_query(&mut self, value: bool)
pub fn set_rmp_query(&mut self, value: bool)
Bits: 6..7
sourcepub const fn with_vmpl_isss(self, value: bool) -> Self
pub const fn with_vmpl_isss(self, value: bool) -> Self
Bits: 7..8
sourcepub fn set_vmpl_isss(&mut self, value: bool)
pub fn set_vmpl_isss(&mut self, value: bool)
Bits: 7..8
sourcepub const fn secure_tsc(&self) -> bool
pub const fn secure_tsc(&self) -> bool
Bits: 8..9
sourcepub const fn with_secure_tsc(self, value: bool) -> Self
pub const fn with_secure_tsc(self, value: bool) -> Self
Bits: 8..9
sourcepub fn set_secure_tsc(&mut self, value: bool)
pub fn set_secure_tsc(&mut self, value: bool)
Bits: 8..9
sourcepub const fn tsc_aux_virtualization(&self) -> bool
pub const fn tsc_aux_virtualization(&self) -> bool
Bits: 9..10
sourcepub const fn with_tsc_aux_virtualization(self, value: bool) -> Self
pub const fn with_tsc_aux_virtualization(self, value: bool) -> Self
Bits: 9..10
sourcepub fn set_tsc_aux_virtualization(&mut self, value: bool)
pub fn set_tsc_aux_virtualization(&mut self, value: bool)
Bits: 9..10
sourcepub const fn coherency_enforced(&self) -> bool
pub const fn coherency_enforced(&self) -> bool
Bits: 10..11
sourcepub const fn with_coherency_enforced(self, value: bool) -> Self
pub const fn with_coherency_enforced(self, value: bool) -> Self
Bits: 10..11
sourcepub fn set_coherency_enforced(&mut self, value: bool)
pub fn set_coherency_enforced(&mut self, value: bool)
Bits: 10..11
sourcepub const fn req64_bit_hypervisor(&self) -> bool
pub const fn req64_bit_hypervisor(&self) -> bool
Bits: 11..12
sourcepub const fn with_req64_bit_hypervisor(self, value: bool) -> Self
pub const fn with_req64_bit_hypervisor(self, value: bool) -> Self
Bits: 11..12
sourcepub fn set_req64_bit_hypervisor(&mut self, value: bool)
pub fn set_req64_bit_hypervisor(&mut self, value: bool)
Bits: 11..12
sourcepub const fn restrict_injection(&self) -> bool
pub const fn restrict_injection(&self) -> bool
Bits: 12..13
sourcepub const fn with_restrict_injection(self, value: bool) -> Self
pub const fn with_restrict_injection(self, value: bool) -> Self
Bits: 12..13
sourcepub fn set_restrict_injection(&mut self, value: bool)
pub fn set_restrict_injection(&mut self, value: bool)
Bits: 12..13
sourcepub const fn alternate_injection(&self) -> bool
pub const fn alternate_injection(&self) -> bool
Bits: 13..14
sourcepub const fn with_alternate_injection(self, value: bool) -> Self
pub const fn with_alternate_injection(self, value: bool) -> Self
Bits: 13..14
sourcepub fn set_alternate_injection(&mut self, value: bool)
pub fn set_alternate_injection(&mut self, value: bool)
Bits: 13..14
sourcepub const fn debug_state_swap(&self) -> bool
pub const fn debug_state_swap(&self) -> bool
Bits: 14..15
sourcepub const fn with_debug_state_swap(self, value: bool) -> Self
pub const fn with_debug_state_swap(self, value: bool) -> Self
Bits: 14..15
sourcepub fn set_debug_state_swap(&mut self, value: bool)
pub fn set_debug_state_swap(&mut self, value: bool)
Bits: 14..15
sourcepub const fn prevent_host_ibs(&self) -> bool
pub const fn prevent_host_ibs(&self) -> bool
Bits: 15..16
sourcepub const fn with_prevent_host_ibs(self, value: bool) -> Self
pub const fn with_prevent_host_ibs(self, value: bool) -> Self
Bits: 15..16
sourcepub fn set_prevent_host_ibs(&mut self, value: bool)
pub fn set_prevent_host_ibs(&mut self, value: bool)
Bits: 15..16
sourcepub const fn vmgexit_parameter(&self) -> bool
pub const fn vmgexit_parameter(&self) -> bool
Bits: 17..18
sourcepub const fn with_vmgexit_parameter(self, value: bool) -> Self
pub const fn with_vmgexit_parameter(self, value: bool) -> Self
Bits: 17..18
sourcepub fn set_vmgexit_parameter(&mut self, value: bool)
pub fn set_vmgexit_parameter(&mut self, value: bool)
Bits: 17..18
sourcepub const fn virtual_tom_msr(&self) -> bool
pub const fn virtual_tom_msr(&self) -> bool
Bits: 18..19
sourcepub const fn with_virtual_tom_msr(self, value: bool) -> Self
pub const fn with_virtual_tom_msr(self, value: bool) -> Self
Bits: 18..19
sourcepub fn set_virtual_tom_msr(&mut self, value: bool)
pub fn set_virtual_tom_msr(&mut self, value: bool)
Bits: 18..19
sourcepub const fn ibs_virtualization(&self) -> bool
pub const fn ibs_virtualization(&self) -> bool
Bits: 19..20
sourcepub const fn with_ibs_virtualization(self, value: bool) -> Self
pub const fn with_ibs_virtualization(self, value: bool) -> Self
Bits: 19..20
sourcepub fn set_ibs_virtualization(&mut self, value: bool)
pub fn set_ibs_virtualization(&mut self, value: bool)
Bits: 19..20
sourcepub const fn vmsa_register_protection(&self) -> bool
pub const fn vmsa_register_protection(&self) -> bool
Bits: 24..25
sourcepub const fn with_vmsa_register_protection(self, value: bool) -> Self
pub const fn with_vmsa_register_protection(self, value: bool) -> Self
Bits: 24..25
sourcepub fn set_vmsa_register_protection(&mut self, value: bool)
pub fn set_vmsa_register_protection(&mut self, value: bool)
Bits: 24..25
sourcepub const fn nested_virt_msr_snp(&self) -> bool
pub const fn nested_virt_msr_snp(&self) -> bool
Bits: 29..30
sourcepub const fn with_nested_virt_msr_snp(self, value: bool) -> Self
pub const fn with_nested_virt_msr_snp(self, value: bool) -> Self
Bits: 29..30
sourcepub fn set_nested_virt_msr_snp(&mut self, value: bool)
pub fn set_nested_virt_msr_snp(&mut self, value: bool)
Bits: 29..30
Trait Implementations§
source§impl Clone for ExtendedSevFeaturesEax
impl Clone for ExtendedSevFeaturesEax
source§fn clone(&self) -> ExtendedSevFeaturesEax
fn clone(&self) -> ExtendedSevFeaturesEax
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExtendedSevFeaturesEax
impl Debug for ExtendedSevFeaturesEax
source§impl Default for ExtendedSevFeaturesEax
impl Default for ExtendedSevFeaturesEax
source§impl From<ExtendedSevFeaturesEax> for u32
impl From<ExtendedSevFeaturesEax> for u32
source§fn from(v: ExtendedSevFeaturesEax) -> u32
fn from(v: ExtendedSevFeaturesEax) -> u32
Converts to this type from the input type.
source§impl From<u32> for ExtendedSevFeaturesEax
impl From<u32> for ExtendedSevFeaturesEax
impl Copy for ExtendedSevFeaturesEax
Auto Trait Implementations§
impl Freeze for ExtendedSevFeaturesEax
impl RefUnwindSafe for ExtendedSevFeaturesEax
impl Send for ExtendedSevFeaturesEax
impl Sync for ExtendedSevFeaturesEax
impl Unpin for ExtendedSevFeaturesEax
impl UnwindSafe for ExtendedSevFeaturesEax
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)