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

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

resource template buffer. The predefined descriptor field names may be appended to this name to<br />

access individual fields within the descriptor via the Buffer Field operators.<br />

TranslationType is an optional argument that specifies whether the resource type on the secondary<br />

side of the bus is different (TypeTranslation) from that on the primary side of the bus or the same<br />

(TypeStatic). If TypeTranslation is specified, then the secondary side of the bus is Memory. If<br />

TypeStatic is specified, then the secondary side of the bus is I/O. If nothing is specified, then<br />

TypeStatic is assumed. The 1-bit field DescriptorName._TTP is automatically created to refer to this<br />

portion of the resource descriptor, where ‘1’ is TypeTranslation <strong>and</strong> ‘0’ is TypeStatic. See _TTP<br />

(page 365) for more information<br />

TranslationDensity is an optional argument that specifies whether or not the translation from the<br />

primary to secondary bus is sparse (SparseTranslation) or dense (DenseTranslation). It is only<br />

used when TranslationType is TypeTranslation. If nothing is specified, then DenseTranslation is<br />

assumed. The 1-bit field DescriptorName._TRS is automatically created to refer to this portion of<br />

the resource descriptor, where ‘1’ is SparseTranslation <strong>and</strong> ‘0’ is DenseTranslation. See _TRS<br />

(page 366) for more information.<br />

Description<br />

The DWordIO macro evaluates to a buffer which contains a 32-bit I/O range resource descriptor.<br />

The format of the 32-bit I/O range resource descriptor can be found in “DWord Address Space<br />

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

19.6.34 DWordMemory (DWord Memory Resource Descriptor Macro)<br />

Syntax<br />

DWordMemory (ResourceUsage, Decode, IsMinFixed, IsMaxFixed, Cacheable, ReadAndWrite,<br />

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

ResourceSourceIndex, ResourceSource, DescriptorName, MemoryRangeType, TranslationType)<br />

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

Version 6.0 825

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

Saved successfully!

Ooh no, something went wrong!