LINUX设备驱动程序(影印版)(第三版) rb kindle 网盘 umd 极速 下载 pdf mobi

LINUX设备驱动程序(影印版)(第三版)电子书下载地址
内容简介:
这本经典书籍目前已更新至第三版,对于那些希望在Linux操作系统下支持计算机外围设备、运行新硬件,或者仅仅对Linux内核普通编程感兴趣的人来说,它是本书籍。《Linux设备驱动程序》揭示了如何给大多数的设备编写驱动程序的信息,这些信息迄今仅通过口头或者隐晦的源代码注释被共享。
本书的作者是Linux社区的领导者。Jonathan Corbet是个不定期的内核开源项目参与者同时还是评价甚高的LWN.net新闻和信息站点的执行编辑。Alessandro Rubini是Linux代码的一个开源提供者同时也是活跃的意大利Linux社区的中心人物。Greg Kroah-Hartman目前是本书描述的USB、PCI和驱动核心子系统相关的内核代码维护者。
本书新版根据Linux内核2.6.10彻底更新。内核的这个版本更加合理化并简化了普通工作任务的几个方法,比如即插即用、通过sysfs文件系统和用户空间交互、标准总线上的多设备管理。
你不必是一个内核高手就可以理解并享受本书,所需要的只是C以及Unix系统调用方面的背景知识。在不需要特殊的硬件设备就能编译和运行的详细示例的指引下,你将学会如何给字符设备、块设备和网络接口编写驱动程序。PCI、USB和tty(终端)子系统都单列一章。本书为那些对操作系统的工作机制好奇的人提供了地址空间、异步事件和I/O等方面的阐述。
本书的主题包括:
* 字符设备、块设备、tty(终端)和网络驱动程序
* 驱动程序调试
* 中断
* 定时问题
* 内存管理和DMA
* 驱动模型和sysfs
* 热插拔设备
* 通用总线,包括SCSI、PCI、USB和IEEE1394(FireWire)的特殊要求。
书籍目录:
Preface
1. An Introduction to Device Drivers
The Role of the Device Driver
Splitting the Kernel
Classes of Devices and Modules
Security Issues
Version Numbering
License Terms
Joining the Kernel Development Community
Overview of the Book
2. Building and Running Modules
Setting Up Your Test System
The Hello World Module
Kernel Modules Versus Applications
Compiling and Loading
The Kernel Symbol Table
Preliminaries
Initialization and Shutdown
Module Parameters
Doing It in User Space
Quick Reference
3. Char Drivers
The Design of scull
Major and Minor Numbers
Some Important Data Structures 49Char Device Registration
open and release
scull's Memory Usage
read and write
Playing with the New Devices
Quick Reference
4. Debugging Techniques
Debugging Support in the Kernel
Debugging by Printing
Debugging by Querying
Debugging by Watching
Debugging System Faults
Debuggers and Related Tools
5. Concurrency and Race Conditions
Pitfalls in scull
Concurrency and Its Management
Semaphores and Mutexes
Completions
Spinlocks
Locking Traps
Alternatives to Locking
Quick Reference
6. Advanced Char Driver Operations
ioctl
Blocking I/O
poll and select
Asynchronous Notification
Seeking a Device
Access Control on a Device File
Quick Reference
7. Time, Delays, and Deferred Work
Measuring Time Lapses
Knowing the Current Time
Delaying Execution
Kernel Timers
Tasklets
Workqueues
Quick Reference
8. Allocating Memory
9. Communicating with Hardware
10. Interrupt Handling
11. Data Types in the Kernel
12. PCI Drivers
13. USB Drivers
14. The Linux Device Model
15. Memory Mapping and DMA
16. Block Drivers
17. Network Drivers
18. TTY Drivers
Index
作者介绍:
暂无相关内容,正在全力查找中
出版社信息:
暂无出版社相关信息,正在全力查找中!
书籍摘录:
暂无相关书籍摘录,正在全力查找中!
在线阅读/听书/购买/PDF下载地址:
原文赏析:
GFP_ATOMIC
Used to allocate memory from interrupt handlers and other code outside of a process context. Never sleeps.
GFP_KERNEL
Normal allocation of kernel memory. May sleep.
struct gendisk is a dynamically allocated structure that requires special kernel
manipulation to be initialized; drivers cannot allocate the structure on their own.
Instead, you must call:
The minors argument should be the number of minor numbers this disk uses; note
that you cannot change the minors field later and expect things to work properly.
When a disk is no longer needed, it should be freed with:
A gendisk is a reference-counted structure (it contains a kobject). There are get_disk
and put_disk functions available to manipulate the reference count, but drivers
should never need to do that. Normally, the call to del_gendisk removes the final reference
to a gendisk, but there are no guarantees of that. Thus, it is possible that the
structure could continue to exist (and your methods could be called) after a call to
del_gendisk. If you delete the structure when there are no users (that is, after the final
release or in your module cleanup function), however, you can be sure that you will
not hear from it again.
Allocating a gendisk structure does not make the disk available to the system. To do
that, you must initialize the structure and call add_disk:
其它内容:
书籍介绍
本书揭示了如何给大多数的设备编写驱动程序的信息,这些信息迄今仅通过口头或者隐晦的源代码注释被共享。你不必是一个内核高手就可以理解并享受本书,所需要的只是C以及Unix系统调用方面的背景知识。在不需要特殊的硬件设备就能编译和运行的详细示例的指引下,你将学会如何给字符设备、块设备和网络接口编写驱动程序。PCI、USB和tty(终端)子系统都单列一章。本书为那些对操作系统的工作机制好奇的人提供了地址空间、异步事件和I/O等方面的阐述。
网站评分
书籍多样性:9分
书籍信息完全性:7分
网站更新速度:6分
使用便利性:3分
书籍清晰度:7分
书籍格式兼容性:8分
是否包含广告:4分
加载速度:6分
安全性:5分
稳定性:9分
搜索功能:8分
下载便捷性:4分
下载点评
- 四星好评(215+)
- 章节完整(165+)
- 赚了(396+)
- 服务好(340+)
- 差评(389+)
- 强烈推荐(71+)
- 体验满分(518+)
- 内涵好书(531+)
- 速度慢(123+)
- 无广告(270+)
- 下载速度快(474+)
下载评价
- 网友 国***芳:
五星好评
- 网友 师***怡:
说的好不如用的好,真心很好。越来越完美
- 网友 家***丝:
好6666666
- 网友 堵***洁:
好用,支持
- 网友 谢***灵:
推荐,啥格式都有
- 网友 索***宸:
书的质量很好。资源多
- 网友 后***之:
强烈推荐!无论下载速度还是书籍内容都没话说 真的很良心!
- 网友 康***溪:
强烈推荐!!!
- 网友 权***波:
收费就是好,还可以多种搜索,实在不行直接留言,24小时没发到你邮箱自动退款的!
- 网友 居***南:
请问,能在线转换格式吗?
喜欢"LINUX设备驱动程序(影印版)(第三版)"的人也看了
2023版监理工程师考试 建设工程监理案例分析(土木建筑工程)历年真题+考点解读+专家指导 rb kindle 网盘 umd 极速 下载 pdf mobi
2023年全国勘察设计注册公用设备工程师给水排水专业执业资格考试教材 第2册 排水工程 rb kindle 网盘 umd 极速 下载 pdf mobi
主体立场的心理学 rb kindle 网盘 umd 极速 下载 pdf mobi
Le Grand Alfredo rb kindle 网盘 umd 极速 下载 pdf mobi
婚久不昏 京华出版社 rb kindle 网盘 umd 极速 下载 pdf mobi
全套3本 举一反三3年级达标测试+新版举一反三三年级A版B版全套奥数题数学思维训练小学奥数举一反三上册下册同步训练专项思维训练天天练 rb kindle 网盘 umd 极速 下载 pdf mobi
只给爸爸看的育儿经:《爸爸去哪儿》带给我们的教子启示 rb kindle 网盘 umd 极速 下载 pdf mobi
微创业 大未来 浓缩书编辑部 编 rb kindle 网盘 umd 极速 下载 pdf mobi
发现者旅行指南-东北 rb kindle 网盘 umd 极速 下载 pdf mobi
化学生物学基础 rb kindle 网盘 umd 极速 下载 pdf mobi
- Why Women Mean Business: Understanding the Emergence of our next Economic Revolution妇女在未来经济革命中的角色 rb kindle 网盘 umd 极速 下载 pdf mobi
- 小学英语分级阅读99篇六年级 杰丹尼斯英语带音频英语分级阅读理解专项训练题课外拓展同步每日一练英语强化训练6年级上下册辅导书 rb kindle 网盘 umd 极速 下载 pdf mobi
- 青春密语 rb kindle 网盘 umd 极速 下载 pdf mobi
- 公路资料员工作表格填写范例 rb kindle 网盘 umd 极速 下载 pdf mobi
- How to Paint a Vermeer rb kindle 网盘 umd 极速 下载 pdf mobi
- 圆体-漂亮英文速成宝典 rb kindle 网盘 umd 极速 下载 pdf mobi
- 画·大师 rb kindle 网盘 umd 极速 下载 pdf mobi
- 柑橘病虫害原色图鉴(精) rb kindle 网盘 umd 极速 下载 pdf mobi
- 冠军数独——2012、2013世界数独锦标赛中国选拔赛赛题及详解 rb kindle 网盘 umd 极速 下载 pdf mobi
- 建筑工程识图与工程量清单计价一本通(第2版) rb kindle 网盘 umd 极速 下载 pdf mobi
书籍真实打分
故事情节:4分
人物塑造:8分
主题深度:8分
文字风格:5分
语言运用:3分
文笔流畅:3分
思想传递:9分
知识深度:7分
知识广度:3分
实用性:5分
章节划分:6分
结构布局:5分
新颖与独特:3分
情感共鸣:8分
引人入胜:3分
现实相关:4分
沉浸感:4分
事实准确性:9分
文化贡献:4分