Skip to main content

EmbeddedControllerBootResourcesTable

Struct EmbeddedControllerBootResourcesTable 

Source
#[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: GenericAddressStructure

Contains 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: GenericAddressStructure

Contains 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: u32

Unique ID-Same as the value returned by the _UID under the device in the namespace that represents this embedded controller.

§gpe_bit: u8

The 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

Source§

fn clone(&self) -> EmbeddedControllerBootResourcesTable

Returns a duplicate 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 Copy for EmbeddedControllerBootResourcesTable

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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, 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.