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.

Processor <strong>Configuration</strong> <strong>and</strong> Control<br />

<strong>Power</strong>Resource(PWRA,0,0) {…}<br />

<strong>Power</strong>Resource(PWRB,0,0) {…}<br />

<strong>Power</strong>Resource(PWRC,0,0) {…}<br />

<strong>Power</strong>Resource(PWRD,0,0) {…}<br />

<strong>Power</strong>Resource(PWRE,0,1) {…}<br />

Device (FOO) {<br />

_S0W(4)<br />

//Device in D3Cold can wake system from S0-idle<br />

Name(_PR0,Package(){PWRA, PWRB, PWRC})<br />

Name(_PR2,Package(){PWRA, PWRB})<br />

Name(_PR3,Package(){PWRA})<br />

Name(_PRE,Package(){PWRD})<br />

Name(_PRW,Package(){0, 0, PWRD} // PWRD must be ON for FOO to wake system<br />

}<br />

Device (BAR) {<br />

_S0W(3)<br />

Name(_PR0,Package(){PWRA, PWRB})<br />

Name(_PR3,Package(){PWRC})<br />

Name(_PRW,Package(){PWRC})<br />

// Device in D3Hot can wake system from S0-idle<br />

// PWRC must be ON for BAR to wake system<br />

}<br />

Device (BAH) {<br />

_S0W(0)<br />

}<br />

Name(_PR0,Package(){PWRA, PWRB, PWRC})<br />

Device (SYM) {<br />

Name(_RDI,<br />

Package() {<br />

0, // Version<br />

Package(){}<br />

…<br />

Package(){PWRA, PWRB}<br />

// This device can only wake the system from<br />

// S0-idle if it is in D0<br />

// Local State 1 is Shallow;<br />

// Devices FOO, BAR <strong>and</strong> BAH can wake<br />

// the system if enabled for wake<br />

// RDI for Local State 2. State is deeper<br />

// Device BAH cannot wake the system if this<br />

// state is used, as it needs PWRA <strong>and</strong> PWRB<br />

// to be able to wake the system<br />

Package(){PWRA, PWRB, PWRC} // RDI for Local State 3.<br />

// Devices BAH <strong>and</strong> BAR cannot wake<br />

// the system, BAH needs PWRA, PWRB<br />

// <strong>and</strong> PWRC, <strong>and</strong> BAR needs PWRC<br />

// for all devices<br />

Package(){PWRA, PWRB, PWRC, PWRD} // None of the devices listed<br />

// above could wake the system<br />

})<br />

The example above declares a set of power resources (PWRA/B/C/D). Additionally, it has four<br />

system level local states that have the following dependencies:<br />

• LPI 1: Has no power resources dependencies<br />

• LPI 2: Requires PWRA <strong>and</strong> PWRB to be off<br />

• LPI 3: Requires PWRA, PWRB <strong>and</strong> PWRC to be off<br />

• LPI 4: Requires all of the power resources in the example to be off<br />

Version 6.0 457

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

Saved successfully!

Ooh no, something went wrong!