#include <ioapic.h>
One of these babies is used to define how to handle each of the 24 interrupt signals.
The IO APIC redirection table contains the following fields.
This field is read-write.
This field is read-write.
This field is read-write.
This field is read-only.
The Intel documentation refers to this field as INTPOL. This field is read-write.
The Intel documentation refers to this field as DELIVS. This field is read-only.
Physical Mode | 0 | Bits 0:4 of the Destination Field contain the Local APIC ID of the destination. |
Logical Mode | 1 | Bits 0:8 of the Destination Field contain a bitmap (?) of the set of processors. |
The Intel documentation refers to this field as DESTMOD. This field is read-write.
Fixed | 0 | Delivers the interrupt on the INTR pin of all processors listed in the destination. Can be edge or level delivery mode. |
Lowest Priority | 1 | Delivers the interrupt on the INTR pin of the processor with the executing at the lowest priority among the processors listed in the destination. Can be edge or level delivery mode. |
SMI | 2 | System Management Interrupt. Vector information is ignored but should be set to all zeros just in case. Required edge trigger mode delivery. |
Reserved | 3 | |
NMI | 4 | Non-maskable Interrupt. Vector information is ignored but should be set to all zeros just in case. Required edge trigger mode delivery. |
INIT | 5 | Initialization Interrupt. Asserts INIT signal for all processors listed in the destination which theoretically will force them to reset. Required edge trigger mode delivery. |
Reserved | 6 | |
ExtINT | 7 | External Interrupt. Delivers the interrupt on the INTR pin of all processors listed in the destination as if it came from an Intel 8259A-compatible inetrrupt controller. Requires an edge trigger mode delivery. |
The Intel documentation refers to this field as DELMOD. This field is read-write.
The Intel documentation refers to this field as INTVEC. This field is read-write.
Public Attributes | |
u08 | m_vector |
u08 | m_deliverMode:3 |
u08 | m_destinationMode:1 |
u08 | m_deliveryStatus:1 |
u08 | m_pinPolarity:1 |
u08 | m_remoteIRR:1 |
u08 | m_triggerMode:1 |
u08 | m_interruptMask:1 |
u08 | m_reserved17:7 |
u08 | m_reserved24 |
u08 | m_reserved32 |
u08 | m_reserved40 |
u08 | m_reserved48 |
u08 | m_destination |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|