资料介绍
This thesis introduces how to develop kernel level device drivers on Linux platform in detail. On the basis of comparing proc file system with dev file system, we choose PCI devices and USB devices as instances to introduce the method of writing device drivers for character devices by using these two file systems.
Key words: Linux; device driver; kernel space; PCI; USB
Linux operation system can work in two modes. One is in user space, the other is in kernel space. When we want to write a device driver, we should decide what functions can be implemented by using module and what can be done in user space. As an general principle, all that can be programmed in user space should not be fulfilled in kernel space. Although sometimes writing a user space device driver is a wise alternative to kernel hacking, user space drivers can’t finish too much tasks. In case that we can’t accomplish our driver in user space ,or when we emphasize the importance of real time and stability, a kernel level device driver is needed.
Key words: Linux; device driver; kernel space; PCI; USB
Linux operation system can work in two modes. One is in user space, the other is in kernel space. When we want to write a device driver, we should decide what functions can be implemented by using module and what can be done in user space. As an general principle, all that can be programmed in user space should not be fulfilled in kernel space. Although sometimes writing a user space device driver is a wise alternative to kernel hacking, user space drivers can’t finish too much tasks. In case that we can’t accomplish our driver in user space ,or when we emphasize the importance of real time and stability, a kernel level device driver is needed.
下载该资料的人也在下载
下载该资料的人还在阅读
更多 >
- 基于NXP iMX6ULL ARM开发板——Linux应用开发手册
- 嵌入式Linux学习之旅(6)— 使用正点原子的Linux内核启动系统
- Linux_Kernel_Developments内核开发 37次下载
- Linux操作系统内核工作原理介绍 49次下载
- 在linux操作系统中如何截获系统调用 0次下载
- Linux-kernel-3 0的移植记录 7次下载
- 在Linux运行期间升级Linux系 统Uboot+kernel+Rootfs 5次下载
- linux kernel工作队列及源码解析 0次下载
- Linux之kernel_timer教程 12次下载
- Linux_Kernel_CN 21次下载
- linux内核kernel-api 19次下载
- Developing Multipoint Touch Sc
- μClinux-kernel-2.6芯片级移植分析与实现
- Progress and Developing Trends
- Linux Kernel核心中文手册
- 基于Debian的Sparky Linux 7.2的亮点 650次阅读
- Linux内核自解压过程分析 955次阅读
- STM32 模拟Linux kernel自动初始化流程 643次阅读
- 浅谈Linux kernel中的同步机制 958次阅读
- kernel panic流程分析 1100次阅读
- linux内核启动过程会执行用户空间的init进程 1185次阅读
- 如何配置Petalinux工程来从Flash启动Linux Kernel 2253次阅读
- 如何在IP的kernel module里设置并使用IP interrupt 661次阅读
- 如何在Vitis中设定Kernel的频率 782次阅读
- 使用Trace View对对Kernel进行性能仿真分析 2000次阅读
- linux操作系统中如何截获系统调用 1972次阅读
- 如何避免Linux的物理内存碎片化 5476次阅读
- Linux内核模块介绍,使用Linux模块的优点 7417次阅读
- U-boot传递RAM和Linux kernel读取RAM参数的解析 5880次阅读
- 嵌入式未来还是Linux的天下,并通过内核学习来阐述kernel的机理 3770次阅读
下载排行
本周
- 1DC电源插座图纸
- 0.67 MB | 2次下载 | 免费
- 2AN158 GD32VW553 Wi-Fi开发指南
- 1.51MB | 2次下载 | 免费
- 3AN148 GD32VW553射频硬件开发指南
- 2.07MB | 1次下载 | 免费
- 4AN111-LTC3219用户指南
- 84.32KB | 次下载 | 免费
- 5AN153-用于电源系统管理的Linduino
- 1.38MB | 次下载 | 免费
- 6AN-283: Σ-Δ型ADC和DAC[中文版]
- 677.86KB | 次下载 | 免费
- 7SM2018E 支持可控硅调光线性恒流控制芯片
- 402.24 KB | 次下载 | 免费
- 8AN-1308: 电流检测放大器共模阶跃响应
- 545.42KB | 次下载 | 免费
本月
- 1ADI高性能电源管理解决方案
- 2.43 MB | 450次下载 | 免费
- 2免费开源CC3D飞控资料(电路图&PCB源文件、BOM、
- 5.67 MB | 138次下载 | 1 积分
- 3基于STM32单片机智能手环心率计步器体温显示设计
- 0.10 MB | 130次下载 | 免费
- 4使用单片机实现七人表决器的程序和仿真资料免费下载
- 2.96 MB | 44次下载 | 免费
- 53314A函数发生器维修手册
- 16.30 MB | 31次下载 | 免费
- 6美的电磁炉维修手册大全
- 1.56 MB | 24次下载 | 5 积分
- 7如何正确测试电源的纹波
- 0.36 MB | 17次下载 | 免费
- 8感应笔电路图
- 0.06 MB | 10次下载 | 免费
总榜
- 1matlab软件下载入口
- 未知 | 935121次下载 | 10 积分
- 2开源硬件-PMP21529.1-4 开关降压/升压双向直流/直流转换器 PCB layout 设计
- 1.48MB | 420062次下载 | 10 积分
- 3Altium DXP2002下载入口
- 未知 | 233088次下载 | 10 积分
- 4电路仿真软件multisim 10.0免费下载
- 340992 | 191367次下载 | 10 积分
- 5十天学会AVR单片机与C语言视频教程 下载
- 158M | 183335次下载 | 10 积分
- 6labview8.5下载
- 未知 | 81581次下载 | 10 积分
- 7Keil工具MDK-Arm免费下载
- 0.02 MB | 73810次下载 | 10 积分
- 8LabVIEW 8.6下载
- 未知 | 65988次下载 | 10 积分
电子发烧友App






创作
发文章
发帖
提问
发资料
发视频
上传资料赚积分
评论