27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ACPI Software Programming Model<br />

(1)<br />

Method (DEAD,) {<br />

Scope (\_SB_.FOO) {<br />

Name (BAR,) // Run time definition<br />

}<br />

}<br />

(2)<br />

Scope (\_SB_) {<br />

Name (\_SB_. FOO.BAR,) // Load time definition<br />

}<br />

Notice that in the above example the execution of the DEAD method will always fail because the<br />

object \_SB_.FOO.BAR is created at load time.<br />

5.5 Using the ACPI Control Method Source Language<br />

OEMs <strong>and</strong> BIOS vendors write definition blocks using the ACPI Control Method Source language<br />

(ASL) <strong>and</strong> use a translator to produce the byte stream encoding described in Section 5.4, “Definition<br />

Block Encoding”. For example, the ASL statements that produce the example byte stream shown in<br />

that earlier section are shown in the following ASL example. For a full specification of the ASL<br />

statements, see Section 19, “ACPI Source Language (ASL) Reference.”<br />

Version 6.0 217

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

Saved successfully!

Ooh no, something went wrong!