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

Name<br />

\_PR<br />

\_SB<br />

\_SI<br />

\_TZ<br />

Description<br />

ACPI 1.0 Processor Namespace. ACPI 1.0 requires all Processor objects to be defined under<br />

this namespace. ACPI 2.0 <strong>and</strong> later allow Processor object definitions under the \_SB<br />

namespace. Platforms may maintain the \_PR namespace for compatibility with ACPI 1.0<br />

operating systems, but it is otherwise deprecated. see the compatibility note in<br />

Section 5.2.12.12. An ACPI-compatible namespace may define Processor objects in either the<br />

\_SB or \_PR scope but not both.<br />

For more information about defining Processor objects, see Section 8, “Processor<br />

<strong>Configuration</strong> <strong>and</strong> Control.”<br />

All Device/Bus Objects are defined under this namespace.<br />

System indicator objects are defined under this namespace. For more information about<br />

defining system indicators, see Section 9.1, \_SI System Indicators.”<br />

ACPI 1.0 Thermal Zone namespace. ACPI 1.0 requires all Thermal Zone objects to be defined<br />

under this namespace. Thermal Zone object definitions may now be defined under the \_SB<br />

namespace. ACPI-compatible systems may maintain the \_TZ namespace for compatibility<br />

with ACPI 1.0 operating systems. An ACPI-compatible namespace may define Thermal Zone<br />

objects in either the \_SB or \_TZ scope but not both.<br />

For more information about defining Thermal Zone objects, see Section 11, “Thermal<br />

Management.”<br />

5.3.2 Objects<br />

All objects, except locals, have a global scope. Local data objects have a per-invocation scope <strong>and</strong><br />

lifetime <strong>and</strong> are used to process the current invocation from beginning to end.<br />

The contents of objects vary greatly. Nevertheless, most objects refer to data variables of any<br />

supported data type, a control method, or system software-provided functions.<br />

Objects may contain a revision field. Successive ACPI specifications define object revisions so that<br />

they are backwards compatible with OSPM implementations that support previous specifications /<br />

object revisions. New object fields are added at the end of previous object definitions. OSPM<br />

interprets objects according to the revision number it supports including all earlier revisions. As<br />

such, OSPM expects that an object’s length can be greater than or equal to the length of the known<br />

object revision. When evaluating objects with revision numbers greater than that known by OSPM,<br />

OSPM ignores internal object fields values that are beyond the defined object field range for the<br />

known revision.<br />

5.4 Definition Block Encoding<br />

This section specifies the encoding used in a Definition Block to define names (load time only),<br />

objects, <strong>and</strong> packages. The Definition Block is encoded as a stream from beginning to end. The lead<br />

byte in the stream comes from the AML encoding tables shown in Section 19, “ACPI Source<br />

Language (ASL) Reference,” <strong>and</strong> signifies how to interpret some number of following bytes, where<br />

each following byte can in turn signify how to interpret some number of following bytes. For a full<br />

specification of the AML encoding, see Section 19, “ACPI Source Language (ASL) Reference.”<br />

Within the stream there are two levels of data being defined. One is the packaging <strong>and</strong> object<br />

declarations (load time), <strong>and</strong> the other is an object reference (package contents/run-time).<br />

Version 6.0 215

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

Saved successfully!

Ooh no, something went wrong!