四川大学学报(自然科学版)2008,Vol.45Issue(2):281-286,6.
Linux下PCI字符设备驱动程序数据传输机制的研究
Research on the data transfers mechanism of PCI character device drivers in Linux
摘要
Abstract
Device driver is a software layer that lies between applications and the actual device. It plays the role of controlling and communicating with the device. Data transferring and handling are critical parts for the device driver which needs to guarantee the data integrality with no data losing. Thus it is difficult for the de-vice driver designers to design the data transfers mechanism, especially in the real-time application. In this pa-per, the authors abstract the whole data transfers of PCI character device driver and implement the driver of multi-channel voice codee card by carefully designing the interrupt handler and buffering strategy, and it works well in the experiments and user scenes.关键词
Linux/设备驱动/PCI/中断处理/内核空间/用户空间Key words
linux/ device driver/ PCI/ interrupt handler/ kernel space/ user space分类
信息技术与安全科学引用本文复制引用
林立,周群彪,陈正茂,吕学斌..Linux下PCI字符设备驱动程序数据传输机制的研究[J].四川大学学报(自然科学版),2008,45(2):281-286,6.基金项目
国家863高技术研究发展计划项目(2006AA12A104) (2006AA12A104)