Interrupts vs Faults



Hello Friends,

Although this is general question and does not specifically concerns
x86 but i still would like to know how x86 handles interrupts and
faults.

My concerns are with Interrupt Cycle that dictates that interrupts are
checked only after executing the current instruction. However when a
situation such as page fault occurs, the instruction cannot continue as
from where will it get the actual data requested?

So my intitution is that a fault causes the current instruction to be
restarted whereas interrupted only saves the current context of the
microprocessor and after handling the interrupt proceeds to the next
instruction.

Please tell me that if above argument is indeed correct.

Thanks,
VJ

.



Relevant Pages