資料介紹
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開發(fā)板——Linux應(yīng)用開發(fā)手冊
- 嵌入式Linux學(xué)習(xí)之旅(6)— 使用正點(diǎn)原子的Linux內(nèi)核啟動(dòng)系統(tǒng)
- Linux_Kernel_Developments內(nèi)核開發(fā) 37次下載
- Linux操作系統(tǒng)內(nèi)核工作原理介紹 49次下載
- 在linux操作系統(tǒng)中如何截獲系統(tǒng)調(diào)用 0次下載
- Linux-kernel-3 0的移植記錄 7次下載
- 在Linux運(yùn)行期間升級(jí)Linux系 統(tǒng)Uboot+kernel+Rootfs 5次下載
- linux kernel工作隊(duì)列及源碼解析 0次下載
- Linux之kernel_timer教程 12次下載
- Linux_Kernel_CN 21次下載
- linux內(nèi)核kernel-api 19次下載
- Developing Multipoint Touch Sc
- μClinux-kernel-2.6芯片級(jí)移植分析與實(shí)現(xiàn)
- Progress and Developing Trends
- Linux Kernel核心中文手冊
- 基于Debian的Sparky Linux 7.2的亮點(diǎn) 461次閱讀
- Linux內(nèi)核自解壓過程分析 692次閱讀
- STM32 模擬Linux kernel自動(dòng)初始化流程 490次閱讀
- 淺談Linux kernel中的同步機(jī)制 747次閱讀
- kernel panic流程分析 894次閱讀
- linux內(nèi)核啟動(dòng)過程會(huì)執(zhí)行用戶空間的init進(jìn)程 960次閱讀
- 如何配置Petalinux工程來從Flash啟動(dòng)Linux Kernel 2100次閱讀
- 如何在IP的kernel module里設(shè)置并使用IP interrupt 570次閱讀
- 如何在Vitis中設(shè)定Kernel的頻率 675次閱讀
- 使用Trace View對(duì)對(duì)Kernel進(jìn)行性能仿真分析 1824次閱讀
- linux操作系統(tǒng)中如何截獲系統(tǒng)調(diào)用 1900次閱讀
- 如何避免Linux的物理內(nèi)存碎片化 5371次閱讀
- Linux內(nèi)核模塊介紹,使用Linux模塊的優(yōu)點(diǎn) 7275次閱讀
- U-boot傳遞RAM和Linux kernel讀取RAM參數(shù)的解析 5739次閱讀
- 嵌入式未來還是Linux的天下,并通過內(nèi)核學(xué)習(xí)來闡述kernel的機(jī)理 3675次閱讀
下載排行
本周
- 1HFSS電磁仿真設(shè)計(jì)應(yīng)用詳解PDF電子教程免費(fèi)下載
- 24.30 MB | 126次下載 | 1 積分
- 2H橋中的電流感測
- 545.39KB | 7次下載 | 免費(fèi)
- 3雷達(dá)的基本分類方法
- 1.25 MB | 4次下載 | 4 積分
- 4I3C–下一代串行通信接口
- 608.47KB | 3次下載 | 免費(fèi)
- 5電感技術(shù)講解
- 827.73 KB | 2次下載 | 免費(fèi)
- 6從 MSP430? MCU 到 MSPM0 MCU 的遷移指南
- 1.17MB | 2次下載 | 免費(fèi)
- 7有源低通濾波器設(shè)計(jì)應(yīng)用說明
- 1.12MB | 2次下載 | 免費(fèi)
- 8RA-Eco-RA2E1-48PIN-V1.0開發(fā)板資料
- 35.59 MB | 2次下載 | 免費(fèi)
本月
- 12024年工控與通信行業(yè)上游發(fā)展趨勢和熱點(diǎn)解讀
- 2.61 MB | 763次下載 | 免費(fèi)
- 2HFSS電磁仿真設(shè)計(jì)應(yīng)用詳解PDF電子教程免費(fèi)下載
- 24.30 MB | 126次下載 | 1 積分
- 3繼電保護(hù)原理
- 2.80 MB | 36次下載 | 免費(fèi)
- 4正激、反激、推挽、全橋、半橋區(qū)別和特點(diǎn)
- 0.91 MB | 32次下載 | 1 積分
- 5labview實(shí)現(xiàn)DBC在界面加載配置
- 0.57 MB | 21次下載 | 5 積分
- 6在設(shè)計(jì)中使用MOSFET瞬態(tài)熱阻抗曲線
- 1.57MB | 15次下載 | 免費(fèi)
- 7GBT 4706.1-2024家用和類似用途電器的安全第1部分:通用要求
- 7.43 MB | 13次下載 | 免費(fèi)
- 8PADS-3D庫文件
- 2.70 MB | 10次下載 | 2 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935113次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
- 1.48MB | 420061次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233084次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191360次下載 | 10 積分
- 5十天學(xué)會(huì)AVR單片機(jī)與C語言視頻教程 下載
- 158M | 183329次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81578次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費(fèi)下載
- 0.02 MB | 73804次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65985次下載 | 10 積分
評(píng)論
查看更多