27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Advanced</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Power</strong> <strong>Interface</strong> <strong>Specification</strong><br />

by the GPE0_BLK <strong>and</strong> GPE1_BLK register blocks, <strong>and</strong> the generic hardware registers can be in any<br />

of the defined ACPI address spaces. A device’s generic hardware programming model is described<br />

through an associated object in the ACPI Namespace, which specifies the bit’s function, location,<br />

address space, <strong>and</strong> address location.<br />

The programming model for devices is normally broken into status <strong>and</strong> control functions. Status bits<br />

are used to generate an event that allows OSPM to call a control method associated with the pending<br />

status bit. The called control method can then control the hardware by manipulating the hardware<br />

control bits or by investigating child status bits <strong>and</strong> calling their respective control methods. ACPI<br />

requires that the top level “parent” event status <strong>and</strong> enable bits reside in either the GPE0_STS or<br />

GPE1_STS registers, <strong>and</strong> “child” event status bits can reside in generic address space.<br />

The example below illustrates some of these concepts. The top diagram shows how the logic is<br />

partitioned into two chips: a chipset <strong>and</strong> an embedded controller.<br />

• The chipset contains the interrupt logic, performs the power button (which is part of the fixed<br />

register space, <strong>and</strong> is not discussed here), the lid switch (used in portables to indicate when the<br />

clam shell lid is open or closed), <strong>and</strong> the RI# function (which can be used to wake a sleeping<br />

system).<br />

• The embedded controller chip is used to perform the AC power detect <strong>and</strong> dock/undock event<br />

logic. Additionally, the embedded controller supports some system management functions using<br />

an OS-transparent interrupt in the embedded controller (represented by the EXTSMI# signal).<br />

94 April, 2015 Version 6.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!