Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Function RTMPTablePCIInterrupt |
Function RTMPTablePCIInterruptRTMPTablePCIInterrupt adds a PCI interrupt routing record to the custom MP Floating Pointer Structure previously created with RTMPTableCreate. UINT RTMPTablePCIInterrupt(BYTE IoApicID, BYTE IoApicInt, BYTE BusID, BYTE Device, BYTE IntPin, BYTE Flags); ParametersIoApicIDID of an I/O APIC previously specified in an RTMPTableIOAPIC call. IoApicIntInterrupt input line of the I/O APIC. For most I/O APICs, values in the range 0 .. 23 are supported. BusIDID of a PCI bus previously specified in an RTMPTableBus call. DevicePCI device number of the device generating the interrupt. IntPinPCI interrupt pin used by the device. Use values 0 .. 3 for interrupt pins A .. D. FlagsThe current release does not define any flag values. This parameter should be set to 0. return valueZero if the table's size is exhausted or a value greater zero on success. This function must be called for each PCI interrupt source the application needs to use. It associates an interrupt pin of a PCI device with an I/O APIC interrupt input line. When switching to APIC mode, RTTarget-32 maps all PCI interrupts such that they occur on the I/O APIC's interrupt input line's IRQ (unless flag RT_APIC_USE_LEGACY_MAP has been specified.
|