Device drivers在linux kernel种起着特殊的作用,当hardware和internal programming interface需要通讯的时候,drivers就会在runtime被plug-in进来。
The role of a device driver is providing mechanism
, not policy.
如何区分mechanism与policy? "What capabilities are to be provided" -> mechanism, "How those capabilities can be used" -> policy
Kernel's role:
1. Proces management - Creating and destroying processes / handling their connection to the outside world (input and output) / communication among different processes / control how processes ahre the CPU
2. Memory management - Builds up a virtual addressing space for all processes / simple malloc and free pair to much more complex functionalities
3. File systems - Build a structured filesystem on top of unstructured hardware
4. Device control - Control all devices by device driver
5. Networking - Delivering data packets across program and network interfaces / implement routing and address resolution issues.
分享到:
相关推荐
《Linux Device Drivers 3rd》是Linux设备驱动程序开发领域的一本经典著作,结合源代码进行学习,对于想要深入理解Linux内核以及进行驱动开发的工程师来说,是必不可少的参考资料。这本书详细阐述了如何为Linux操作...
《Linux Device Drivers 3rd Edition》是一本专为Linux内核开发者和系统工程师编写的经典教程,详细介绍了如何为Linux操作系统编写设备驱动程序。这本书涵盖了从基础到高级的各种主题,帮助读者深入理解设备驱动的...
Linux.Device.Drivers.3rd.Edition.Feb.2005.eBook-DDU.chm
### Linux Device Drivers 3rd Edition – 关键知识点解析 #### 一、作者介绍与背景 - **Jonathan Corbet** - 第一次接触BSD Unix源代码是在1981年,当时他的大学教授允许他“修复”分页算法。 - 从那时起,他就...
Linux Device Drivers 3rd Edition
the third edition of the lx d d .
《Linux Device Drivers 3rd Edition》是一本专为Linux系统开发者编写的权威指南,主要针对的是2.6.x版本的Linux内核。这本书详细介绍了如何为Linux操作系统编写设备驱动程序,是Linux内核开发领域的重要参考资料。...
Linux Device Drivers(3rd Edition) 英文原版 Linux Device Drivers(3rd Edition) 英文原版 Linux Device Drivers(3rd Edition) 英文原版 Linux Device Drivers(3rd Edition) 英文原版 绝对清晰
《Linux Device Drivers 3rd Edition》是一本深入探讨Linux内核设备驱动程序开发的经典著作,由Jonathan Corbet、Greg Kroah-Hartman和Alessandro Rubini合著。这本书是针对那些想要为Linux系统编写设备驱动程序的...
Packt.Linux.Device.Drivers.Development.2017 Packt.Linux.Device.Drivers.Development.2017
Linux device driver 3rd edition part1.rar
有两本书,Linux Device Driver中文版以及Essential.Linux.Device.Drivers中文版,这已经是linux驱动编写为数不多的两本圣经,一起打包了,希望喜欢 LDD有全部,ELDD那本只有前8章 ELDD的译者是宋宝华,感谢译者
Linux device driver 3rd edition part4.rar
《Linux Device Drivers 3rd》是一本非常经典的Linux驱动程序开发指南,对于深入理解Linux内核和设备驱动的编写有着极高的参考价值。这本书详细介绍了如何为Linux系统编写各种类型的设备驱动,涵盖了从简单的字符...
《Linux Device Drivers 3rd》是一本深入探讨Linux设备驱动程序设计与开发的专业书籍,由Jonathan Corbet、Alessandro Rubini和Greg Kroah-Hartman三位作者共同编写。本书作为第三版,不仅包含了前两版的核心内容,...
前言 1 第一章 设备驱动程序简介 9 设备驱动程序的作用 10 内核功能划分 12 设备和模块的分类 14 安全问题 15 版本编号 17 许可证条款 18 加入内核开发社团 19 本书概要 19 第二章 构造和运行模块 21 ...