Struct acpi::platform::PlatformInfo[][src]

pub struct PlatformInfo {
    pub power_profile: PowerProfile,
    pub interrupt_model: InterruptModel,
    pub processor_info: Option<ProcessorInfo>,
    pub pm_timer: Option<PmTimer>,
}
Expand description

PlatformInfo allows the collection of some basic information about the platform from some of the fixed-size tables in a nice way. It requires access to the FADT and MADT. It is the easiest way to get information about the processors and interrupt controllers on a platform.

Fields

power_profile: PowerProfileinterrupt_model: InterruptModelprocessor_info: Option<ProcessorInfo>

On x86_64 platforms that support the APIC, the processor topology must also be inferred from the interrupt model. That information is stored here, if present.

pm_timer: Option<PmTimer>

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.