pub struct Fadt<'a>(/* private fields */);
Expand description
The FADT table
Implementations§
Source§impl<'a> Fadt<'a>
impl<'a> Fadt<'a>
pub fn header(&self) -> AcpiTableHeader<'_>
pub fn facs(&self) -> u32
pub fn dsdt(&self) -> u32
pub fn model(&self) -> u8
pub fn preferred_profile(&self) -> u8
pub fn sci_interrupt(&self) -> u16
pub fn smi_command(&self) -> u32
pub fn ffi_acpi_enable(&self) -> u8
pub fn ffi_acpi_disable(&self) -> u8
pub fn s4_bios_request(&self) -> u8
pub fn pstate_control(&self) -> u8
pub fn pm1a_event_block(&self) -> u32
pub fn pm1b_event_block(&self) -> u32
pub fn pm1a_control_block(&self) -> u32
pub fn pm1b_control_block(&self) -> u32
pub fn pm2_control_block(&self) -> u32
pub fn pm_timer_block(&self) -> u32
pub fn gpe0_block(&self) -> u32
pub fn gpe1_block(&self) -> u32
pub fn pm1_event_length(&self) -> u8
pub fn pm1_control_length(&self) -> u8
pub fn pm2_control_length(&self) -> u8
pub fn pm_timer_length(&self) -> u8
pub fn gpe0_block_length(&self) -> u8
pub fn gpe1_block_length(&self) -> u8
pub fn gpe1_base(&self) -> u8
pub fn cst_control(&self) -> u8
pub fn c2_latency(&self) -> u16
pub fn c3_latency(&self) -> u16
pub fn flush_size(&self) -> u16
pub fn flush_stride(&self) -> u16
pub fn duty_offset(&self) -> u8
pub fn duty_width(&self) -> u8
pub fn day_alarm(&self) -> u8
pub fn month_alarm(&self) -> u8
pub fn century(&self) -> u8
pub fn flags(&self) -> u32
Source§impl<'a> Fadt<'a>
impl<'a> Fadt<'a>
Sourcepub fn boot_architecture_flags(&self) -> Option<BootArchitectureFlags>
pub fn boot_architecture_flags(&self) -> Option<BootArchitectureFlags>
Gets the boot_architecture_flags
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn reset_register(&self) -> Option<AcpiGenericAddress>
pub fn reset_register(&self) -> Option<AcpiGenericAddress>
Gets the reset_register
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn reset_value(&self) -> Option<u8>
pub fn reset_value(&self) -> Option<u8>
Gets the reset_value
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn arm_boot_flags(&self) -> Option<u16>
pub fn arm_boot_flags(&self) -> Option<u16>
Gets the arm_boot_flags
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn minor_revision(&self) -> Option<u8>
pub fn minor_revision(&self) -> Option<u8>
Gets the minor_revision
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn x_facs(&self) -> Option<u64>
pub fn x_facs(&self) -> Option<u64>
Gets the x_facs
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn x_dsdt(&self) -> Option<u64>
pub fn x_dsdt(&self) -> Option<u64>
Gets the x_dsdt
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn x_pm1a_event_block(&self) -> Option<AcpiGenericAddress>
pub fn x_pm1a_event_block(&self) -> Option<AcpiGenericAddress>
Gets the x_pm1a_event_block
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn x_pm1b_event_block(&self) -> Option<AcpiGenericAddress>
pub fn x_pm1b_event_block(&self) -> Option<AcpiGenericAddress>
Gets the x_pm1b_event_block
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn x_pm1a_control_block(&self) -> Option<AcpiGenericAddress>
pub fn x_pm1a_control_block(&self) -> Option<AcpiGenericAddress>
Gets the x_pm1a_control_block
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn x_pm1b_control_block(&self) -> Option<AcpiGenericAddress>
pub fn x_pm1b_control_block(&self) -> Option<AcpiGenericAddress>
Gets the x_pm1b_control_block
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn x_pm2_control_block(&self) -> Option<AcpiGenericAddress>
pub fn x_pm2_control_block(&self) -> Option<AcpiGenericAddress>
Gets the x_pm2_control_block
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn x_pm_timer_block(&self) -> Option<AcpiGenericAddress>
pub fn x_pm_timer_block(&self) -> Option<AcpiGenericAddress>
Gets the x_pm_timer_block
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn x_gpe0_block(&self) -> Option<AcpiGenericAddress>
pub fn x_gpe0_block(&self) -> Option<AcpiGenericAddress>
Gets the x_gpe0_block
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn x_gpe1_block(&self) -> Option<AcpiGenericAddress>
pub fn x_gpe1_block(&self) -> Option<AcpiGenericAddress>
Gets the x_gpe1_block
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 2.0+ of ACPI.
Sourcepub fn sleep_control(&self) -> Option<AcpiGenericAddress>
pub fn sleep_control(&self) -> Option<AcpiGenericAddress>
Gets the sleep_control
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 5.0+ of ACPI.
Sourcepub fn sleep_status(&self) -> Option<AcpiGenericAddress>
pub fn sleep_status(&self) -> Option<AcpiGenericAddress>
Gets the sleep_status
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 5.0+ of ACPI.
Sourcepub fn hypervisor_id(&self) -> Option<u64>
pub fn hypervisor_id(&self) -> Option<u64>
Gets the hypervisor_id
field of the FADT, if the ACPI version in use supports it.
This field is available in versions 6.0+ of ACPI.