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.

<strong>Advanced</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Power</strong> <strong>Interface</strong> <strong>Specification</strong><br />

ResourceSource is an optional argument which evaluates to a string containing the path of a device<br />

which produces the pool of resources from which this Memory range is allocated. If this argument is<br />

specified, but the ResourceSourceIndex argument is not specified, a zero value is assumed.<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 />

MemoryRangeType is an optional argument that specifies the memory usage. The memory can be<br />

marked as normal (AddressRangeMemory), used as ACPI NVS space (AddressRangeNVS), used<br />

as ACPI reclaimable space (AddressRangeACPI) or as system reserved<br />

(AddressRangeReserved). If nothing is specified, then AddressRangeMemory is assumed. The 2-<br />

bit field DescriptorName. _MTP is automatically created in order to refer to this portion of the<br />

resource descriptor, where ‘0’ is AddressRangeMemory, ‘1’ is AddressRangeReserved, ‘2’ is<br />

AddressRangeACPI <strong>and</strong> ‘3’ is AddressRangeNVS.<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 I/O. If TypeStatic<br />

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

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

the resource descriptor, where ‘1’ is TypeTranslation <strong>and</strong> ‘0’ is TypeStatic. See _TTP (page 365) for<br />

more information.<br />

Description<br />

The QWordMemory macro evaluates to a buffer which contains a 64-bit memory resource<br />

descriptor, which describes a range of memory addresses. The format of the 64-bit memory resource<br />

descriptor can be found in “QWord Address Space Descriptor ” (page 354). The macro is designed<br />

to be used inside of a ResourceTemplate (page 882).<br />

19.6.105 QWordSpace (QWord Space Resource Descriptor Macro)<br />

Syntax<br />

QWordSpace (ResourceType, ResourceUsage, Decode, IsMinFixed, IsMaxFixed,<br />

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

RangeLength, ResourceSourceIndex, ResourceSource, DescriptorName)<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 />

878 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!