#[repr(C, packed(1))]pub struct EmbeddedControllerBootResourcesTable {
pub header: SDTHeader,
pub ec_control: GenericAddressStructure,
pub ec_data: GenericAddressStructure,
pub uid: u32,
pub gpe_bit: u8,
pub ec_id: [u8; 0],
}Expand description
§Embedded Controller Boot Resources Table (ECDT)
This optional table provides the processor-relative, translated resources of an Embedded Controller. The presence of this table allows OSPM to provide Embedded Controller operation region space access before the namespace has been evaluated. If this table is not provided, the Embedded Controller region space will not be available until the Embedded Controller device in the AML namespace has been discovered and enumerated. The availability of the region space can be detected by providing a _REG method object underneath the Embedded Controller device.
Fields§
§header: SDTHeader- Signature - “ECDT”
ec_control: GenericAddressStructureContains the processor relative address, represented in Generic Address Structure format, of the Embedded Controller Command/Status register.
Note: Only System I/O space and System Memory space are valid for values for address_space_id.
ec_data: GenericAddressStructureContains the processor-relative address, represented in Generic Address Structure format, of the Embedded Controller Data register.
Note: Only System I/O space and System Memory space are valid for values for address_space_id.
uid: u32Unique ID-Same as the value returned by the _UID under the device in the namespace that represents this embedded controller.
gpe_bit: u8The bit assignment of the SCI interrupt within the GPEx_STS register of a GPE block described in the FADT that the embedded controller triggers.
ec_id: [u8; 0]ASCII, null terminated, string that contains a fully qualified reference to the namespace object that is this embedded controller device (for example, “_SB.PCI0.ISA.EC”). Quotes are omitted in the data field.
Implementations§
Trait Implementations§
Source§impl Clone for EmbeddedControllerBootResourcesTable
impl Clone for EmbeddedControllerBootResourcesTable
Source§fn clone(&self) -> EmbeddedControllerBootResourcesTable
fn clone(&self) -> EmbeddedControllerBootResourcesTable
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more