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

Name (P1,<br />

Package () {1981, 1983, 1985, 1987, 1989, 1990, 1991, 1993, 1995, 1997, 1999, 2001}<br />

)<br />

// match 1993 == P1[i]<br />

Match (P1, MEQ, 1993, MTR, 0, 0) // -> 7, since P1[7] == 1993<br />

// match 1984 == P1[i]<br />

Match (P1, MEQ, 1984, MTR, 0, 0)<br />

// match P1[i] > 1984 <strong>and</strong> P1[i] ONES (not found)<br />

// -> 2, since P1[2]>1984 <strong>and</strong> P1[2] 1984 <strong>and</strong> P1[i] 3, first match at or past Start<br />

19.6.79 Memory24 (Memory Resource Descriptor Macro)<br />

Syntax<br />

Memory24 (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 16-bit integer that specifies bits [8:23] of the lowest possible base<br />

address of the memory range. All other bits are assumed to be zero. The value must be an even<br />

multiple of AddressAlignment. The 16-bit field DescriptorName._MIN is automatically created to<br />

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

AddressMaximum evaluates to a 16-bit integer that specifies bits [8:23] of the highest possible base<br />

address of the memory range. All other bits are assumed to be zero. The value must be an even<br />

multiple of AddressAlignment. The 16-bit field DescriptorName._MAX is automatically created to<br />

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

AddressAlignment evaluates to a 16-bit integer that specifies bits [0:15] of the required alignment for<br />

the memory range. All other bits are assumed to be zero. The address selected must be an even<br />

multiple of this value. The 16-bit field DescriptorName. _ALN is automatically created to refer to<br />

this portion of the resource descriptor.<br />

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

memory range. The 16-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 256<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 />

860 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!