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 Source Language (ASL)Reference<br />

Both of these mechanisms (explicit <strong>and</strong> implicit conversion) are described in detail in the sections<br />

that follow.<br />

19.3.5.2 Explicit Data Type Conversions<br />

The following ASL operators are provided to explicitly convert an object from one data type to<br />

another:<br />

EISAID<br />

FromBCD<br />

Fprintf<br />

Printf<br />

ToBCD<br />

ToBuffer<br />

Converts a 7-character text argument into its corresponding 4-byte numeric EISA ID<br />

encoding.<br />

Convert an Integer to a BCD Integer<br />

Converts a format string to a series of string Concatenate operations <strong>and</strong> stores the<br />

result to a Named Object.<br />

Converts a format string to a series of string Concatenate operations <strong>and</strong> stores the<br />

result to the Debug Object.<br />

Convert a BCD Integer to a st<strong>and</strong>ard binary Integer.<br />

Convert an Integer, String, or Buffer to an object of type Buffer<br />

ToDecimalString<br />

ToHexString<br />

Convert an Integer, String, or Buffer to an object of type String. The string contains<br />

the ASCII representation of the decimal value of the source oper<strong>and</strong>.<br />

Convert an Integer, String, or Buffer to an object of type String. The string contains<br />

the ASCII representation of the hexadecimal value of the source oper<strong>and</strong>.<br />

ToInteger<br />

ToPLD<br />

ToString<br />

Convert an Integer, String, or Buffer to an object of type Integer.<br />

Converts a PLD Keyword List into a _PLD buffer.<br />

Copy directly <strong>and</strong> convert a Buffer to an object of type String.<br />

ToUUID<br />

Convert an ASCII string to a UUID Buffer.<br />

The following ASL operators are provided to copy <strong>and</strong> transfer objects:<br />

Version 6.0 791

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

Saved successfully!

Ooh no, something went wrong!