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