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

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

Description<br />

The Memory24 macro evaluates to a buffer which contains an 24-bit memory descriptor. The<br />

format of the 24-bit memory descriptor can be found in “24-Bit Memory Range Descriptor ”<br />

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

Note: The use of Memory24 is deprecated <strong>and</strong> should not be used in new designs.<br />

19.6.80 Memory32 (Memory Resource Descriptor Macro)<br />

Syntax<br />

Memory32 (ReadAndWrite, AddressMinimum, AddressMaximum, AddressAlignment,<br />

RangeLength, DescriptorName)<br />

Arguments<br />

ReadAndWrite specifies whether or not the memory region is read-only (ReadOnly) or read/write<br />

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

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

where ‘1’ is ReadWrite <strong>and</strong> ‘0’ is ReadOnly.<br />

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

memory range. The value must be an even multiple of AddressAlignment. The 32-bit field<br />

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

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

memory range. The value must be an even multiple of AddressAlignment. The 32-bit field<br />

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

AddressAlignment evaluates to a 32-bit integer that specifies the required alignment for the memory<br />

range. The address selected must be an even multiple of this value. The 32-bit field DescriptorName.<br />

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

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

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

portion of the resource descriptor. The range length provides the length of the memory range in 1<br />

byte blocks.<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 />

Description<br />

The Memory32 macro evaluates to a buffer which contains a 32-bit memory descriptor, which<br />

describes a memory range with a minimum, a maximum <strong>and</strong> an alignment. The format of the 32-bit<br />

memory descriptor can be found in “32-Bit Memory Range Descriptor ” (page 351). The macro is<br />

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

Version 6.0 861

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

Saved successfully!

Ooh no, something went wrong!