LINUX设备驱动程序(影印版)(第三版) 下载 fb2 pdf rb kindle 115盘 极速 azw3

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等方面的阐述。
网站评分
书籍多样性:7分
书籍信息完全性:8分
网站更新速度:4分
使用便利性:9分
书籍清晰度:4分
书籍格式兼容性:7分
是否包含广告:7分
加载速度:3分
安全性:5分
稳定性:8分
搜索功能:8分
下载便捷性:6分
下载点评
- 强烈推荐(310+)
- 无多页(619+)
- 无盗版(367+)
- 在线转格式(656+)
- 目录完整(210+)
- 方便(282+)
- 图书多(569+)
- 体验好(325+)
下载评价
- 网友 索***宸:
书的质量很好。资源多
- 网友 游***钰:
用了才知道好用,推荐!太好用了
- 网友 苍***如:
什么格式都有的呀。
- 网友 宓***莉:
不仅速度快,而且内容无盗版痕迹。
- 网友 宫***玉:
我说完了。
- 网友 林***艳:
很好,能找到很多平常找不到的书。
- 网友 寇***音:
好,真的挺使用的!
- 网友 宫***凡:
一般般,只能说收费的比免费的强不少。
- 网友 益***琴:
好书都要花钱,如果要学习,建议买实体书;如果只是娱乐,看看这个网站,对你来说,是很好的选择。
- 网友 国***舒:
中评,付点钱这里能找到就找到了,找不到别的地方也不一定能找到
- 网友 权***波:
收费就是好,还可以多种搜索,实在不行直接留言,24小时没发到你邮箱自动退款的!
- 网友 訾***晴:
挺好的,书籍丰富
喜欢"LINUX设备驱动程序(影印版)(第三版)"的人也看了
战争中的希特勒 下载 fb2 pdf rb kindle 115盘 极速 azw3
外国美术史十讲(高等院校艺术设计专业“十二五”规划教材) 下载 fb2 pdf rb kindle 115盘 极速 azw3
运筹学 下载 fb2 pdf rb kindle 115盘 极速 azw3
流淌的歌声·金曲典藏系列影视歌曲 本书编委会 编 下载 fb2 pdf rb kindle 115盘 极速 azw3
2008年-中医结合考试大纲-全国硕士研究生入学统一考试 下载 fb2 pdf rb kindle 115盘 极速 azw3
2017考研数学考前冲刺10套卷(数学一) 下载 fb2 pdf rb kindle 115盘 极速 azw3
2012-经济法基础 下载 fb2 pdf rb kindle 115盘 极速 azw3
全新正版图书 新编现代商务礼仪 陈向红 电子工业出版社 9787121358357 点亮音像专营店 下载 fb2 pdf rb kindle 115盘 极速 azw3
正版 老年病防治300问/百病百问沙龙丛书 中国中医药正版9787800898907 下载 fb2 pdf rb kindle 115盘 极速 azw3
2019年MBA/MPA/MPAcc管理类专业学位联考考前点睛:英语历年真题精解及全真预测试卷 下载 fb2 pdf rb kindle 115盘 极速 azw3
- 建筑施工特种作业人员培训教材 物料提升机司机 9787112286355 下载 fb2 pdf rb kindle 115盘 极速 azw3
- 好喜欢好喜欢你 下载 fb2 pdf rb kindle 115盘 极速 azw3
- 一千零一夜(小学语文新课标必读名著.彩色注音精装版) 下载 fb2 pdf rb kindle 115盘 极速 azw3
- 又见梅娘 下载 fb2 pdf rb kindle 115盘 极速 azw3
- 2018-2019事业单位公开招聘工作人员考试预测系列:行政职业能力测验标准预测试卷及解析 下载 fb2 pdf rb kindle 115盘 极速 azw3
- 环境化学(刘晶晶) 下载 fb2 pdf rb kindle 115盘 极速 azw3
- 信息隐藏与数字水印 机械工业出版社 下载 fb2 pdf rb kindle 115盘 极速 azw3
- 政府与非营利组织会计(第2版) 下载 fb2 pdf rb kindle 115盘 极速 azw3
- 经济刑法(第13辑) 下载 fb2 pdf rb kindle 115盘 极速 azw3
- 岁月传城 南京城墙旧影 下载 fb2 pdf rb kindle 115盘 极速 azw3
书籍真实打分
故事情节:8分
人物塑造:3分
主题深度:7分
文字风格:8分
语言运用:3分
文笔流畅:4分
思想传递:8分
知识深度:4分
知识广度:6分
实用性:6分
章节划分:8分
结构布局:4分
新颖与独特:4分
情感共鸣:6分
引人入胜:7分
现实相关:9分
沉浸感:6分
事实准确性:7分
文化贡献:5分