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

19.6 ASL Operator Reference<br />

This section describes each of the ASL operators. The syntax for each operator is given, with a<br />

description of each argument <strong>and</strong> an overall description of the operator behavior. Example ASL<br />

code is provided for the more complex operators.<br />

ASL operators can be categorized as follows:<br />

• Named Object creation<br />

• Method execution control (If, Else, While, etc.)<br />

• Integer math<br />

• Logical operators<br />

• Resource Descriptor macros<br />

• Object conversion<br />

• Utility/Miscellaneous<br />

19.6.1 AccessAs (Change Field Unit Access)<br />

Syntax<br />

AccessAs (AccessType, AccessAttribute)<br />

AccessAs (AccessType, AccessAttribute (AccessLength))<br />

Arguments<br />

AccessType is an AccessTypeKeyword that specifies the type of access desired (ByteAcc,<br />

WordAcc, etc.). AccessAttribute is an optional argument of type AccessAttributeKeyword that<br />

specifies additional protocols to be used, such as AttribQuick, AttribSendReceive, etc.<br />

AccessLength is a required argument for some of the Access Attributes.<br />

Description<br />

The AccessAs operator is used within a FieldList to specify the Access Type, Access Attributes, <strong>and</strong><br />

Access Length for the remaining FieldUnits within the list (or until another AccessAs operator is<br />

encountered.) It allows FieldUnits to have different access types within a single Field definition.<br />

Supported AccessTypes:<br />

• AnyAcc<br />

• ByteAcc<br />

• WordAcc<br />

• DwordAcc<br />

• QWordAcc<br />

• BufferAcc<br />

Supported simple AccessAttributes (with SMBus synonyms):<br />

• AttribQuick (SMBQuick)<br />

• AttribSendReceive (SMBSendReceive)<br />

Version 6.0 809

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

Saved successfully!

Ooh no, something went wrong!