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 driver 3rd edition part2.rar
《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内核开发领域的重要参考资料。...
Essential Linux Device Drivers by Sreekrishnan Venkateswaran Publisher: Prentice Hall Pub Date: March 27, 2008 Print ISBN-10: 0-13-239655-6 Print ISBN-13: 978-0-13-239655-4 Pages: 744 该pdf教程特点...
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
《Essential Linux Device Drivers》是Sreekrishnan Venkateswaran撰写的一本深入探讨Linux设备驱动程序开发的专业书籍,由Prentice Hall出版社于2008年出版。这本书被誉为是Linux设备驱动领域最全面、最详尽的指南...
《Essential Linux Device Drivers》是Linux设备驱动程序领域的一本经典著作,主要涵盖了2008年4月时Linux内核中的设备驱动程序开发技术。这本书深入浅出地讲解了如何为Linux系统编写和理解设备驱动,对于软件工程师...
Linux device driver 3rd edition part1.rar
有两本书,Linux Device Driver中文版以及Essential.Linux.Device.Drivers中文版,这已经是linux驱动编写为数不多的两本圣经,一起打包了,希望喜欢 LDD有全部,ELDD那本只有前8章 ELDD的译者是宋宝华,感谢译者