LINUX设备驱动程序(影印版)(第三版) mobi 下载 网盘 caj lrf pdf txt 阿里云

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等方面的阐述。
网站评分
书籍多样性:6分
书籍信息完全性:9分
网站更新速度:5分
使用便利性:5分
书籍清晰度:8分
书籍格式兼容性:5分
是否包含广告:7分
加载速度:9分
安全性:7分
稳定性:3分
搜索功能:5分
下载便捷性:7分
下载点评
- 微信读书(330+)
- 收费(108+)
- 内容完整(539+)
- 速度慢(645+)
- 超值(468+)
- azw3(147+)
下载评价
- 网友 饶***丽:
下载方式特简单,一直点就好了。
- 网友 融***华:
下载速度还可以
- 网友 马***偲:
好 很好 非常好 无比的好 史上最好的
- 网友 权***波:
收费就是好,还可以多种搜索,实在不行直接留言,24小时没发到你邮箱自动退款的!
- 网友 曹***雯:
为什么许多书都找不到?
- 网友 薛***玉:
就是我想要的!!!
- 网友 养***秋:
我是新来的考古学家
- 网友 利***巧:
差评。这个是收费的
- 网友 苍***如:
什么格式都有的呀。
喜欢"LINUX设备驱动程序(影印版)(第三版)"的人也看了
郭论 mobi 下载 网盘 caj lrf pdf txt 阿里云
科技小院之“三农” mobi 下载 网盘 caj lrf pdf txt 阿里云
书画鉴定100讲【放心购买】 mobi 下载 网盘 caj lrf pdf txt 阿里云
猛士 mobi 下载 网盘 caj lrf pdf txt 阿里云
5年中考3年模拟:道德与法治(九年级上册 人教版 2020版 初中试卷) mobi 下载 网盘 caj lrf pdf txt 阿里云
论语新读 mobi 下载 网盘 caj lrf pdf txt 阿里云
异星建设者 mobi 下载 网盘 caj lrf pdf txt 阿里云
婚姻家庭继承:实用版法规专辑(新7版) mobi 下载 网盘 caj lrf pdf txt 阿里云
其后 それから mobi 下载 网盘 caj lrf pdf txt 阿里云
2021年二级造价师通关宝典——安装实务篇 mobi 下载 网盘 caj lrf pdf txt 阿里云
- 极简亚洲千年史:当世界中心在亚洲 斯图亚特·戈登(Stewart Gordon) 湖南文艺出【正版保证】 mobi 下载 网盘 caj lrf pdf txt 阿里云
- 通制条格校注 mobi 下载 网盘 caj lrf pdf txt 阿里云
- 高雅的气场 mobi 下载 网盘 caj lrf pdf txt 阿里云
- 牛津高阶英汉双解词典 第10版 mobi 下载 网盘 caj lrf pdf txt 阿里云
- 掌握家庭治疗 mobi 下载 网盘 caj lrf pdf txt 阿里云
- 人的解读 杰米那拉【正版书】. mobi 下载 网盘 caj lrf pdf txt 阿里云
- 线性代数与几何 mobi 下载 网盘 caj lrf pdf txt 阿里云
- 漫画数学:建筑与数学 mobi 下载 网盘 caj lrf pdf txt 阿里云
- 9787300173603 mobi 下载 网盘 caj lrf pdf txt 阿里云
- Access数据库应用 mobi 下载 网盘 caj lrf pdf txt 阿里云
书籍真实打分
故事情节:3分
人物塑造:7分
主题深度:8分
文字风格:9分
语言运用:8分
文笔流畅:6分
思想传递:9分
知识深度:6分
知识广度:5分
实用性:7分
章节划分:9分
结构布局:8分
新颖与独特:4分
情感共鸣:6分
引人入胜:8分
现实相关:8分
沉浸感:6分
事实准确性:7分
文化贡献:3分