摘要
针对一些复杂设备驱动程序的特点,研究了用户空间实现驱动程序的方法,将驱动程序分为两部分:内核空间实现核心部分,在用户空间实现驱动程序新的接口,以适应设备的多样性。研究了用户空间驱动程序的结构、用户空间和内核空间驱动程序内容的划分及它们之间的通信方法。选择典型的USB设备驱动程序,描述了通用USB驱动程序在用户空间的实现过程,主要内容包括初始化设备接口、操作设备接口、控制传输接口、批传输接口、中断传输接口和通信部分,最后进行了测试分析。
According to characteristics of complex device driver, this paper investigated the method that driver was realized in user space. Driver was divided into two parts, the key part was realized in kernel, and new interface was realized in user space. The paper researched structure of driver, content partition and communication method between user and kernel space. And chosed typical USB driver as examples, and described the realization of generally USB driver in user space, main content included initialized interfaces, operating interfaces, control interfaces, bulk transport interfaces , interrupt transport interfaces and communication. Finally, testing and analysis were done.
出处
《计算机应用研究》
CSCD
北大核心
2008年第12期3642-3644,共3页
Application Research of Computers
基金
北京市教委重点资助项目(KZ200510005006)