pub struct HvEnlightenmentInformation(/* private fields */);
Implementations§
Source§impl HvEnlightenmentInformation
impl HvEnlightenmentInformation
Sourcepub const fn use_hypercall_for_address_space_switch(&self) -> bool
pub const fn use_hypercall_for_address_space_switch(&self) -> bool
Bits: 0..1
Sourcepub const fn with_use_hypercall_for_address_space_switch(
self,
value: bool,
) -> Self
pub const fn with_use_hypercall_for_address_space_switch( self, value: bool, ) -> Self
Bits: 0..1
Sourcepub fn set_use_hypercall_for_address_space_switch(&mut self, value: bool)
pub fn set_use_hypercall_for_address_space_switch(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn use_hypercall_for_local_flush(&self) -> bool
pub const fn use_hypercall_for_local_flush(&self) -> bool
Bits: 1..2
Sourcepub const fn with_use_hypercall_for_local_flush(self, value: bool) -> Self
pub const fn with_use_hypercall_for_local_flush(self, value: bool) -> Self
Bits: 1..2
Sourcepub fn set_use_hypercall_for_local_flush(&mut self, value: bool)
pub fn set_use_hypercall_for_local_flush(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn use_hypercall_for_remote_flush_and_local_flush_entire(
&self,
) -> bool
pub const fn use_hypercall_for_remote_flush_and_local_flush_entire( &self, ) -> bool
Bits: 2..3
Sourcepub const fn with_use_hypercall_for_remote_flush_and_local_flush_entire(
self,
value: bool,
) -> Self
pub const fn with_use_hypercall_for_remote_flush_and_local_flush_entire( self, value: bool, ) -> Self
Bits: 2..3
Sourcepub fn set_use_hypercall_for_remote_flush_and_local_flush_entire(
&mut self,
value: bool,
)
pub fn set_use_hypercall_for_remote_flush_and_local_flush_entire( &mut self, value: bool, )
Bits: 2..3
Sourcepub const fn use_apic_msrs(&self) -> bool
pub const fn use_apic_msrs(&self) -> bool
Bits: 3..4
Sourcepub const fn with_use_apic_msrs(self, value: bool) -> Self
pub const fn with_use_apic_msrs(self, value: bool) -> Self
Bits: 3..4
Sourcepub fn set_use_apic_msrs(&mut self, value: bool)
pub fn set_use_apic_msrs(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn use_hv_register_for_reset(&self) -> bool
pub const fn use_hv_register_for_reset(&self) -> bool
Bits: 4..5
Sourcepub const fn with_use_hv_register_for_reset(self, value: bool) -> Self
pub const fn with_use_hv_register_for_reset(self, value: bool) -> Self
Bits: 4..5
Sourcepub fn set_use_hv_register_for_reset(&mut self, value: bool)
pub fn set_use_hv_register_for_reset(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn use_relaxed_timing(&self) -> bool
pub const fn use_relaxed_timing(&self) -> bool
Bits: 5..6
Sourcepub const fn with_use_relaxed_timing(self, value: bool) -> Self
pub const fn with_use_relaxed_timing(self, value: bool) -> Self
Bits: 5..6
Sourcepub fn set_use_relaxed_timing(&mut self, value: bool)
pub fn set_use_relaxed_timing(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn use_dma_remapping_deprecated(&self) -> bool
pub const fn use_dma_remapping_deprecated(&self) -> bool
Bits: 6..7
Sourcepub const fn with_use_dma_remapping_deprecated(self, value: bool) -> Self
pub const fn with_use_dma_remapping_deprecated(self, value: bool) -> Self
Bits: 6..7
Sourcepub fn set_use_dma_remapping_deprecated(&mut self, value: bool)
pub fn set_use_dma_remapping_deprecated(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn use_interrupt_remapping_deprecated(&self) -> bool
pub const fn use_interrupt_remapping_deprecated(&self) -> bool
Bits: 7..8
Sourcepub const fn with_use_interrupt_remapping_deprecated(self, value: bool) -> Self
pub const fn with_use_interrupt_remapping_deprecated(self, value: bool) -> Self
Bits: 7..8
Sourcepub fn set_use_interrupt_remapping_deprecated(&mut self, value: bool)
pub fn set_use_interrupt_remapping_deprecated(&mut self, value: bool)
Bits: 7..8
Sourcepub const fn use_x2_apic_msrs(&self) -> bool
pub const fn use_x2_apic_msrs(&self) -> bool
Bits: 8..9
Sourcepub const fn with_use_x2_apic_msrs(self, value: bool) -> Self
pub const fn with_use_x2_apic_msrs(self, value: bool) -> Self
Bits: 8..9
Sourcepub fn set_use_x2_apic_msrs(&mut self, value: bool)
pub fn set_use_x2_apic_msrs(&mut self, value: bool)
Bits: 8..9
Sourcepub const fn deprecate_auto_eoi(&self) -> bool
pub const fn deprecate_auto_eoi(&self) -> bool
Bits: 9..10
Sourcepub const fn with_deprecate_auto_eoi(self, value: bool) -> Self
pub const fn with_deprecate_auto_eoi(self, value: bool) -> Self
Bits: 9..10
Sourcepub fn set_deprecate_auto_eoi(&mut self, value: bool)
pub fn set_deprecate_auto_eoi(&mut self, value: bool)
Bits: 9..10
Sourcepub const fn use_synthetic_cluster_ipi(&self) -> bool
pub const fn use_synthetic_cluster_ipi(&self) -> bool
Bits: 10..11
Sourcepub const fn with_use_synthetic_cluster_ipi(self, value: bool) -> Self
pub const fn with_use_synthetic_cluster_ipi(self, value: bool) -> Self
Bits: 10..11
Sourcepub fn set_use_synthetic_cluster_ipi(&mut self, value: bool)
pub fn set_use_synthetic_cluster_ipi(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn use_ex_processor_masks(&self) -> bool
pub const fn use_ex_processor_masks(&self) -> bool
Bits: 11..12
Sourcepub const fn with_use_ex_processor_masks(self, value: bool) -> Self
pub const fn with_use_ex_processor_masks(self, value: bool) -> Self
Bits: 11..12
Sourcepub fn set_use_ex_processor_masks(&mut self, value: bool)
pub fn set_use_ex_processor_masks(&mut self, value: bool)
Bits: 11..12
Sourcepub const fn with_nested(self, value: bool) -> Self
pub const fn with_nested(self, value: bool) -> Self
Bits: 12..13
Sourcepub fn set_nested(&mut self, value: bool)
pub fn set_nested(&mut self, value: bool)
Bits: 12..13
Sourcepub const fn use_int_for_mbec_system_calls(&self) -> bool
pub const fn use_int_for_mbec_system_calls(&self) -> bool
Bits: 13..14
Sourcepub const fn with_use_int_for_mbec_system_calls(self, value: bool) -> Self
pub const fn with_use_int_for_mbec_system_calls(self, value: bool) -> Self
Bits: 13..14
Sourcepub fn set_use_int_for_mbec_system_calls(&mut self, value: bool)
pub fn set_use_int_for_mbec_system_calls(&mut self, value: bool)
Bits: 13..14
Sourcepub const fn use_vmcs_enlightenments(&self) -> bool
pub const fn use_vmcs_enlightenments(&self) -> bool
Bits: 14..15
Sourcepub const fn with_use_vmcs_enlightenments(self, value: bool) -> Self
pub const fn with_use_vmcs_enlightenments(self, value: bool) -> Self
Bits: 14..15
Sourcepub fn set_use_vmcs_enlightenments(&mut self, value: bool)
pub fn set_use_vmcs_enlightenments(&mut self, value: bool)
Bits: 14..15
Sourcepub const fn use_synced_timeline(&self) -> bool
pub const fn use_synced_timeline(&self) -> bool
Bits: 15..16
Sourcepub const fn with_use_synced_timeline(self, value: bool) -> Self
pub const fn with_use_synced_timeline(self, value: bool) -> Self
Bits: 15..16
Sourcepub fn set_use_synced_timeline(&mut self, value: bool)
pub fn set_use_synced_timeline(&mut self, value: bool)
Bits: 15..16
Sourcepub const fn core_scheduler_requested(&self) -> bool
pub const fn core_scheduler_requested(&self) -> bool
Bits: 16..17
Sourcepub const fn with_core_scheduler_requested(self, value: bool) -> Self
pub const fn with_core_scheduler_requested(self, value: bool) -> Self
Bits: 16..17
Sourcepub fn set_core_scheduler_requested(&mut self, value: bool)
pub fn set_core_scheduler_requested(&mut self, value: bool)
Bits: 16..17
Sourcepub const fn use_direct_local_flush_entire(&self) -> bool
pub const fn use_direct_local_flush_entire(&self) -> bool
Bits: 17..18
Sourcepub const fn with_use_direct_local_flush_entire(self, value: bool) -> Self
pub const fn with_use_direct_local_flush_entire(self, value: bool) -> Self
Bits: 17..18
Sourcepub fn set_use_direct_local_flush_entire(&mut self, value: bool)
pub fn set_use_direct_local_flush_entire(&mut self, value: bool)
Bits: 17..18
Sourcepub const fn no_non_architectural_core_sharing(&self) -> bool
pub const fn no_non_architectural_core_sharing(&self) -> bool
Bits: 18..19
Sourcepub const fn with_no_non_architectural_core_sharing(self, value: bool) -> Self
pub const fn with_no_non_architectural_core_sharing(self, value: bool) -> Self
Bits: 18..19
Sourcepub fn set_no_non_architectural_core_sharing(&mut self, value: bool)
pub fn set_no_non_architectural_core_sharing(&mut self, value: bool)
Bits: 18..19
Sourcepub const fn use_x2_apic(&self) -> bool
pub const fn use_x2_apic(&self) -> bool
Bits: 19..20
Sourcepub const fn with_use_x2_apic(self, value: bool) -> Self
pub const fn with_use_x2_apic(self, value: bool) -> Self
Bits: 19..20
Sourcepub fn set_use_x2_apic(&mut self, value: bool)
pub fn set_use_x2_apic(&mut self, value: bool)
Bits: 19..20
Sourcepub const fn restore_time_on_resume(&self) -> bool
pub const fn restore_time_on_resume(&self) -> bool
Bits: 20..21
Sourcepub const fn with_restore_time_on_resume(self, value: bool) -> Self
pub const fn with_restore_time_on_resume(self, value: bool) -> Self
Bits: 20..21
Sourcepub fn set_restore_time_on_resume(&mut self, value: bool)
pub fn set_restore_time_on_resume(&mut self, value: bool)
Bits: 20..21
Sourcepub const fn use_hypercall_for_mmio_access(&self) -> bool
pub const fn use_hypercall_for_mmio_access(&self) -> bool
Bits: 21..22
Sourcepub const fn with_use_hypercall_for_mmio_access(self, value: bool) -> Self
pub const fn with_use_hypercall_for_mmio_access(self, value: bool) -> Self
Bits: 21..22
Sourcepub fn set_use_hypercall_for_mmio_access(&mut self, value: bool)
pub fn set_use_hypercall_for_mmio_access(&mut self, value: bool)
Bits: 21..22
Sourcepub const fn use_gpa_pinning_hypercall(&self) -> bool
pub const fn use_gpa_pinning_hypercall(&self) -> bool
Bits: 22..23
Sourcepub const fn with_use_gpa_pinning_hypercall(self, value: bool) -> Self
pub const fn with_use_gpa_pinning_hypercall(self, value: bool) -> Self
Bits: 22..23
Sourcepub fn set_use_gpa_pinning_hypercall(&mut self, value: bool)
pub fn set_use_gpa_pinning_hypercall(&mut self, value: bool)
Bits: 22..23
Sourcepub const fn with_wake_vps(self, value: bool) -> Self
pub const fn with_wake_vps(self, value: bool) -> Self
Bits: 23..24
Sourcepub fn set_wake_vps(&mut self, value: bool)
pub fn set_wake_vps(&mut self, value: bool)
Bits: 23..24
Sourcepub const fn long_spin_wait_count(&self) -> u32
pub const fn long_spin_wait_count(&self) -> u32
Bits: 32..64
Sourcepub const fn with_long_spin_wait_count(self, value: u32) -> Self
pub const fn with_long_spin_wait_count(self, value: u32) -> Self
Bits: 32..64
Sourcepub fn set_long_spin_wait_count(&mut self, value: u32)
pub fn set_long_spin_wait_count(&mut self, value: u32)
Bits: 32..64
Sourcepub const fn implemented_physical_address_bits(&self) -> u32
pub const fn implemented_physical_address_bits(&self) -> u32
Bits: 64..71
Sourcepub const fn with_implemented_physical_address_bits(self, value: u32) -> Self
pub const fn with_implemented_physical_address_bits(self, value: u32) -> Self
Bits: 64..71
Sourcepub fn set_implemented_physical_address_bits(&mut self, value: u32)
pub fn set_implemented_physical_address_bits(&mut self, value: u32)
Bits: 64..71
Trait Implementations§
Source§impl Clone for HvEnlightenmentInformation
impl Clone for HvEnlightenmentInformation
Source§fn clone(&self) -> HvEnlightenmentInformation
fn clone(&self) -> HvEnlightenmentInformation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more