Implicit EOI

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
suslik
Member
Member
Posts: 45
Joined: Sun May 27, 2012 1:00 am
Location: Russia

Implicit EOI

Post by suslik »

I wonder why in all examples I have ever seen people use explicit EOI, but the CPU disables all interrupts byitself (if we are using interrupt gate descriptor)? So, can I use implicit EOI or there are some pitfalls?
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: Implicit EOI

Post by JamesM »

Hi,

The EOI is a signal to an external device - the PIC. The PIC is connected to the CPU via the CPU's interrupt (IF) line. It will hold that line (active-)low until an EOI is received - only at that point does it know that the CPU actually took and serviced the interrupt.

So no, you can't avoid the EOI.

Cheers,

James
suslik
Member
Member
Posts: 45
Joined: Sun May 27, 2012 1:00 am
Location: Russia

Re: Implicit EOI

Post by suslik »

JamesM, you talk about explicit EOI, but I need to know about implicit EOI.
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: Implicit EOI

Post by JamesM »

suslik wrote:JamesM, you talk about explicit EOI, but I need to know about implicit EOI.
What I said was:
So no, you can't avoid the EOI.
As in, there is no such thing as an implicit end-of-interrupt.
Post Reply