#[repr(C, packed(1))]pub struct Fadt {Show 55 fields
pub facs: u32,
pub dsdt: u32,
pub rsvd: u8,
pub preferred_pm_profile: u8,
pub sci_int: u16,
pub smi_cmd: u32,
pub acpi_enable: u8,
pub acpi_disable: u8,
pub s4bios_req: u8,
pub pstate_cnt: u8,
pub pm1a_evt_blk: u32,
pub pm1b_evt_blk: u32,
pub pm1a_cnt_blk: u32,
pub pm1b_cnt_blk: u32,
pub pm2_cnt_blk: u32,
pub pm_tmr_blk: u32,
pub gpe0_blk: u32,
pub gpe1_blk: u32,
pub pm1_evt_len: u8,
pub pm1_cnt_len: u8,
pub pm2_cnt_len: u8,
pub pm_tmr_len: u8,
pub gpe0_blk_len: u8,
pub gpe1_blk_len_len: u8,
pub gpe1_base: u8,
pub cst_cnt: u8,
pub p_lvl2_lat: u16,
pub p_lvl3_lat: u16,
pub flush_size: u16,
pub flush_stride: u16,
pub duty_offset: u8,
pub duty_width: u8,
pub day_alrm: u8,
pub mon_alrm: u8,
pub century: u8,
pub iapc_boot_arch: u16,
pub rsvd2: u8,
pub flags: u32,
pub reset_reg: GenericAddress,
pub reset_value: u8,
pub arm_boot_arch: u16,
pub minor_version: u8,
pub x_firmware_ctrl: u64,
pub x_dsdt: u64,
pub x_pm1a_evt_blk: GenericAddress,
pub x_pm1b_evt_blk: GenericAddress,
pub x_pm1a_cnt_blk: GenericAddress,
pub x_pm1b_cnt_blk: GenericAddress,
pub x_pm2_cnt_blk: GenericAddress,
pub x_pm_tmr_blk: GenericAddress,
pub x_gpe0_blk: GenericAddress,
pub x_gpe1_blk: GenericAddress,
pub sleep_control_reg: GenericAddress,
pub sleep_status_reg: GenericAddress,
pub hypervisor_vendor_identity: u64,
}
Fields§
§facs: u32
§dsdt: u32
§rsvd: u8
§preferred_pm_profile: u8
§sci_int: u16
§smi_cmd: u32
§acpi_enable: u8
§acpi_disable: u8
§s4bios_req: u8
§pstate_cnt: u8
§pm1a_evt_blk: u32
§pm1b_evt_blk: u32
§pm1a_cnt_blk: u32
§pm1b_cnt_blk: u32
§pm2_cnt_blk: u32
§pm_tmr_blk: u32
§gpe0_blk: u32
§gpe1_blk: u32
§pm1_evt_len: u8
§pm1_cnt_len: u8
§pm2_cnt_len: u8
§pm_tmr_len: u8
§gpe0_blk_len: u8
§gpe1_blk_len_len: u8
§gpe1_base: u8
§cst_cnt: u8
§p_lvl2_lat: u16
§p_lvl3_lat: u16
§flush_size: u16
§flush_stride: u16
§duty_offset: u8
§duty_width: u8
§day_alrm: u8
§mon_alrm: u8
§century: u8
§iapc_boot_arch: u16
§rsvd2: u8
§flags: u32
§reset_reg: GenericAddress
§reset_value: u8
§arm_boot_arch: u16
§minor_version: u8
§x_firmware_ctrl: u64
§x_dsdt: u64
§x_pm1a_evt_blk: GenericAddress
§x_pm1b_evt_blk: GenericAddress
§x_pm1a_cnt_blk: GenericAddress
§x_pm1b_cnt_blk: GenericAddress
§x_pm2_cnt_blk: GenericAddress
§x_pm_tmr_blk: GenericAddress
§x_gpe0_blk: GenericAddress
§x_gpe1_blk: GenericAddress
§sleep_control_reg: GenericAddress
§sleep_status_reg: GenericAddress
§hypervisor_vendor_identity: u64
Trait Implementations§
Source§impl IntoBytes for Fadt
impl IntoBytes for Fadt
Source§impl KnownLayout for Fadtwhere
u64: KnownLayout,
impl KnownLayout for Fadtwhere
u64: KnownLayout,
Source§type PointerMetadata = <u64 as KnownLayout>::PointerMetadata
type PointerMetadata = <u64 as KnownLayout>::PointerMetadata
The type of metadata stored in a pointer to
Self
. Read moreimpl Copy for Fadt
impl Immutable for Fadt
impl Unaligned for Fadt
Auto Trait Implementations§
impl Freeze for Fadt
impl RefUnwindSafe for Fadt
impl Send for Fadt
impl Sync for Fadt
impl Unpin for Fadt
impl UnwindSafe for Fadt
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