首页> 外国专利> Synchronizing split user-mode/kernel-mode device driver architecture

Synchronizing split user-mode/kernel-mode device driver architecture

机译:同步分离的用户模式/内核模式设备驱动程序体系结构

摘要

A device driver includes a kernel mode and a user-mode module. The device driver may access device registers while operating in user-mode to promote system stability while providing a low-latency software response from the system upon interrupts. The device driver may include kernel stubs that are loaded into the operating system, and may be device specific code written. The stubs may be called by a reflector to handle exceptions caught by the stubs. A reset stub may be invoked by the reflector when the user-mode module or host terminates abruptly or detects an interrupt storm. The reset stub may also be invoked if errant direct memory access DMA operations are being performed by a hardware device. The reset stub may ensure that hardware immediately stops unfinished DMA from further transfer, and may be called by the user-mode driver module.
机译:设备驱动程序包括内核模式和用户模式模块。设备驱动程序可以在用户模式下运行时访问设备寄存器,以提高系统稳定性,同时在中断时提供来自系统的低延迟软件响应。设备驱动程序可以包括加载到操作系统中的内核存根,并且可以是编写的设备特定代码。反射器可以调用存根,以处理存根捕获的异常。当用户模式模块或主机突然终止或检测到中断风暴时,反射器可能会调用复位存根。如果硬件设备正在执行错误的直接内存访问DMA操作,则也可以调用reset stub。重置存根可以确保硬件立即停止未完成的DMA的进一步传输,并且可以由用户模式驱动程序模块调用。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号