Struct acpi::sdt::SdtHeader [−][src]
All SDTs share the same header, and are length
bytes long. The signature tells us which SDT
this is.
The ACPI Spec (Version 6.2) defines the following SDT signatures: “APIC” - Multiple APIC Descriptor Table (MADT) “BGRT” - Boot Graphics Resource Table “BERT” - Boot Error Record Table “CPEP” - Corrected Platform Error Polling Table “DSDT” - Differentiated System Descriptor Table “ECDT” - Embedded Controller Boot Resources Table “EINJ” - Error Injection Table “ERST” - Error Record Serialization Table “FACP” - Fixed ACPI Description Table (FADT) “FACS” - Firmware ACPI Control Structure “FPDT” - Firmware Performance Data Table “GTDT” - Generic Timer Description Table “HEST” - Hardware Error Source Table “HMAT” - Heterogeneous Memory Attributes Table “MSCT” - Maximum System Characteristics Table “MPST” - Memory Power State Table “NFIT” - NVDIMM Firmware Interface Table “OEMx” - Various OEM-specific tables “PDTT” - Platform Debug Trigger Table “PMTT” - Platform Memory Topology Table “PPTT” - Processor Properties Topology Table “PSDT” - Persistent System Description Table “RASF” - ACPI RAS Feature Table “RSDT” - Root System Descriptor Table “SBST” - Smart Battery Specification Table “SLIT” - System Locality Information Table “SRAT” - System Resource Affinity Table “SSDT” - Secondary System Description Table “XSDT” - eXtended System Descriptor Table
We’ve come across some more ACPI tables in the wild: “WAET” - Windows ACPI Emulated device Table
Fields
signature: Signature
length: u32
revision: u8
checksum: u8
oem_id: [u8; 6]
oem_table_id: [u8; 8]
oem_revision: u32
creator_id: u32
creator_revision: u32
Implementations
impl SdtHeader
[src]
pub fn validate(&self, signature: Signature) -> Result<(), AcpiError>
[src]
Check that: a) The signature matches the one given b) The checksum of the SDT
This assumes that the whole SDT is mapped.
pub fn oem_id<'a>(&'a self) -> &'a str
[src]
pub fn oem_table_id<'a>(&'a self) -> &'a str
[src]
Trait Implementations
impl Clone for SdtHeader
[src]
fn clone(&self) -> SdtHeader
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SdtHeader
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,