您好,欢迎来到聚文网。 登录 免费注册
LINUX设备驱动程序(第3版影印版)(英文版)

LINUX设备驱动程序(第3版影印版)(英文版)

  • 字数: 783
  • 出版社: 东南大学
  • 作者: (美)乔纳森·科比特//亚历山德罗·鲁比尼//格雷格·K.哈特曼
  • 商品条码: 9787564183394
  • 版次: 1
  • 开本: 16开
  • 页数: 615
  • 出版年份: 2019
  • 印次: 1
定价:¥142 销售价:登录后查看价格  ¥{{selectedSku?.salePrice}} 
库存: {{selectedSku?.stock}} 库存充足
{{item.title}}:
{{its.name}}
精选
内容简介
本书是经典著作《Linux设备驱动程序》的第3版 。如果您希望在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等 方面的内容。
目录
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 Char 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

蜀ICP备2024047804号

Copyright 版权所有 © jvwen.com 聚文网