This article helps device driver developers test the interrupt service routine as much as possible by simulating the various interrupts.
本文通过模拟各种中断,尽可能地帮助设备驱动程序开发人员测试中断服务例程。
And finally, the driver is tightly coupled with various APIs and applications, and you may have to debug a device driver where interrupt losses and out-of-sequence interrupts happen.
最后,驱动程序与API和应用程序是紧耦合的,需要调试设备驱动程序在中断丢失和乱序发生时的情况。
A new ioctl command should be added to the device driver to control the interrupt simulation from the test application.
ioctl命令应该添加到设备驱动程序中,这样就可以从测试应用程序中控制对中断的模拟了。
应用推荐