enter image description hereI am trying to understand Asynchronous Interrupt handling in kernel, ofcourse through the legendary Understanding the Linux Kernel.

In this process how and who will trigger Kernel Interrupt Handler?

I would like some one to help me correcting this and to clarify my question on 1)How and Who trigger Kernel Interrupt Handler? 2)How to define new or change existing hardware interrupt handlers?

Thank you in Advance!

有帮助吗?

解决方案

Interrupt handling This picture from Robert Love's "Linux Kernel Development" pretty well describes path of interrupt. Processor interrupts the kernel in the predefined enty point do_IRQ(). If there is corresponding interrupt handler, it will get executed.

To handle interrupt, you should register your interrupt handler with request_irq().

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top