I am trying to understand Asynchronous Interrupt handling in kernel, ofcourse through the legendary Understanding the Linux Kernel.
在这个过程中如何以及谁会触发内核中断处理程序?
我希望有人帮助我纠正这个问题并澄清我的问题
1)如何以及由谁触发内核中断处理程序?
2)如何定义新的或更改现有的硬件中断处理程序?
先感谢您!
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.
要处理中断,您应该注册您的中断处理程序request_irq()
.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)