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

Description<br />

The WordBusNumber macro evaluates to a buffer which contains a 16-bit bus-number resource<br />

descriptor. The format of the 16-bit bus number resource descriptor can be found in “Word Address<br />

Space Descriptor ” (page 360). The macro is designed to be used inside of a ResourceTemplate<br />

(page 882).<br />

19.6.145 WordIO (Word IO Resource Descriptor Macro)<br />

Syntax<br />

WordIO (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 16-bit integer that specifies the power-of-two boundary (- 1) on<br />

which the I/O range must be aligned. The 16-bit field DescriptorName. _GRA is automatically<br />

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

AddressMinimum evaluates to a 16-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 16-bit<br />

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

descriptor.<br />

AddressMaximum evaluates to a 16-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 16-bit<br />

Version 6.0 903

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

Saved successfully!

Ooh no, something went wrong!