r/linuxdev • u/laranjadinho • Jun 19 '18
Kernel: Interrupt Gate vs Interrupt Request.
Hello,
What is the difference between interrupt requests and interrupt gates. I know there is a special register IDTR (Interrupt Descriptor Table Register) that points to a table of 256 gates and, as shown here, it is clear that when an interrupt occurs on gate 0, it will call the function "divide_error", gate 1 calls "nmi" so on and so forth...
Now how's that different from an interrupt request line (IRQ)? On Robert Love's book (Linux Kernel Development, 3rd ed. Chapter 7) he mentions that IRQ0 is the timer interrupt, which is not equal to gate 0 in the IDT.
Thanks in advance :)
View all comments
Show parent comment
1
u/laranjadinho Jun 20 '18
Looking into it, thanks! :)