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 />

Table 5-140 ACPI Event Programming Model Components<br />

Component<br />

OSPM<br />

FADT<br />

PM1x_STS <strong>and</strong><br />

PM1x_EN fixed<br />

registers<br />

GPEx_STS <strong>and</strong><br />

GPEx_EN fixed<br />

registers<br />

SCI interrupt<br />

ACPI AML code<br />

general-purpose event<br />

model<br />

ACPI device-specific<br />

model events<br />

ACPI Embedded<br />

Controller event model<br />

Description<br />

Receives all SCI interrupts raised (receives all SCI events). Either h<strong>and</strong>les the<br />

event or masks the event off <strong>and</strong> later invokes an OEM-provided control method to<br />

h<strong>and</strong>le the event. Events h<strong>and</strong>led directly by OSPM are fixed ACPI events;<br />

interrupts h<strong>and</strong>led by control methods are general-purpose events.<br />

Specifies the base address for the following fixed register blocks on an ACPIcompatible<br />

platform: PM1x_STS <strong>and</strong> PM1x_EN fixed registers <strong>and</strong> the GPEx_STS<br />

<strong>and</strong> GPEx_EN fixed registers.<br />

PM1x_STS bits raise fixed ACPI events. While a PM1x_STS bit is set, if the<br />

matching PM1x_EN bit is set, the ACPI SCI event is raised.<br />

GPEx_STS bits that raise general-purpose events. For every event bit<br />

implemented in GPEx_STS, there must be a comparable bit in GPEx_EN. Up to<br />

256 GPEx_STS bits <strong>and</strong> matching GPEx_EN bits can be implemented. While a<br />

GPEx_STS bit is set, if the matching GPEx_EN bit is set, then the general-purpose<br />

SCI event is raised.<br />

A level-sensitive, shareable interrupt mapped to a declared interrupt vector. The<br />

SCI interrupt vector can be shared with other low-priority interrupts that have a low<br />

frequency of occurrence.<br />

A model that allows OEM AML code to use GPEx_STS events. This includes using<br />

GPEx_STS events as “wake” sources as well as other general service events<br />

defined by the OEM (“button pressed,” “thermal event,” “device present/not present<br />

changed,” <strong>and</strong> so on).<br />

Devices in the ACPI namespace that have ACPI-specific device IDs can provide<br />

additional event model functionality. In particular, the ACPI embedded controller<br />

device provides a generic event model.<br />

A model that allows OEM AML code to use the response from the Embedded<br />

Controller Query comm<strong>and</strong> to provide general-service event defined by the OEM.<br />

5.6.2 Types of ACPI Events<br />

At the ACPI hardware level, two types of events can be signaled by an SCI interrupt:<br />

• Fixed ACPI events<br />

• General-purpose events<br />

In turn, the general-purpose events can be used to provide further levels of events to the system.<br />

And, as in the case of the embedded controller, a well-defined second-level event dispatching is<br />

defined to make a third type of typical ACPI event. For the flexibility common in today’s designs,<br />

two first-level general-purpose event blocks are defined, <strong>and</strong> the embedded controller construct<br />

allows a large number of embedded controller second-level event-dispatching tables to be supported.<br />

Then if needed, the OEM can also build additional levels of event dispatching by using AML code<br />

on a general-purpose event to sub-dispatch in an OEM defined manner.<br />

242 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!