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命令应该添加到设备驱动程序中,这样就可以从测试应用程序中控制对中断的模拟了。
A bottom half is a way to defer work from interrupt handling to be done later in a device driver.
bottomhalf方法可以将设备驱动程序中的工作延迟到中断处理后执行。
The role of the device driver, then, is to query the touch screen controller whenever an interrupt occurs, and to ask the controller to send the coordinates of the touch.
然后,这个设备驱动程序的角色是每当出现中断时就查询触摸屏控制器,并请求控制器发送触摸的坐标。
Every interrupt runs a function called an interrupt handler, which must be tailored to the device and therefore is installed by the device driver.
每一个中断是以一个被称为中断处理的函数调用来运行的,这些必须可以通过安装的设备驱动程序,根据设备被裁剪。
We also introduce the development of device driver under QNX, include programme of the interrupt handler, management of hardware resource and interface between application and device driver.
最后详细地介绍了在QNX下驱动程序的开发包括中断处理函数的编写、系统硬件资源的管理以及驱动程序与测试程序的接口。
This function initializes a hardware interrupt with the kernel. This initialization enables the device driver to register an event and enable the interrupt.
该函数初始化硬件中断和内核,使设备驱动注册事件并使能中断。
The request causes the driver fork process to be suspended until the device requests an interrupt or the device times out.
该请求使驱动器交叉进程挂起,直至设备请求中断或设备超时。
The request causes the driver fork process to be suspended until the device requests an interrupt or the device times out.
该请求使驱动器交叉进程挂起,直至设备请求中断或设备超时。
应用推荐