Hi, This is done in the beggining of the do_IRQ() function (arch/i386/kernel/irq.c, assuming i386 architecture) The actual code is: int irq = regs.orig_eax & 0xff; -- Martim On Thu, 9 Sep 2004 12:35:29 +0530, Dhiman, Gaurav <gaurav.dhiman@xxxxxx> wrote: > > > > > > In kernel source where can I find the code which actually identifies the IRQ number by reading the APIC mask and status registers. > > I am actually tracking the Interrupt handling code (from lowest level to higher level) of kernel, just for learning, can somebody help. > > > > Also if someone knows about some good low level online article or tutorials on Interrupt handling in Linux kernel, please do send me the link to it. I have been reading the LDD2 (Rubini's book), but that book talks till a particular level. It tells you about some specific functions in Kernel using which you can request, register or handle interrupts for your device, but it does not talk in deep about interrupt handling mechanism at the lowest level of kernel. > > > > Also please do let me know current Rubini's mail id, as I think he can clear lot of doubts about interrupts. > > > > Regards, > > Gaurav > > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/