Finding the interrupt vector of a given IRQ

Mark Farnell mark.farnell at gmail.com
Sat May 26 20:02:51 EDT 2012


In the kernel, how can I find out the interrupt vector number of a
given IRQ (for example, IRQ7)?

Within the kernel module, I would like to manually set the IRQ using
the assembly code:

asm("int $<irq vector>");

and let the IRQ handler installed by a different module catch that interrupt.

Is this possible?

Thanks!

Mark



More information about the Kernelnewbies mailing list