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.

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

Description<br />

The Interrupt macro evaluates to a buffer that contains an interrupt resource descriptor. The format<br />

of the interrupt resource descriptor can be found in “Extended Interrupt Descriptor ” (page 343). The<br />

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

19.6.63 IO (IO Resource Descriptor Macro)<br />

Syntax<br />

IO (Decode, AddressMin, AddressMax, AddressAlignment, RangeLength, DescriptorName) =><br />

Buffer<br />

Argument<br />

Decode describes whether the I/O range uses 10-bit decode (Decode10) or 16-bit decode<br />

(Decode16). The field DescriptorName. _DEC is automatically created to refer to this portion of the<br />

resource descriptor, where ‘1’ is Decode16 <strong>and</strong> ‘0’ is Decode10.<br />

AddressMin evaluates to a 16-bit integer that specifies the minimum acceptable starting address for<br />

the I/O range. It must be an even multiple of AddressAlignment. The field DescriptorName._MIN is<br />

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

AddressMax evaluates to a 16-bit integer that specifies the maximum acceptable starting address for<br />

the I/O range. It must be an even multiple of AddressAlignment. The field DescriptorName._MAX is<br />

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

AddressAlignment evaluates to an 8-bit integer that specifies the alignment granularity for the I/O<br />

address assigned. The field DescriptorName. _ALN is automatically created to refer to this portion<br />

of the resource descriptor.<br />

RangeLength evaluates to an 8-bit integer that specifies the number of bytes in the I/O range. The<br />

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

descriptor.<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 IO macro evaluates to a buffer which contains an IO resource descriptor. The format of the IO<br />

descriptor can be found in “I/O Port Descriptor” (page 343). The macro is designed to be used inside<br />

of a ResourceTemplate (page 882).<br />

19.6.64 IRQ (Interrupt Resource Descriptor Macro)<br />

Syntax<br />

IRQ (EdgeLevel, ActiveLevel, Shared, DescriptorName) {InterruptList} => Buffer<br />

852 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!