首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Linux下PCI字符设备驱动程序数据传输机制的研究
引用本文:林立,周群彪,陈正茂,吕学斌.Linux下PCI字符设备驱动程序数据传输机制的研究[J].四川大学学报(自然科学版),2008,45(2):281-286.
作者姓名:林立  周群彪  陈正茂  吕学斌
作者单位:四川大学计算机学院,成都,610064
基金项目:国家高技术研究发展计划(863计划)
摘    要:设备驱动程序是应用程序和真实设备之间的软件层.它负责控制和与硬件通信.数据的传输和处理对设备驱动程序来说是至关重要的部分,驱动程序必须保证数据不丢失.因而对驱动程序的设计者来说,数据传输机制的设计比较困难,特别是在实时应用中.作者抽象了整个PCI字符设备驱动数据传输的过程,通过仔细的设计中断处理程序和缓冲区策略,实现了多通道语音采集压缩卡的驱动,并在实验和用户现场良好运行.

关 键 词:Linux  设备驱动  PCI  中断处理  内核空间  用户空间  linux  device  driver  PCI  interrupt  handler  kernel  space  user  space  Linux  字符  备驱动程序  数据  传输机制  研究  device  drivers  character  mechanism  transfers  data  works  experiments  user  abstract  voice  card  designing  interrupt  handler
文章编号:0490-6756(2008)02-0281-06
修稿时间:2007年8月10日

Research on the data transfers mechanism of PCI character device drivers in Linux
LIN Li,ZHOU Qun-Biao,CHEN Zheng-Mao and LV Xue-Bing.Research on the data transfers mechanism of PCI character device drivers in Linux[J].Journal of Sichuan University (Natural Science Edition),2008,45(2):281-286.
Authors:LIN Li  ZHOU Qun-Biao  CHEN Zheng-Mao and LV Xue-Bing
Institution:College of Computer Science, Sichuan University;College of Computer Science, Sichuan University;College of Computer Science, Sichuan University;College of Computer Science, Sichuan University
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.
Keywords:linux  device driver  PCI  interrupt handler  kernel space  user space
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《四川大学学报(自然科学版)》浏览原始摘要信息
点击此处可从《四川大学学报(自然科学版)》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号