pub struct SecondaryProcessorControls(/* private fields */);
Implementations§
Source§impl SecondaryProcessorControls
impl SecondaryProcessorControls
Sourcepub const fn virtualize_apic_accesses(&self) -> bool
pub const fn virtualize_apic_accesses(&self) -> bool
Bits: 0..1
Sourcepub const fn with_virtualize_apic_accesses(self, value: bool) -> Self
pub const fn with_virtualize_apic_accesses(self, value: bool) -> Self
Bits: 0..1
Sourcepub fn set_virtualize_apic_accesses(&mut self, value: bool)
pub fn set_virtualize_apic_accesses(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn enable_ept(&self) -> bool
pub const fn enable_ept(&self) -> bool
Bits: 1..2
Sourcepub const fn with_enable_ept(self, value: bool) -> Self
pub const fn with_enable_ept(self, value: bool) -> Self
Bits: 1..2
Sourcepub fn set_enable_ept(&mut self, value: bool)
pub fn set_enable_ept(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn descriptor_table_exiting(&self) -> bool
pub const fn descriptor_table_exiting(&self) -> bool
Bits: 2..3
Sourcepub const fn with_descriptor_table_exiting(self, value: bool) -> Self
pub const fn with_descriptor_table_exiting(self, value: bool) -> Self
Bits: 2..3
Sourcepub fn set_descriptor_table_exiting(&mut self, value: bool)
pub fn set_descriptor_table_exiting(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn enable_rdtscp(&self) -> bool
pub const fn enable_rdtscp(&self) -> bool
Bits: 3..4
Sourcepub const fn with_enable_rdtscp(self, value: bool) -> Self
pub const fn with_enable_rdtscp(self, value: bool) -> Self
Bits: 3..4
Sourcepub fn set_enable_rdtscp(&mut self, value: bool)
pub fn set_enable_rdtscp(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn virtualize_x2apic_mode(&self) -> bool
pub const fn virtualize_x2apic_mode(&self) -> bool
Bits: 4..5
Sourcepub const fn with_virtualize_x2apic_mode(self, value: bool) -> Self
pub const fn with_virtualize_x2apic_mode(self, value: bool) -> Self
Bits: 4..5
Sourcepub fn set_virtualize_x2apic_mode(&mut self, value: bool)
pub fn set_virtualize_x2apic_mode(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn enable_vpid(&self) -> bool
pub const fn enable_vpid(&self) -> bool
Bits: 5..6
Sourcepub const fn with_enable_vpid(self, value: bool) -> Self
pub const fn with_enable_vpid(self, value: bool) -> Self
Bits: 5..6
Sourcepub fn set_enable_vpid(&mut self, value: bool)
pub fn set_enable_vpid(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn wbinvd_exiting(&self) -> bool
pub const fn wbinvd_exiting(&self) -> bool
Bits: 6..7
Sourcepub const fn with_wbinvd_exiting(self, value: bool) -> Self
pub const fn with_wbinvd_exiting(self, value: bool) -> Self
Bits: 6..7
Sourcepub fn set_wbinvd_exiting(&mut self, value: bool)
pub fn set_wbinvd_exiting(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn unrestricted_guest(&self) -> bool
pub const fn unrestricted_guest(&self) -> bool
Bits: 7..8
Sourcepub const fn with_unrestricted_guest(self, value: bool) -> Self
pub const fn with_unrestricted_guest(self, value: bool) -> Self
Bits: 7..8
Sourcepub fn set_unrestricted_guest(&mut self, value: bool)
pub fn set_unrestricted_guest(&mut self, value: bool)
Bits: 7..8
Sourcepub const fn apic_register_virtualization(&self) -> bool
pub const fn apic_register_virtualization(&self) -> bool
Bits: 8..9
Sourcepub const fn with_apic_register_virtualization(self, value: bool) -> Self
pub const fn with_apic_register_virtualization(self, value: bool) -> Self
Bits: 8..9
Sourcepub fn set_apic_register_virtualization(&mut self, value: bool)
pub fn set_apic_register_virtualization(&mut self, value: bool)
Bits: 8..9
Sourcepub const fn virtual_interrupt_delivery(&self) -> bool
pub const fn virtual_interrupt_delivery(&self) -> bool
Bits: 9..10
Sourcepub const fn with_virtual_interrupt_delivery(self, value: bool) -> Self
pub const fn with_virtual_interrupt_delivery(self, value: bool) -> Self
Bits: 9..10
Sourcepub fn set_virtual_interrupt_delivery(&mut self, value: bool)
pub fn set_virtual_interrupt_delivery(&mut self, value: bool)
Bits: 9..10
Sourcepub const fn pause_loop_exiting(&self) -> bool
pub const fn pause_loop_exiting(&self) -> bool
Bits: 10..11
Sourcepub const fn with_pause_loop_exiting(self, value: bool) -> Self
pub const fn with_pause_loop_exiting(self, value: bool) -> Self
Bits: 10..11
Sourcepub fn set_pause_loop_exiting(&mut self, value: bool)
pub fn set_pause_loop_exiting(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn rdrand_exiting(&self) -> bool
pub const fn rdrand_exiting(&self) -> bool
Bits: 11..12
Sourcepub const fn with_rdrand_exiting(self, value: bool) -> Self
pub const fn with_rdrand_exiting(self, value: bool) -> Self
Bits: 11..12
Sourcepub fn set_rdrand_exiting(&mut self, value: bool)
pub fn set_rdrand_exiting(&mut self, value: bool)
Bits: 11..12
Sourcepub const fn enable_invpcid(&self) -> bool
pub const fn enable_invpcid(&self) -> bool
Bits: 12..13
Sourcepub const fn with_enable_invpcid(self, value: bool) -> Self
pub const fn with_enable_invpcid(self, value: bool) -> Self
Bits: 12..13
Sourcepub fn set_enable_invpcid(&mut self, value: bool)
pub fn set_enable_invpcid(&mut self, value: bool)
Bits: 12..13
Sourcepub const fn enable_vmfunc(&self) -> bool
pub const fn enable_vmfunc(&self) -> bool
Bits: 13..14
Sourcepub const fn with_enable_vmfunc(self, value: bool) -> Self
pub const fn with_enable_vmfunc(self, value: bool) -> Self
Bits: 13..14
Sourcepub fn set_enable_vmfunc(&mut self, value: bool)
pub fn set_enable_vmfunc(&mut self, value: bool)
Bits: 13..14
Sourcepub const fn vmcs_shadowing(&self) -> bool
pub const fn vmcs_shadowing(&self) -> bool
Bits: 14..15
Sourcepub const fn with_vmcs_shadowing(self, value: bool) -> Self
pub const fn with_vmcs_shadowing(self, value: bool) -> Self
Bits: 14..15
Sourcepub fn set_vmcs_shadowing(&mut self, value: bool)
pub fn set_vmcs_shadowing(&mut self, value: bool)
Bits: 14..15
Sourcepub const fn enable_encls_exiting(&self) -> bool
pub const fn enable_encls_exiting(&self) -> bool
Bits: 15..16
Sourcepub const fn with_enable_encls_exiting(self, value: bool) -> Self
pub const fn with_enable_encls_exiting(self, value: bool) -> Self
Bits: 15..16
Sourcepub fn set_enable_encls_exiting(&mut self, value: bool)
pub fn set_enable_encls_exiting(&mut self, value: bool)
Bits: 15..16
Sourcepub const fn rdseed_exiting(&self) -> bool
pub const fn rdseed_exiting(&self) -> bool
Bits: 16..17
Sourcepub const fn with_rdseed_exiting(self, value: bool) -> Self
pub const fn with_rdseed_exiting(self, value: bool) -> Self
Bits: 16..17
Sourcepub fn set_rdseed_exiting(&mut self, value: bool)
pub fn set_rdseed_exiting(&mut self, value: bool)
Bits: 16..17
Sourcepub const fn enable_pml(&self) -> bool
pub const fn enable_pml(&self) -> bool
Bits: 17..18
Sourcepub const fn with_enable_pml(self, value: bool) -> Self
pub const fn with_enable_pml(self, value: bool) -> Self
Bits: 17..18
Sourcepub fn set_enable_pml(&mut self, value: bool)
pub fn set_enable_pml(&mut self, value: bool)
Bits: 17..18
Sourcepub const fn ept_violation_ve(&self) -> bool
pub const fn ept_violation_ve(&self) -> bool
Bits: 18..19
Sourcepub const fn with_ept_violation_ve(self, value: bool) -> Self
pub const fn with_ept_violation_ve(self, value: bool) -> Self
Bits: 18..19
Sourcepub fn set_ept_violation_ve(&mut self, value: bool)
pub fn set_ept_violation_ve(&mut self, value: bool)
Bits: 18..19
Sourcepub const fn conceal_vmx_from_pt(&self) -> bool
pub const fn conceal_vmx_from_pt(&self) -> bool
Bits: 19..20
Sourcepub const fn with_conceal_vmx_from_pt(self, value: bool) -> Self
pub const fn with_conceal_vmx_from_pt(self, value: bool) -> Self
Bits: 19..20
Sourcepub fn set_conceal_vmx_from_pt(&mut self, value: bool)
pub fn set_conceal_vmx_from_pt(&mut self, value: bool)
Bits: 19..20
Sourcepub const fn enable_xsaves_xrstors(&self) -> bool
pub const fn enable_xsaves_xrstors(&self) -> bool
Bits: 20..21
Sourcepub const fn with_enable_xsaves_xrstors(self, value: bool) -> Self
pub const fn with_enable_xsaves_xrstors(self, value: bool) -> Self
Bits: 20..21
Sourcepub fn set_enable_xsaves_xrstors(&mut self, value: bool)
pub fn set_enable_xsaves_xrstors(&mut self, value: bool)
Bits: 20..21
Sourcepub const fn pasid_translation(&self) -> bool
pub const fn pasid_translation(&self) -> bool
Bits: 21..22
Sourcepub const fn with_pasid_translation(self, value: bool) -> Self
pub const fn with_pasid_translation(self, value: bool) -> Self
Bits: 21..22
Sourcepub fn set_pasid_translation(&mut self, value: bool)
pub fn set_pasid_translation(&mut self, value: bool)
Bits: 21..22
Sourcepub const fn mode_based_execute_control(&self) -> bool
pub const fn mode_based_execute_control(&self) -> bool
Bits: 22..23
Sourcepub const fn with_mode_based_execute_control(self, value: bool) -> Self
pub const fn with_mode_based_execute_control(self, value: bool) -> Self
Bits: 22..23
Sourcepub fn set_mode_based_execute_control(&mut self, value: bool)
pub fn set_mode_based_execute_control(&mut self, value: bool)
Bits: 22..23
Sourcepub const fn sub_page_write_permissions(&self) -> bool
pub const fn sub_page_write_permissions(&self) -> bool
Bits: 23..24
Sourcepub const fn with_sub_page_write_permissions(self, value: bool) -> Self
pub const fn with_sub_page_write_permissions(self, value: bool) -> Self
Bits: 23..24
Sourcepub fn set_sub_page_write_permissions(&mut self, value: bool)
pub fn set_sub_page_write_permissions(&mut self, value: bool)
Bits: 23..24
Sourcepub const fn pt_uses_guest_physical_addresses(&self) -> bool
pub const fn pt_uses_guest_physical_addresses(&self) -> bool
Bits: 24..25
Sourcepub const fn with_pt_uses_guest_physical_addresses(self, value: bool) -> Self
pub const fn with_pt_uses_guest_physical_addresses(self, value: bool) -> Self
Bits: 24..25
Sourcepub fn set_pt_uses_guest_physical_addresses(&mut self, value: bool)
pub fn set_pt_uses_guest_physical_addresses(&mut self, value: bool)
Bits: 24..25
Sourcepub const fn use_tsc_scaling(&self) -> bool
pub const fn use_tsc_scaling(&self) -> bool
Bits: 25..26
Sourcepub const fn with_use_tsc_scaling(self, value: bool) -> Self
pub const fn with_use_tsc_scaling(self, value: bool) -> Self
Bits: 25..26
Sourcepub fn set_use_tsc_scaling(&mut self, value: bool)
pub fn set_use_tsc_scaling(&mut self, value: bool)
Bits: 25..26
Sourcepub const fn enable_user_wait_and_pause(&self) -> bool
pub const fn enable_user_wait_and_pause(&self) -> bool
Bits: 26..27
Sourcepub const fn with_enable_user_wait_and_pause(self, value: bool) -> Self
pub const fn with_enable_user_wait_and_pause(self, value: bool) -> Self
Bits: 26..27
Sourcepub fn set_enable_user_wait_and_pause(&mut self, value: bool)
pub fn set_enable_user_wait_and_pause(&mut self, value: bool)
Bits: 26..27
Sourcepub const fn enable_pconfig(&self) -> bool
pub const fn enable_pconfig(&self) -> bool
Bits: 27..28
Sourcepub const fn with_enable_pconfig(self, value: bool) -> Self
pub const fn with_enable_pconfig(self, value: bool) -> Self
Bits: 27..28
Sourcepub fn set_enable_pconfig(&mut self, value: bool)
pub fn set_enable_pconfig(&mut self, value: bool)
Bits: 27..28
Sourcepub const fn enable_enclv_exiting(&self) -> bool
pub const fn enable_enclv_exiting(&self) -> bool
Bits: 28..29
Sourcepub const fn with_enable_enclv_exiting(self, value: bool) -> Self
pub const fn with_enable_enclv_exiting(self, value: bool) -> Self
Bits: 28..29
Sourcepub fn set_enable_enclv_exiting(&mut self, value: bool)
pub fn set_enable_enclv_exiting(&mut self, value: bool)
Bits: 28..29
Sourcepub const fn vmm_bus_lock_detection(&self) -> bool
pub const fn vmm_bus_lock_detection(&self) -> bool
Bits: 30..31
Sourcepub const fn with_vmm_bus_lock_detection(self, value: bool) -> Self
pub const fn with_vmm_bus_lock_detection(self, value: bool) -> Self
Bits: 30..31
Sourcepub fn set_vmm_bus_lock_detection(&mut self, value: bool)
pub fn set_vmm_bus_lock_detection(&mut self, value: bool)
Bits: 30..31
Sourcepub const fn instruction_timeout(&self) -> bool
pub const fn instruction_timeout(&self) -> bool
Bits: 31..32
Sourcepub const fn with_instruction_timeout(self, value: bool) -> Self
pub const fn with_instruction_timeout(self, value: bool) -> Self
Bits: 31..32
Sourcepub fn set_instruction_timeout(&mut self, value: bool)
pub fn set_instruction_timeout(&mut self, value: bool)
Bits: 31..32
Trait Implementations§
Source§impl Clone for SecondaryProcessorControls
impl Clone for SecondaryProcessorControls
Source§fn clone(&self) -> SecondaryProcessorControls
fn clone(&self) -> SecondaryProcessorControls
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more