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

Name (BUF1, Buffer (10))<br />

Add (0x1234, 0x789A, BUF1)<br />

Since BUF1 is a named object of fixed type Buffer, the Integer result of the Add operation must be<br />

converted to a Buffer before it is stored into BUF1.<br />

19.3.5.6 Data Types <strong>and</strong> Type Conversions<br />

The following table lists the available ASL data types <strong>and</strong> the available data type conversions (if<br />

any) for each. The entry for each data type is fully cross-referenced, showing both the types to which<br />

the object may be converted as well as all other types that may be converted to the data type.<br />

The allowable conversions apply to both explicit <strong>and</strong> implicit conversions.<br />

Table 19-356 Data Types <strong>and</strong> Type Conversions<br />

ASL Data Type<br />

[Uninitialized]<br />

Can be implicitly or explicitly converted to<br />

these Data Types: (In priority order)<br />

None. Causes a fatal error when used as<br />

a source oper<strong>and</strong> in any ASL statement.<br />

Buffer Integer, String, Debug Object Integer, String<br />

Can be implicitly or explicitly<br />

converted from these Data Types:<br />

Integer, String, Buffer, Package, DDB<br />

H<strong>and</strong>le, Object Reference<br />

Buffer Field Integer, Buffer, String, Debug Object Integer, Buffer, String<br />

DDB H<strong>and</strong>le Integer, Debug Object Integer<br />

Debug Object<br />

None. Causes a fatal error when used as<br />

a source oper<strong>and</strong> in any ASL statement.<br />

Device None None<br />

Event None None<br />

Integer, String, Buffer, Package, Field<br />

Unit, Buffer Field, DDB H<strong>and</strong>le<br />

Field Unit (within an<br />

Operation Region)<br />

Integer, Buffer, String, Debug Object<br />

Integer, Buffer, String<br />

Integer<br />

Buffer, Buffer Field, DDB H<strong>and</strong>le, Field Buffer, String<br />

Unit, String, Debug Object<br />

Integer Constant Integer, Debug Object None. Also, storing any object to a<br />

constant is a no-op, not an error.<br />

Method None None<br />

Mutex None None<br />

Object Reference None None<br />

Operation Region None None<br />

Package Debug Object None<br />

String Integer, Buffer, Debug Object Integer, Buffer<br />

<strong>Power</strong> Resource None None<br />

Processor None None<br />

RawDataBuffer None None<br />

Thermal Zone None None<br />

794 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!