Struct FixedDescription

Source
#[repr(C, packed(1))]
pub struct FixedDescription {
Show 54 fields pub header: DescriptionHeader, pub firmware_api_ctrl_addr_32: u32, pub diff_description_addr_32: u32, pub preferred_power_profile: u8, pub sci_interrupt: u16, pub smi_command_port: u32, pub smi_command_acpi_enable: u8, pub smi_command_acpi_disable: u8, pub smi_command_s4_bios_enter: u8, pub smi_command_cpu_state_enable: u8, pub pm_event_port_block_1a_32: u32, pub pm_event_port_block_1b_32: u32, pub pm_cntrl_port_block_1a_32: u32, pub pm_cntrl_port_block_1b_32: u32, pub pm_cntrl_port_block_2_32: u32, pub pm_timer_port_block_32: u32, pub general_event_port_block_0_32: u32, pub general_event_port_block_1_32: u32, pub pm_event_port_block_1_length: u8, pub pm_cntrl_port_block_1_length: u8, pub pm_cntrl_port_block_2_length: u8, pub pm_timer_port_block_length: u8, pub general_event_port_block_0_length: u8, pub general_event_port_block_1_length: u8, pub general_event_port_block_1_base: u8, pub smi_command_c_state_enable: u8, pub cpu_c2_latency: u16, pub cpu_c3_latency: u16, pub cache_flush_stride_count: u16, pub cache_flush_stride_width: u16, pub cpu_duty_cycle_register_offset: u8, pub cpu_duty_cycle_register_width: u8, pub rtc_day_alarm_index: u8, pub rtc_month_alarm_index: u8, pub rtc_century_alarm_index: u8, pub pc_boot_architecture_flags: u16, pub flags: FixedFlags, pub reset_register: GenericAddress, pub reset_register_value: u8, pub arm_boot_architecture_flags: u16, pub revision_minor: u8, pub firmware_api_ctrl_addr_64: u64, pub diff_description_addr_64: u64, pub pm_event_port_block_1a_64: GenericAddress, pub pm_event_port_block_1b_64: GenericAddress, pub pm_control_port_block_1a_64: GenericAddress, pub pm_control_port_block_1b_64: GenericAddress, pub pm_control_port_block_2_64: GenericAddress, pub pm_timer_port_block_64: GenericAddress, pub general_event_port_block_0_64: GenericAddress, pub general_event_port_block_1_64: GenericAddress, pub sleep_control_register_addr: GenericAddress, pub sleep_status_register_addr: GenericAddress, pub hypervisor_vendor: u64, /* private fields */
}
Expand description

Fixed ACPI Description Table (FADT)

Fields§

§header: DescriptionHeader§firmware_api_ctrl_addr_32: u32§diff_description_addr_32: u32§preferred_power_profile: u8§sci_interrupt: u16§smi_command_port: u32§smi_command_acpi_enable: u8§smi_command_acpi_disable: u8§smi_command_s4_bios_enter: u8§smi_command_cpu_state_enable: u8§pm_event_port_block_1a_32: u32§pm_event_port_block_1b_32: u32§pm_cntrl_port_block_1a_32: u32§pm_cntrl_port_block_1b_32: u32§pm_cntrl_port_block_2_32: u32§pm_timer_port_block_32: u32§general_event_port_block_0_32: u32§general_event_port_block_1_32: u32§pm_event_port_block_1_length: u8§pm_cntrl_port_block_1_length: u8§pm_cntrl_port_block_2_length: u8§pm_timer_port_block_length: u8§general_event_port_block_0_length: u8§general_event_port_block_1_length: u8§general_event_port_block_1_base: u8§smi_command_c_state_enable: u8§cpu_c2_latency: u16§cpu_c3_latency: u16§cache_flush_stride_count: u16§cache_flush_stride_width: u16§cpu_duty_cycle_register_offset: u8§cpu_duty_cycle_register_width: u8§rtc_day_alarm_index: u8§rtc_month_alarm_index: u8§rtc_century_alarm_index: u8§pc_boot_architecture_flags: u16§flags: FixedFlags§reset_register: GenericAddress§reset_register_value: u8§arm_boot_architecture_flags: u16§revision_minor: u8§firmware_api_ctrl_addr_64: u64§diff_description_addr_64: u64§pm_event_port_block_1a_64: GenericAddress§pm_event_port_block_1b_64: GenericAddress§pm_control_port_block_1a_64: GenericAddress§pm_control_port_block_1b_64: GenericAddress§pm_control_port_block_2_64: GenericAddress§pm_timer_port_block_64: GenericAddress§general_event_port_block_0_64: GenericAddress§general_event_port_block_1_64: GenericAddress§sleep_control_register_addr: GenericAddress§sleep_status_register_addr: GenericAddress§hypervisor_vendor: u64

Trait Implementations§

Source§

impl Clone for FixedDescription

Source§

fn clone(&self) -> FixedDescription

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FixedDescription

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for FixedDescription

Source§

fn eq(&self, other: &FixedDescription) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for FixedDescription

Source§

impl Eq for FixedDescription

Source§

impl StructuralPartialEq for FixedDescription

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.