Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Function RTMPTableInterrupt Function RTMPTablePCIInterrupt |
Function RTMPTableInterruptRTMPTableInterrupt adds an ISA interrupt routing record to the custom MP Floating Pointer Structure previously created with RTMPTableCreate. UINT RTMPTableInterrupt(BYTE IoApicID, BYTE IoApicInt, BYTE BusID, BYTE IsaIRQ, 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 the ISA bus previously specified in an RTMPTableBus call. IsaIRQIRQ value of the interrupt on the ISA bus. 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 ISA interrupt source the application needs to use. It associates an ISA IRQ value with an I/O APIC interrupt input line. Usually, all ISA IRQs are mapped 1-to-1 to the first I/O APIC. The only exception is the timer (ISA IRQ 0) which is frequently mapped to I/O APIC interrupt input 2. When switching to APIC mode, RTTarget-32 maps all ISA IRQs such that they occur on the same interrupt vector as in PIC mode. Function RTMPTablePCIInterrupt
|