Configuring Interrupts and Resources

RTX64 supports three types of device interrupts:

When a device uses line-based interrupts, it must acquire an exclusive interrupt request resource (IRQ). An RTX64 controlled device cannot share an IRQ with a Windows device. The RTX64 plug-and-play driver requests IRQs and I/O port resources for RTX64 devices from the Windows plug and play manager. As an administrator, within the Windows Device Manager, you can specify which IRQ resource you would like to request for each device. You can choose to disable allocation of I/O ports, use line-based interrupts (IRQs), request assignment of a specific IRQ, and share the requested IRQ with other RTX64 devices through the RTX64 Properties page for a selected RTX64 PCI/PCIe device. For more information, see Modifying RTX64 PCI/PCIe Device Properties.

MSI/MSI-X capable devices (referred to hereafter as "MSI-capable devices") may or may not need an IRQ. It depends on whether the associated RTSS application is using line-based interrupts.

If your RTSS application(s) will attach to an MSI-capable device using message-based interrupts, no IRQ is required. If your application(s) will attach to an MSI-capable device using line-based interrupts, the device must have an IRQ.

Message-based interrupts are always available for MSI-capable devices and require no configuration. If you choose to also configure line-based interrupts for an MSI-capable device, it will be possible for some RTSS applications to attach to the device via line-based interrupts while others use message-based. You can choose to configure line-based interrupts through the RTX64 Properties page for a selected RTX64 PCI/PCIe device. For more information, see Modifying RTX64 PCI/PCIe Device Properties. Even if both types of interrupts are configured, processes cannot attach to a device using message-based and line-based interrupts at the same time. If multiple applications attach simultaneously to an MSI-capable device, they must all use the same interrupt type.

Finally, when converting a device to RTX64, if the RTX64 PnP driver determines that a device is MSI-capable, the default behavior is to not acquire an IRQ in order to save line-based resources for other devices. You can override the default behavior using RTX64 Properties page on the device properties dialog.

Related topics: