Intel
82801BA ICH2 Datasheet
5-41
Functional Description
5.7.1
Interrupt Handling
5.7.1.1
Generating Interrupts
The PIC interrupt sequence involves three bits, from the IRR, ISR, and IMR for each interrupt
level. These bits are used to determine the interrupt vector returned, and status of any other pending
interrupts.
Table 5-17
defines the IRR, ISR, and IMR.
5.7.1.2
Acknowledging Interrupts
The processor generates an interrupt acknowledge cycle that is translated by the host bridge into a
PCI Interrupt Acknowledge Cycle to the ICH2. The PIC translates this command into two internal
INTA# pulses expected by the 8259 cores. The PIC uses the first internal INTA# pulse to freeze the
state of the interrupts for priority resolution. On the second INTA# pulse, the master or slave sends
the interrupt vector to the processor with the acknowledged interrupt code. This code is based on
bits [7:3] of the corresponding ICW2 register combined with three bits representing the interrupt
within that controller.
Table 5-17. Interrupt Status Registers
Bit
Description
IRR
Interrupt Request Register.
This bit is set on a low-to-high transition of the interrupt line in edge
mode and by an active high level in level mode. This bit is set whether or not the interrupt is masked.
However, a masked interrupt will not generate INTR.
ISR
Interrupt Service Register.
This bit is set, and the corresponding IRR bit cleared, when an interrupt
acknowledge cycle is seen and the vector returned is for that interrupt.
IMR
Interrupt Mask Register.
This bit determines whether an interrupt is masked. Masked interrupts will
not generate INTR.
Table 5-18. Content of Interrupt Vector Byte
Master,Slave Interrupt
Bits [7:3]
Bits [2:0]
IRQ[7,15]
ICW2[7:3]
111
IRQ[6,14]
110
IRQ[5,13]
101
IRQ[4,12]
100
IRQ[3,11]
011
IRQ[2,10]
010
IRQ[1,9]
001
IRQ[0,8]
000
Powered by ICminer.com Electronic-Library Service CopyRight 2003