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

Developing Linux kernel space device driver
作者姓名:" target="_blank">Zheng Wei  Wang Qinruo" target="_blank">Wang Qinruo  Wu Naiyou" target="_blank">Wu Naiyou
作者单位:Zheng Wei(510090,Rockwell Automation Lab, Guangdong University of Technology, Guangzhou, China)  Wang Qinruo(510090,Rockwell Automation Lab, Guangdong University of Technology, Guangzhou, China)  Wu Naiyou(510090,Rockwell Automation Lab, Guangdong University of Technology, Guangzhou, China)
基金项目:广东省国际合作项目(编号:C50103)资助
摘    要:Linuxoperationsystemcanworkintwomodes.Oneisinuserspace,theotherisinkernelspace.Whenwewanttowriteadevicedriver,weshoulddecidewhatfunctionscanbeimplementedbyusingmoduleandwhatcanbedoneinuserspace.Asangeneralprinciple,allthatcanbeprogrammedinuserspaceshouldnotbefulfilledinkernelspace.Althoughsometimeswritingauserspacedevicedriverisawisealternativetokernelhacking,userspacedriverscan'tfinishtoomuchtasks.Incasethatwecan'tac-complishourdriverinuserspace,orwhenweemphasizetheim-portanceofrealtimeandst…

关 键 词:Linux  设备驱动  内核空间  PCI  USB
文章编号:1008-0570(2003)12-0085-03
修稿时间:2003年6月19日

Developing Linux kernel space device driver
Rockwell Automation Lab,Guangdong University of Technology,Guangzhou,China Zheng,Wei Wang,Qinruo Wu,Naiyou.Developing Linux kernel space device driver[J].Control & Automation,2003(12):88-90.
Authors:Rockwell Automation Lab  Guangdong University of Technology  Guangzhou  China Zheng  Wei Wang  Qinruo Wu  Naiyou
Abstract:This thesis introduces how to develop kernel level device driver on Linux platform in detail. On the basis of comparing proc file system with dev file system, we choose PCI device and USB device as instances to introduce the method of writing device driver for char devices by using these two file systems.
Keywords:Linux  device driver  kernel space  PCI  USB
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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