LINUX设备驱动程序(影印版)(第三版) 下载 pdf 百度网盘 epub 免费 2025 电子版 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等方面的阐述。
网站评分
书籍多样性:5分
书籍信息完全性:6分
网站更新速度:8分
使用便利性:6分
书籍清晰度:7分
书籍格式兼容性:5分
是否包含广告:4分
加载速度:6分
安全性:3分
稳定性:3分
搜索功能:7分
下载便捷性:7分
下载点评
- 一星好评(450+)
- 愉快的找书体验(621+)
- 无缺页(447+)
- 引人入胜(175+)
- 格式多(380+)
- 方便(585+)
- 下载速度快(580+)
下载评价
- 网友 菱***兰:
特好。有好多书
- 网友 方***旋:
真的很好,里面很多小说都能搜到,但就是收费的太多了
- 网友 石***致:
挺实用的,给个赞!希望越来越好,一直支持。
- 网友 郗***兰:
网站体验不错
- 网友 冷***洁:
不错,用着很方便
- 网友 林***艳:
很好,能找到很多平常找不到的书。
- 网友 习***蓉:
品相完美
- 网友 谢***灵:
推荐,啥格式都有
- 网友 权***波:
收费就是好,还可以多种搜索,实在不行直接留言,24小时没发到你邮箱自动退款的!
- 网友 仰***兰:
喜欢!很棒!!超级推荐!
- 网友 石***烟:
还可以吧,毕竟也是要成本的,付费应该的,更何况下载速度还挺快的
- 网友 益***琴:
好书都要花钱,如果要学习,建议买实体书;如果只是娱乐,看看这个网站,对你来说,是很好的选择。
喜欢"LINUX设备驱动程序(影印版)(第三版)"的人也看了
桥牌现代防守技巧(上册) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
凝视西藏 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
建筑电气工程施工员培训教材 宋延涛 主编 中国建材工业出版社【正版】 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
当代世界室内设计 Contemporary World Interiors 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
剑桥双语分级阅读 彩绘小说馆(第2级)(套装6册)(剑桥KET级别 单词要求800词以上) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
太湖西山文物雕刻集锦 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
犯罪学教科书(第二版) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
方介堪藏吉金拓片集 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
孟子选译 刘聿鑫,刘晓东 译注 凤凰出版社,【正版保证】 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
9787111454250 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 宏观经济学 (原书第7版) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 生产现场管理 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 正版现货:托马斯和朋友原著绘本——托马斯的特别支线正版 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 出口贸易操作20步 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 电网设备金属材料监督与检测 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 临床心电图精典--从分析思路到诊断规范 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 读通鉴论文白对照 套装全4册 全本全译 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 建设工程计量与计价实务(土木建筑工程)(2023上海地区) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 全国卫生专业职称技术资格考试 妇产科主治医师资格考试考点速记(第二版)(主治医师晋升宝典) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 儿童简笔画 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
书籍真实打分
故事情节:4分
人物塑造:7分
主题深度:6分
文字风格:4分
语言运用:9分
文笔流畅:8分
思想传递:4分
知识深度:9分
知识广度:9分
实用性:7分
章节划分:8分
结构布局:9分
新颖与独特:6分
情感共鸣:4分
引人入胜:7分
现实相关:6分
沉浸感:9分
事实准确性:6分
文化贡献:6分