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.103 QWordIO (QWord IO Resource Descriptor Macro)<br />

Syntax<br />

QWordIO (ResourceUsage, IsMinFixed, IsMaxFixed, Decode, ISARanges, AddressGranularity,<br />

AddressMinimum, AddressMaximum, AddressTranslation, RangeLength, ResourceSourceIndex,<br />

ResourceSource, DescriptorName, TranslationType, TranslationDensity)<br />

Arguments<br />

ResourceUsage specifies whether the I/O range is consumed by this device (ResourceConsumer)<br />

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

is assumed.<br />

IsMinFixed specifies whether the minimum address of this I/O range is fixed (MinFixed) or can be<br />

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

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

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

IsMaxFixed specifies whether the maximum address of this I/O range is fixed (MaxFixed) or can be<br />

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

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

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

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

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

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

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

ISARanges specifies whether the I/O ranges specifies are limited to valid ISA I/O ranges (ISAOnly),<br />

valid non-ISA I/O ranges (NonISAOnly) or encompass the whole range without limitation<br />

(EntireRange). The 2-bit field DescriptorName._RNG is automatically created to refer to this<br />

portion of the resource descriptor, where ‘1’ is NonISAOnly, ‘2’ is ISAOnly <strong>and</strong> ‘0’ is EntireRange.<br />

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

which the I/O 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 I/<br />

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

‘1’. For bridge devices which translate addresses, this is the address on the secondary bus. The 64-bit<br />

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

descriptor.<br />

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

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

‘1’. For bridge devices which translate addresses, this is the address on the secondary bus. The 64-bit<br />

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

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

Version 6.0 875

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

Saved successfully!

Ooh no, something went wrong!