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和应用程序是紧耦合的,需要调试设备驱动程序在中断丢失和乱序发生时的情况。
If an interrupt keeps coming in and there is no registered handler for that device (for instance, all drivers return IRQ_NONE), then the kernel can block interrupts from that device.
如果一个中断请求不断到来而且没有注册那个设备的处理程序(例如,所有的驱动程序都返回IRQ_NONE),内核就会忽略来自那个设备的中断。
A new ioctl command should be added to the device driver to control the interrupt simulation from the test application.
ioctl命令应该添加到设备驱动程序中,这样就可以从测试应用程序中控制对中断的模拟了。
This virtual interface would consist of the expected interface, including a virtual address space representing the device (such as shadow PCI) and virtual interrupt.
这个虚拟接口包含预期的接口,包括表示设备(如shadowPCI)的虚拟地址空间和虚拟中断。
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.
然后,这个设备驱动程序的角色是每当出现中断时就查询触摸屏控制器,并请求控制器发送触摸的坐标。
This strategy lets you examine the device driver's complete code flow on a per-interrupt basis.
这种策略让我们可以按照每个中断来跟踪设备驱动程序的完整代码。
It can also put the device into flight mode so that no calls interrupt you.
同时,软件还可以自动将手机置入飞行模式,让您不再受来电干扰。
Unlike address range translation which follows the natural structure of the tree, Interrupt signals can originate from and terminate on any device in a machine.
与遵循树的自然结构而进行的地址转换不同,机器上的任何设备都可以发起和终止中断信号。
Driven on the device side. The device sends a hardware signal (by generating an interrupt) to the kernel when it needs the kernel's attention.
设备驱动模式,在设备须要内核关注时,由设备主动发送一个硬件信号(通常是通过一个中断)给内核。
Every interrupt runs a function called an interrupt handler, which must be tailored to the device and therefore is installed by the device driver.
每一个中断是以一个被称为中断处理的函数调用来运行的,这些必须可以通过安装的设备驱动程序,根据设备被裁剪。
Device drivers use these routines to request various types of data transfers (control, interrupt, bulk, or isochronous).
设备驱动程序使用这些例程来请求各种类型的数据传输(control、interrupt、bulk或isochronous)。
The interrupt handler, before accessing the device, must also obtain the lock.
而且中断服务函数在设备被访问之前也需要获得锁。
Device drivers are either polling or interrupt-driven, with the latter being more generally preferred.
设备驱动程序不是轮询的就是中断驱动的,后一种越来越成为首选的。
The interrupt level conflicts with another device in the system. Reconfigure the adapter and software to use a different interrupt level.
中断级别跟系统中的另一个设备有冲突。重新配置适配器和软件来使用不同的中断级别。
The noise generator is used as a basic USB device, USES the control transfer and interrupt transfer.
本课题设计的噪声发生器作为基础usb设备,采用了控制传输和中断传输。
When the host polls this interrupt endpoint, it learns that the new device is present.
当主机查询中断端点,获悉新设备是目前。
The only real change is that we now request an interrupt for the camera device interrupt line.
唯一的实质性变化就是我们为摄像头设备中断行请求一个中断。
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下驱动程序的开发包括中断处理函数的编写、系统硬件资源的管理以及驱动程序与测试程序的接口。
IMPORTANT: Never interrupt the installation process. The device may become unstable and require service should the installation process be interrupted.
重要:绝对不要中止安装进程。否则设备将变得不稳定,并且需要维修。
This function initializes a hardware interrupt with the kernel. This initialization enables the device driver to register an event and enable the interrupt.
该函数初始化硬件中断和内核,使设备驱动注册事件并使能中断。
This paper analyses the harms made by video frequency interrupt in the performance of TV emissive device and the preventing measures.
简要分析电视发射机运行中视频中断产生的危害,以及具体的预防、保护措施。
The temperature limiting device is of the manual reset, trip-free type and has been factory installed to interrupt all ungrounded power supply conductors in the event of thermostat failure.
可以对温度控制装置进行人工设置,可根据设定的温度自动开关电源。本款电热水器还在工厂就预先安装了能够在温度控制装置失效的情况下切断全部电源的装置。
The request causes the driver fork process to be suspended until the device requests an interrupt or the device times out.
该请求使驱动器交叉进程挂起,直至设备请求中断或设备超时。
FAST switching (also called FASTROUTE) was a kernel feature that allowed device drivers to route incoming traffic during interrupt context using a small cache (bypassing all the software layers).
快速切换是内核的一个特性,它充许设备驱动在对进入流量的中断上下文中,使用一个小的缓存(经过所有的软件层)。
FAST switching (also called FASTROUTE) was a kernel feature that allowed device drivers to route incoming traffic during interrupt context using a small cache (bypassing all the software layers).
快速切换是内核的一个特性,它充许设备驱动在对进入流量的中断上下文中,使用一个小的缓存(经过所有的软件层)。
应用推荐