pub struct FixedFeatureFlags(/* private fields */);Implementations§
Source§impl FixedFeatureFlags
impl FixedFeatureFlags
Sourcepub fn supports_equivalent_to_wbinvd(&self) -> bool
pub fn supports_equivalent_to_wbinvd(&self) -> bool
If true, an equivalent to the x86 WBINVD instruction is supported. All caches will be flushed and invalidated upon completion of this instruction, and memory coherency is properly maintained. The cache SHALL only contain what OSPM references or allows to be cached.
Sourcepub fn wbinvd_flushes_all_caches(&self) -> bool
pub fn wbinvd_flushes_all_caches(&self) -> bool
If true, WBINVD properly flushes all caches and memory coherency is maintained, but caches may not be invalidated.
Sourcepub fn all_procs_support_c1_power_state(&self) -> bool
pub fn all_procs_support_c1_power_state(&self) -> bool
If true, all processors implement the C1 power state.
Sourcepub fn c2_configured_for_mp_system(&self) -> bool
pub fn c2_configured_for_mp_system(&self) -> bool
If true, the C2 power state is configured to work on a uniprocessor and multiprocessor system.
If true, the power button is handled as a control method device. If false, the power button is handled as a fixed-feature programming model.
If true, the sleep button is handled as a control method device. If false, the sleep button is handled as a fixed-feature programming model.
Sourcepub fn no_rtc_wake_in_fixed_register_space(&self) -> bool
pub fn no_rtc_wake_in_fixed_register_space(&self) -> bool
If true, the RTC wake status is not supported in fixed register space.
Sourcepub fn rtc_wakes_system_from_s4(&self) -> bool
pub fn rtc_wakes_system_from_s4(&self) -> bool
If true, the RTC alarm function can wake the system from an S4 sleep state.
Sourcepub fn pm_timer_is_32_bit(&self) -> bool
pub fn pm_timer_is_32_bit(&self) -> bool
If true, indicates that the PM timer is a 32-bit value. If false, the PM timer is a 24-bit value and the remaining 8 bits are clear.
Sourcepub fn supports_docking(&self) -> bool
pub fn supports_docking(&self) -> bool
If true, the system supports docking.
Sourcepub fn supports_system_reset_via_fadt(&self) -> bool
pub fn supports_system_reset_via_fadt(&self) -> bool
If true, the system supports system reset via the reset_reg field of the FADT.
Sourcepub fn case_is_sealed(&self) -> bool
pub fn case_is_sealed(&self) -> bool
If true, the system supports no expansion capabilities and the case is sealed.
Sourcepub fn system_is_headless(&self) -> bool
pub fn system_is_headless(&self) -> bool
If true, the system cannot detect the monitor or keyboard/mouse devices.
Sourcepub fn use_instr_after_write_to_slp_typx(&self) -> bool
pub fn use_instr_after_write_to_slp_typx(&self) -> bool
If true, OSPM must use a processor instruction after writing to the SLP_TYPx register.
Sourcepub fn supports_pciexp_wake_in_pm1(&self) -> bool
pub fn supports_pciexp_wake_in_pm1(&self) -> bool
If set, the platform supports the PCIEXP_WAKE_STS and PCIEXP_WAKE_EN bits in the PM1 status and enable registers.
Sourcepub fn use_pm_or_hpet_for_monotonically_decreasing_timers(&self) -> bool
pub fn use_pm_or_hpet_for_monotonically_decreasing_timers(&self) -> bool
If true, OSPM should use the ACPI power management timer or HPET for monotonically-decreasing timers.
Sourcepub fn rtc_sts_is_valid_after_wakeup_from_s4(&self) -> bool
pub fn rtc_sts_is_valid_after_wakeup_from_s4(&self) -> bool
If true, the contents of the RTC_STS register are valid after wakeup from S4.
Sourcepub fn ospm_may_leave_gpe_wake_events_armed_before_s5(&self) -> bool
pub fn ospm_may_leave_gpe_wake_events_armed_before_s5(&self) -> bool
If true, the platform supports OSPM leaving GPE wake events armed prior to an S5 transition.
Sourcepub fn lapics_must_use_cluster_model_for_logical_mode(&self) -> bool
pub fn lapics_must_use_cluster_model_for_logical_mode(&self) -> bool
If true, all LAPICs must be configured using the cluster destination model when delivering interrupts in logical mode.
Sourcepub fn local_xapics_must_use_physical_destination_mode(&self) -> bool
pub fn local_xapics_must_use_physical_destination_mode(&self) -> bool
If true, all LXAPICs must be configured using physical destination mode.
Sourcepub fn system_is_hw_reduced_acpi(&self) -> bool
pub fn system_is_hw_reduced_acpi(&self) -> bool
If true, this system is a hardware-reduced ACPI platform, and software methods are used for fixed-feature functions defined in chapter 4 of the ACPI specification.
Sourcepub fn no_benefit_to_s3(&self) -> bool
pub fn no_benefit_to_s3(&self) -> bool
If true, the system can achieve equal or better power savings in an S0 power state, making an S3 transition useless.
Trait Implementations§
Source§impl Clone for FixedFeatureFlags
impl Clone for FixedFeatureFlags
Source§fn clone(&self) -> FixedFeatureFlags
fn clone(&self) -> FixedFeatureFlags
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FixedFeatureFlags
impl Debug for FixedFeatureFlags
impl Copy for FixedFeatureFlags
Auto Trait Implementations§
impl Freeze for FixedFeatureFlags
impl RefUnwindSafe for FixedFeatureFlags
impl Send for FixedFeatureFlags
impl Sync for FixedFeatureFlags
impl Unpin for FixedFeatureFlags
impl UnwindSafe for FixedFeatureFlags
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)