27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

19.6.133 ToInteger (Convert Data to Integer)<br />

Syntax<br />

ToInteger (Data, Result) => Integer<br />

Arguments<br />

Data must be an Integer, String, or Buffer data type.<br />

Description<br />

Data is converted to integer type <strong>and</strong> the result is optionally stored into Result. If Data is a string, it<br />

must be either a decimal or hexadecimal numeric string (in other words, prefixed by “0x”) <strong>and</strong> the<br />

value must not exceed the maximum of an integer value. If the value is exceeding the maximum, the<br />

result of the conversion is unpredictable. A null (zero-length) string is illegal. If Data is a Buffer, the<br />

first 8 bytes of the buffer are converted to an integer, taking the first byte as the least significant byte<br />

of the integer. A zero-length buffer is illegal. If Data is an integer, no action is performed.<br />

19.6.134 ToPLD (Creates a _PLD Buffer Object)<br />

Syntax<br />

ToPLD (PLDKeywordList) => _PLD Buffer Object<br />

Arguments<br />

PLDKeywordList is a list of PLDKeyword types that describe elements of a Physical Layer<br />

Description (_PLD) buffer that can be assigned values. The table below shows the available<br />

PLDKeyword types <strong>and</strong> their assignable types. Refer to the _PLD section for a description of the<br />

_PLD method object.<br />

Table 19-372 PLD Keywords <strong>and</strong> Assignment Types<br />

PLDKeyword<br />

PLD_Revision<br />

PLD_IgnoreColor<br />

PLD_Red<br />

PLD_Green<br />

PLD_Blue<br />

PLD_Width<br />

PLD_Height<br />

PLD_UserVisible<br />

PLD_Dock<br />

PLD_Lid<br />

PLD_Panel<br />

PLD_VerticalPosition<br />

PLD_HorizontalPosition<br />

PLD_Shape<br />

Assignment Type<br />

Integer<br />

Integer<br />

Integer<br />

Integer<br />

Integer<br />

Integer<br />

Integer<br />

Integer<br />

Integer<br />

Integer<br />

Integer or String<br />

Integer or String<br />

Integer or String<br />

Integer or String<br />

894 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!