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

Reserved<br />

0x0A-0x7F<br />

In addition, OEMs may define Operation Regions types 0x80 to 0xFF.<br />

Example<br />

The following example ASL code shows the use of OperationRegion combined with Field to<br />

describe IDE 0 <strong>and</strong> 1 controlled through general I/O space, using one FET.<br />

OperationRegion (GIO, SystemIO, 0x125, 0x1)<br />

Field (GIO, ByteAcc, NoLock, Preserve) {<br />

IDEI, 1, // IDEISO_EN - isolation buffer<br />

IDEP, 1, // IDE_PWR_EN - power<br />

IDER, 1 // IDERST#_EN - reset#<br />

}<br />

19.6.98 Or (Integer Bitwise Or)<br />

Syntax<br />

Or (Source1, Source2, Result) => Integer<br />

Result = Source1 | Source2 => Integer<br />

Result |= Source1 => Integer<br />

Arguments<br />

Source1 <strong>and</strong> Source2 are evaluated as Integers.<br />

Description<br />

A bitwise OR is performed <strong>and</strong> the result is optionally stored in Result.<br />

19.6.99 Package (Declare Package Object)<br />

Syntax<br />

Package (NumElements) {PackageList} => Package<br />

Arguments<br />

NumElements is evaluated as an Integer. PackageList is an initializer list of objects.<br />

Description<br />

Declares an unnamed aggregation of data items, constants, <strong>and</strong>/or references to control methods.<br />

The size of the package is NumElements. PackageList contains the list data items, constants, <strong>and</strong>/or<br />

control method references used to initialize the package.<br />

If NumElements is absent, it is set to match the number of elements in the PackageList. If<br />

NumElements is present <strong>and</strong> greater than the number of elements in the PackageList, the default<br />

entry of type Uninitialized (see ObjectType) is used to initialize the package elements beyond those<br />

initialized from the PackageList. There are two types of package elements allowed in the<br />

Version 6.0 871

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

Saved successfully!

Ooh no, something went wrong!