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.

ACPI Source Language (ASL)Reference<br />

)<br />

Decode,<br />

MinType,<br />

MaxType,<br />

TypeSpecificFlags,<br />

AddressGranularity,<br />

MinAddress,<br />

MaxAddress,<br />

AddressTranslation,<br />

AddressLength,<br />

ResourceSourceIndex,<br />

ResourceSource,<br />

DescriptorName<br />

// Nothing (PosDecode) | DecodeKeyword (_DEC)<br />

// Nothing (MinNotFixed) | MinKeyword (_MIF)<br />

// Nothing (MaxNotFixed) | MaxKeyword (_MAF)<br />

// ByteConstExpr (_TSF)<br />

// WordConstExpr (_GRA)<br />

// WordConstExpr (_MIN)<br />

// WordConstExpr (_MAX)<br />

// WordConstExpr (_TRA)<br />

// WordConstExpr (_LEN)<br />

// Nothing | ByteConstExpr<br />

// Nothing | StringData<br />

// Nothing | NameString<br />

19.3 ASL Concepts<br />

This reference section is for developers who are writing ASL code while developing definition<br />

blocks for platforms.<br />

19.3.1 ASL Names<br />

This section describes how to encode object names using ASL.<br />

The following table lists the characters legal in any position in an ASL object name. ASL names are<br />

not case-sensitive <strong>and</strong> will be converted to upper case.<br />

Table 19-351 Named Object Reference Encodings<br />

Value Description Title<br />

0x41-0x5A, 0x5F, 0x61-0x7A Lead character of name<br />

LeadNameChar<br />

(‘A’–‘Z’, ‘_’ , ‘a’–‘z’)<br />

0x30-0x39, 0x41-0x5A, 0x5F, 0x61-<br />

0x7A<br />

Non-lead (trailing) character of name (‘A’–<br />

‘Z’, ‘_’, ‘a’–‘z’, ‘0’–‘9’)<br />

NameChar<br />

The following table lists the name modifiers that can be prefixed to an ASL name.<br />

Table 19-352 Definition Block Name Modifier Encodings<br />

Value Description NamePrefix := Followed by …<br />

0x5C Namespace root (‘\’) RootPrefix Name<br />

0x5E Parent namespace (‘^’) ParentPrefix ParentPrefix or Name<br />

19.3.1.1 _T_x Reserved Object Names<br />

The ACPI specification reserves object names with the prefix _T_ for internal use by the ASL<br />

compiler. The ASL compiler may, for example, use these objects to store temporary values when<br />

implementing translation of complicated control structures into AML. The ASL compiler must<br />

declare _T_x objects normally (using Name) <strong>and</strong> must not define them more than once within the<br />

same scope.<br />

Version 6.0 785

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

Saved successfully!

Ooh no, something went wrong!