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

Arguments<br />

ResourceType evaluates to an 8-bit integer that specifies the type of this resource. Acceptable values<br />

are 0xC0 through 0xFF.<br />

ResourceUsage specifies whether the Memory range is consumed by this device<br />

(ResourceConsumer) or passed on to child devices (ResourceProducer). If nothing is specified,<br />

then ResourceConsumer is assumed.<br />

Decode specifies whether or not the device decodes the Memory range using positive (PosDecode)<br />

or subtractive (SubDecode) decode. If nothing is specified, then PosDecode is assumed. The 1-bit<br />

field DescriptorName. _DEC is automatically created to refer to this portion of the resource<br />

descriptor, where ‘1’ is SubDecode <strong>and</strong> ‘0’ is PosDecode.<br />

IsMinFixed specifies whether the minimum address of this Memory range is fixed (MinFixed) or<br />

can be changed (MinNotFixed). If nothing is specified, then MinNotFixed is assumed. The 1-bit<br />

field DescriptorName. _MIF is automatically created to refer to this portion of the resource<br />

descriptor, where ‘1’ is MinFixed <strong>and</strong> ‘0’ is MinNotFixed.<br />

IsMaxFixed specifies whether the maximum address of this Memory range is fixed (MaxFixed) or<br />

can be changed (MaxNotFixed). If nothing is specified, then MaxNotFixed is assumed. The 1-bit<br />

field DescriptorName. _MAF is automatically created to refer to this portion of the resource<br />

descriptor, where ‘1’ is MaxFixed <strong>and</strong> ‘0’ is MaxNotFixed.<br />

TypeSpecificFlags evaluates to an 8-bit integer. The flags are specific to the ResourceType.<br />

AddressGranularity evaluates to a 64-bit integer that specifies the power-of-two boundary (- 1) on<br />

which the Memory range must be aligned. The 64-bit field DescriptorName. _GRA is automatically<br />

created to refer to this portion of the resource descriptor.<br />

AddressMinimum evaluates to a 64-bit integer that specifies the lowest possible base address of the<br />

Memory range. The value must have ‘0’ in all bits where the corresponding bit in<br />

AddressGranularity is ‘1’. For bridge devices which translate addresses, this is the address on the<br />

secondary bus. The 64-bit field DescriptorName._MIN is automatically created to refer to this<br />

portion of the resource descriptor.<br />

AddressMaximum evaluates to a 64-bit integer that specifies the highest possible base address of the<br />

Memory range. The value must have ‘0’ in all bits where the corresponding bit in<br />

AddressGranularity is ‘1’. For bridge devices which translate addresses, this is the address on the<br />

secondary bus. The 64-bit field DescriptorName._MAX is automatically created to refer to this<br />

portion of the resource descriptor.<br />

AddressTranslation evaluates to a 64-bit integer that specifies the offset to be added to a secondary<br />

bus I/O address which results in the corresponding primary bus I/O address. For all non-bridge<br />

devices or bridges which do not perform translation, this must be ‘0’. The 64-bit field<br />

DescriptorName._TRA is automatically created to refer to this portion of the resource descriptor.<br />

RangeLength evaluates to a 64-bit integer that specifies the total number of bytes decoded in the<br />

Memory range. The 64-bit field DescriptorName. _LEN is automatically created to refer to this<br />

portion of the resource descriptor.<br />

TypeSpecificAttributes is an optional argument that specifies attributes specific to this resource type.<br />

See Section 6.4.3.5.4.1,”Type Specific Attributes”.<br />

DescriptorName is an optional argument that specifies a name for an integer constant that will be<br />

created in the current scope that contains the offset of this resource descriptor within the current<br />

Version 6.0 835

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

Saved successfully!

Ooh no, something went wrong!