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

基于Linux的字符设备驱动程序的开发
引用本文:李兰兰.基于Linux的字符设备驱动程序的开发[J].网络安全技术与应用,2012(4):75-77.
作者姓名:李兰兰
作者单位:南京航空航天大学金城学院,江苏省,211156
摘    要:本文介绍了在Linux系统中开发字符设备驱动程序的过程,包括驱动模块的加载卸载、字符设备号的分配释放,字符设备的注册注销、结构体file_operations中相关的操作等。最后给出验证字符设备驱动程序是否成功运行的一种方法。

关 键 词:字符设备  设备号  设备驱动  用户空间

The Development of Character Device Dr iver Based on Linux
Li Lanlan.The Development of Character Device Dr iver Based on Linux[J].Net Security Technologies and Application,2012(4):75-77.
Authors:Li Lanlan
Affiliation:Li Lanlan Nanjing Jincheng College,Jiangsu,21il 56,China
Abstract:This paper introduces the development of character device based on Linux, including loading and unloading of the driver module, allocation and release of character device number, registration and unregistration of character device, related operation of struct file_operations etc..Finally, a method of checking the character device driver is provided.
Keywords:Character Device  Device Number  Device Driver  User Space
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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