#[repr(C, packed(1))]pub struct Waet {
pub header: Sdt,
pub emulated_device_flags: u32,
}
Expand description
The Windows ACPI Emulated devices Table (WAET) allows virtualized OSes to avoid workarounds for errata on physical devices.
https://download.microsoft.com/download/7/E/7/7E7662CF-CBEA-470B-A97E-CE7CE0D98DC2/WAET.docx
Fields§
§header: Sdt
§emulated_device_flags: u32
Implementations§
source§impl Waet
impl Waet
sourcepub fn get(acpi_tables: &AcpiTables) -> Option<&Waet>
pub fn get(acpi_tables: &AcpiTables) -> Option<&Waet>
Finds the WAET in the given AcpiTables
and returns a reference to it.
sourcepub fn rtc_good(&self) -> bool
pub fn rtc_good(&self) -> bool
Returns whether the RTC has been enhanced not to require acknowledgment after it asserts an interrupt.
If this returns true
, an interrupt handler can bypass
reading the RTC register to unlatch the pending interrupt.
sourcepub fn acpi_pm_timer_good(&self) -> bool
pub fn acpi_pm_timer_good(&self) -> bool
Returns whether the ACPI PM timer has been enhanced not to require multiple reads.
If this returns true
, only a single read of the ACPI PM timer is
necessary to obtain a reliable value from it.
Trait Implementations§
impl Copy for Waet
impl FromBytes for Waet
Auto Trait Implementations§
impl RefUnwindSafe for Waet
impl Send for Waet
impl Sync for Waet
impl Unpin for Waet
impl UnwindSafe for Waet
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
Mutably borrows from an owned value. Read more