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.

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

ASL Data Type<br />

Event<br />

Field Unit (within an<br />

Operation Region)<br />

Description<br />

Event synchronization object<br />

Portion of an address space, bit-aligned <strong>and</strong> of one-bit granularity. Created using<br />

Field, BankField, or IndexField.<br />

Integer An n-bit little-endian unsigned integer. In ACPI 1.0 this was 32 bits. In ACPI 2.0<br />

<strong>and</strong> later, this is 64 bits. The Integer (DWORD) designation indicates that only the<br />

lower 32 bits have meaning <strong>and</strong> the upper 32 bits of 64-bit integers must be zero<br />

(masking of upper bits is not required).<br />

Integer Constant Created by the ASL terms “Zero”, “One”, “Ones”, <strong>and</strong> “Revision”.<br />

Method<br />

Control Method (Executable AML function)<br />

Mutex<br />

Mutex synchronization object<br />

Object Reference Reference to an object created using the RefOf, Index, or CondRefOf operators<br />

Operation Region Operation Region (A region within an Address Space)<br />

Package Collection of ASL objects with a fixed number of elements (up to 255).<br />

<strong>Power</strong> Resource <strong>Power</strong> Resource description object<br />

Processor<br />

Processor description object<br />

RawDataBuffer An array of bytes. Uninitialized elements are zero by default. RawDataBuffer does<br />

not contain any AML encoding bytes, only the raw bytes.<br />

String<br />

Null-terminated ASCII string.<br />

Thermal Zone<br />

Thermal Zone description object<br />

Note: (Compatibility Note) The ability to store <strong>and</strong> manipulate object references was first introduced in<br />

ACPI 2.0. In ACPI 1.0 references could not be stored in variables, passed as parameters or<br />

returned from functions.<br />

19.3.5.1 Data Type Conversion Overview<br />

ASL provides two mechanisms to convert objects from one data type to another data type at run-time<br />

(during execution of the AML interpreter). The first mechanism, Explicit Data Type Conversion,<br />

allows the use of explicit ASL operators to convert an object to a different data type. The second<br />

mechanism, Implicit Data Type Conversion, is invoked by the AML interpreter when it is necessary<br />

to convert a data object to an expected data type before it is used or stored.<br />

The following general rules apply to data type conversions:<br />

• Input parameters are always subject to implicit data type conversion (also known as implicit<br />

source oper<strong>and</strong> conversion) whenever the oper<strong>and</strong> type does not match the expected input type.<br />

• Output (target) parameters for all operators except the explicit data conversion operators are<br />

subject to implicit data type conversion (also known as implicit result object conversion)<br />

whenever the target is an existing named object or named field that is of a different type than the<br />

object to be stored.<br />

• Output parameters for the explicit data conversion operators, as well as output parameters that<br />

refer to a method local or argument (LocalX or ArgX) are not subject to implicit type<br />

conversion.<br />

790 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!