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.

Device <strong>Configuration</strong><br />

Field Type Description<br />

Pin Byte The PCI pin number of the device (0–INTA, 1–INTB, 2–INTC, 3–INTD).<br />

Source NamePath<br />

Or<br />

Byte<br />

Name of the device that allocates the interrupt to which the above pin is connected.<br />

The name can be a fully qualified path, a relative path, or a simple name segment<br />

that utilizes the namespace search rules. Note: This field is a NamePath <strong>and</strong> not a<br />

String literal, meaning that it should not be surrounded by quotes. If this field is the<br />

integer constant Zero (or a Byte value of 0), then the interrupt is allocated from the<br />

global interrupt pool.<br />

Source<br />

Index<br />

DWORD<br />

Index that indicates which resource descriptor in the resource template of the<br />

device pointed to in the Source field this interrupt is allocated from. If the Source<br />

field is the Byte value zero, then this field is the global system interrupt number to<br />

which the pin is connected.<br />

There are two ways that _PRT can be used. Typically, the interrupt input that a given PCI interrupt is<br />

on is configurable. For example, a given PCI interrupt might be configured for either IRQ 10 or 11<br />

on an 8259 interrupt controller. In this model, each interrupt is represented in the ACPI namespace<br />

as a PCI Interrupt Link Device.<br />

These objects have _PRS, _CRS, _SRS, <strong>and</strong> _DIS control methods to allocate the interrupt. Then,<br />

OSPM h<strong>and</strong>les the interrupts not as interrupt inputs on the interrupt controller, but as PCI interrupt<br />

pins. The driver looks up the device’s pins in the _PRT to determine which device objects allocate<br />

the interrupts. To move the PCI interrupt to a different interrupt input on the interrupt controller,<br />

OSPM uses _PRS, _CRS, _SRS, <strong>and</strong> _DIS control methods for the PCI Interrupt Link Device.<br />

In the second model, the PCI interrupts are hardwired to specific interrupt inputs on the interrupt<br />

controller <strong>and</strong> are not configurable. In this case, the Source field in _PRT does not reference a<br />

device, but instead contains the value zero, <strong>and</strong> the Source Index field contains the global system<br />

interrupt to which the PCI interrupt is hardwired.<br />

6.2.13.1 Example: Using _PRT to Describe PCI IRQ Routing<br />

The following example describes two PCI slots <strong>and</strong> a PCI video chip. Notice that the interrupts on<br />

the two PCI slots are wired differently (barber-poled).<br />

Version 6.0 323

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

Saved successfully!

Ooh no, something went wrong!