This article helps device driver developers test the interrupt service routine as much as possible by simulating the various interrupts.
本文通过模拟各种中断,尽可能地帮助设备驱动程序开发人员测试中断服务例程。
This helps the kernel IRQ layer clearly identify which driver is handling that particular interrupt.
这样可以帮助内核的IRQ层清楚地识别出哪个驱动程序正在处理那个特定的中断。
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和应用程序是紧耦合的,需要调试设备驱动程序在中断丢失和乱序发生时的情况。
The 2.5 interrupt handler internals have undergone a lot of changes, but most of them do not affect the average driver developer.
5的中断处理程序内部已经经历了许多变化,但是绝大部分对于普通的驱动程序开发者来说没有影响。
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方法可以将设备驱动程序中的工作延迟到中断处理后执行。
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。
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.
每一个中断是以一个被称为中断处理的函数调用来运行的,这些必须可以通过安装的设备驱动程序,根据设备被裁剪。
PCI interface driver, IO port directly read, interrupt control and so on.
PCI接口驱动程序,IO口的直接读取,中断控制等等。
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下驱动程序的开发包括中断处理函数的编写、系统硬件资源的管理以及驱动程序与测试程序的接口。
When processing the DRV_DISABLE message, the driver places any hardware in an inactive state, which may include the removal of interrupt handlers.
当处理DRV_DISABLE消息时,驱动程序会把任何硬件都置于非活动状态,也可能会移出中断处理例程。
The functions of driver developed in the paper include reading from the card, controlling the functions and statuses of the card, interrupt handling, PNP and power management.
在本论文开发的驱动程序中实现的主要功能包括读设备、对设备状态与功能进行控制、设备发生中断时候的中断处理以及设备的电源管理与PNP处理。
The hardware chapter introduces the external memory module and video I/O module, programs video-driver for the DM642 by using CSL, discuss the applications of interrupt and direct memory access (DMA).
在硬件设计主要介绍系统组成中的外部存储器模块与视频输入输出模块,介绍了使用片上支持库编写DM642中视频驱动程序的方法,以及编写过程中DM642中断和直接存储器存取(DMA)的应用;
This function initializes a hardware interrupt with the kernel. This initialization enables the device driver to register an event and enable the interrupt.
该函数初始化硬件中断和内核,使设备驱动注册事件并使能中断。
Source code for a monolithic driver consists of both interrupt service thread code and platform specific code.
单体驱动的源代码由中断服务线程和平台相关的代码组成。
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.
该请求使驱动器交叉进程挂起,直至设备请求中断或设备超时。
应用推荐