This article helps device driver developers test the interrupt service routine as much as possible by simulating the various interrupts.
本文通过模拟各种中断,尽可能地帮助设备驱动程序开发人员测试中断服务例程。
By default, the driver IRQ routine should return IRQ_HANDLED as it is a bug to return IRQ_NONE when the driver has actually handled that interrupt.
缺省情况下,驱动程序IR Q例程应该返回IRQ_HANDLED,当驱动程序正在处理那个中断时却返回了IRQ_NONE,说明存在bug。
应用推荐