Struct x86defs::vmx::SecondaryProcessorControls
source · 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 moresource§impl Debug for SecondaryProcessorControls
impl Debug for SecondaryProcessorControls
source§impl Default for SecondaryProcessorControls
impl Default for SecondaryProcessorControls
source§impl From<SecondaryProcessorControls> for u32
impl From<SecondaryProcessorControls> for u32
source§fn from(v: SecondaryProcessorControls) -> u32
fn from(v: SecondaryProcessorControls) -> u32
source§impl From<u32> for SecondaryProcessorControls
impl From<u32> for SecondaryProcessorControls
impl Copy for SecondaryProcessorControls
Auto Trait Implementations§
impl Freeze for SecondaryProcessorControls
impl RefUnwindSafe for SecondaryProcessorControls
impl Send for SecondaryProcessorControls
impl Sync for SecondaryProcessorControls
impl Unpin for SecondaryProcessorControls
impl UnwindSafe for SecondaryProcessorControls
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
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)
clone_to_uninit
)