acpi 6.1.1

A pure-Rust library for interacting with ACPI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::sdt::Signature;
use core::sync::atomic::AtomicU32;

#[repr(C)]
pub struct Facs {
    pub signature: Signature,
    pub length: u32,
    pub hardware_signature: u32,
    pub firmware_waking_vector: u32,
    pub global_lock: AtomicU32,
    pub flags: u32,
    pub x_firmware_waking_vector: u64,
    pub version: u8,
    _reserved0: [u8; 3],
    pub ospm_flags: u32,
    reserved1: [u8; 24],
}