8259 - Handling low priority IRQs before getting EOI[solved]
Posted: Thu May 29, 2014 11:30 am
Intel's manual for the 8259 PIC says the following for the "Fully Nested Mode":
From what I've read, the IRR bit is set first after which IMR is checked. So assuming a low priority interrupt occurs while a high priority one is being serviced, will this happen - set IRR bit, check IMR (thus finding that the low priority interrupt is inhibited) and thus reset the IRR bit ?
So if a low priority interrupt occurs before an EOI is received, are the requests for the low priority interrupts stored in the IRR (by setting their bit) to be serviced later, or are they ignored completely ?While the IS bit is set all further interrupts of the same or lower priority are inhibited while higher levels will generate an interrupt (which will be acknowl-
edged only if the microprocessor internal Interupt enable flip-flop has been re-enabled through software)
From what I've read, the IRR bit is set first after which IMR is checked. So assuming a low priority interrupt occurs while a high priority one is being serviced, will this happen - set IRR bit, check IMR (thus finding that the low priority interrupt is inhibited) and thus reset the IRR bit ?