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

LINUX设备驱动程序(第3版影印版英文版)
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
2019-05
版次: 1
ISBN: 9787564183394
定价: 142.00
装帧: 平装
开本: 16开
纸张: 胶版纸
页数: 615页
正文语种: 英语
9人买过
  •   《LINUX设备驱动程序(第3版 影印版 英文版)》的作者均是Linux社区的领导者。Jonathan Corbet虽不是专职的内核代码贡献者,但他是备受关注的LwN.net新闻及信息网站的执行编辑。Alessandro Rubini是一名Linux代码贡献者,也是活跃的意大利Linux社区的灵魂人物。Greg Kroah-Hartman是目前内核中USB、PCI和驱动程序核心子系统的维护者。
      《LINUX设备驱动程序(第3版 影印版 英文版)》的这个版本已针对Linux内核的2.6.10版本彻底更新过。内核的这个版本针对常见任务完成了合理化设计及相应的简化,如即插即用、利用sysfs文件系统和用户空间交互,以及标准总线上的多设备管理等等。
      要阅读并理解《LINUX设备驱动程序(第3版 影印版 英文版)》,您不必首先成为内核黑客;只要您理解c语言并具有unix系统调用的一些背景知识即可。您将学到如何为字符设备、块设备和网络接口编写驱动程序。为此,《LINUX设备驱动程序(第3版 影印版 英文版)》提供了完整的示例程序,您不需要特殊的硬件即可编译和运行这些示例程序。《LINUX设备驱动程序(第3版 影印版 英文版)》还在单独的章节中讲述了PCI、UsB和tty(终端)子系统。对期望了解操作系统内部工作原理的读者来讲,《LINUX设备驱动程序(第3版 影印版 英文版)》也深入阐述了地址空间、异步事件以及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
    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
    The Real Story of kmalloc
    Lookaside Caches
    get_flee_page and Friends
    vmalloc and Friends
    Per-CPU Variables
    Obtaining Large Buffers
    Quick Reference

    9. Communicating with Hardware
    I/O Ports and I/O Memory
    Using I/O Ports
    An I/O Port Example
    Using I/O Memory
    Quick Reference

    10. Interrupt Handling
    Preparing the Parallel Port
    Installing an Interrupt Handler
    Implementing a Handler
    Top and Bottom Halves
    Interrupt Sharing
    Interrupt-Driven I/O
    Quick Reference

    11. Data Types in the Kernel
    Use of Standard C Types
    Assigning an Explicit Size to Data Items
    Interface-Specific Types
    Other Portability Issues
    Linked Lists
    Quick Reference

    12. PCl Drivers
    The PCI Interface
    A LookBackl. ISA
    PC/104 and PC/104+
    Other PC Buses
    SBus
    NuBus
    External Buses
    Quick Reference

    13. USB Drivers
    USB Device Basics
    USB and Sysfs
    USB Urbs
    Writing a USB Driver
    USB Transfers Without Urbs
    Quick Reference

    14. The Linux Device Model
    Kobjects, Ksets, and Subsystems
    Low-Level Sysfs Operations
    Hotplug Event Generation
    Buses, Devices, and Drivers
    Classes
    Putting It All Together
    Hotplug
    Dealing with Firmware
    Quick Reference

    15. Memory Mapping and DMA
    Memory Management in Linux
    The mmap Device Operation
    Performing Direct I/O
    Direct Memory Access
    Quick Reference

    16. Block Drivers
    Registration
    The Block Device Operations
    Request Processing
    Some Other Details
    Quick Reference

    17. Network Drivers
    How snull Is Designed
    Connecting to the Kernel
    The net_device Structure in Detail
    Opening and Closing
    Packet Transmission
    Packet Reception
    The Interrupt Handler
    Receive Interrupt Mitigation
    Changes in Link State
    The Socket Buffers
    MAC Address Resolution
    Custom ioctl Commands
    Statistical Information
    Multicast
    A Few Other Details
    Quick Reference

    18. TTY Drivers
    A Small TTY Driver
    tty_driver Function Pointers
    TTY Line Settings
    ioctls
    proc and sysfs Handling of TTY Devices
    The tty_driver Structure in Detail
    The tty_operations Structure in Detail
    The tty_struct Structure in Detail
    Quick Reference
    Bibliography
    Index
  • 内容简介:
      《LINUX设备驱动程序(第3版 影印版 英文版)》的作者均是Linux社区的领导者。Jonathan Corbet虽不是专职的内核代码贡献者,但他是备受关注的LwN.net新闻及信息网站的执行编辑。Alessandro Rubini是一名Linux代码贡献者,也是活跃的意大利Linux社区的灵魂人物。Greg Kroah-Hartman是目前内核中USB、PCI和驱动程序核心子系统的维护者。
      《LINUX设备驱动程序(第3版 影印版 英文版)》的这个版本已针对Linux内核的2.6.10版本彻底更新过。内核的这个版本针对常见任务完成了合理化设计及相应的简化,如即插即用、利用sysfs文件系统和用户空间交互,以及标准总线上的多设备管理等等。
      要阅读并理解《LINUX设备驱动程序(第3版 影印版 英文版)》,您不必首先成为内核黑客;只要您理解c语言并具有unix系统调用的一些背景知识即可。您将学到如何为字符设备、块设备和网络接口编写驱动程序。为此,《LINUX设备驱动程序(第3版 影印版 英文版)》提供了完整的示例程序,您不需要特殊的硬件即可编译和运行这些示例程序。《LINUX设备驱动程序(第3版 影印版 英文版)》还在单独的章节中讲述了PCI、UsB和tty(终端)子系统。对期望了解操作系统内部工作原理的读者来讲,《LINUX设备驱动程序(第3版 影印版 英文版)》也深入阐述了地址空间、异步事件以及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
    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
    The Real Story of kmalloc
    Lookaside Caches
    get_flee_page and Friends
    vmalloc and Friends
    Per-CPU Variables
    Obtaining Large Buffers
    Quick Reference

    9. Communicating with Hardware
    I/O Ports and I/O Memory
    Using I/O Ports
    An I/O Port Example
    Using I/O Memory
    Quick Reference

    10. Interrupt Handling
    Preparing the Parallel Port
    Installing an Interrupt Handler
    Implementing a Handler
    Top and Bottom Halves
    Interrupt Sharing
    Interrupt-Driven I/O
    Quick Reference

    11. Data Types in the Kernel
    Use of Standard C Types
    Assigning an Explicit Size to Data Items
    Interface-Specific Types
    Other Portability Issues
    Linked Lists
    Quick Reference

    12. PCl Drivers
    The PCI Interface
    A LookBackl. ISA
    PC/104 and PC/104+
    Other PC Buses
    SBus
    NuBus
    External Buses
    Quick Reference

    13. USB Drivers
    USB Device Basics
    USB and Sysfs
    USB Urbs
    Writing a USB Driver
    USB Transfers Without Urbs
    Quick Reference

    14. The Linux Device Model
    Kobjects, Ksets, and Subsystems
    Low-Level Sysfs Operations
    Hotplug Event Generation
    Buses, Devices, and Drivers
    Classes
    Putting It All Together
    Hotplug
    Dealing with Firmware
    Quick Reference

    15. Memory Mapping and DMA
    Memory Management in Linux
    The mmap Device Operation
    Performing Direct I/O
    Direct Memory Access
    Quick Reference

    16. Block Drivers
    Registration
    The Block Device Operations
    Request Processing
    Some Other Details
    Quick Reference

    17. Network Drivers
    How snull Is Designed
    Connecting to the Kernel
    The net_device Structure in Detail
    Opening and Closing
    Packet Transmission
    Packet Reception
    The Interrupt Handler
    Receive Interrupt Mitigation
    Changes in Link State
    The Socket Buffers
    MAC Address Resolution
    Custom ioctl Commands
    Statistical Information
    Multicast
    A Few Other Details
    Quick Reference

    18. TTY Drivers
    A Small TTY Driver
    tty_driver Function Pointers
    TTY Line Settings
    ioctls
    proc and sysfs Handling of TTY Devices
    The tty_driver Structure in Detail
    The tty_operations Structure in Detail
    The tty_struct Structure in Detail
    Quick Reference
    Bibliography
    Index
查看详情
相关图书 / 更多
LINUX设备驱动程序(第3版影印版英文版)
LIttleByLittlePb
Amber Stewart 著;Layn Marlow 绘
LINUX设备驱动程序(第3版影印版英文版)
LIES(ANDTHELYINGLIARSWHOTELLTHEM)
AL FRANKEN 著
LINUX设备驱动程序(第3版影印版英文版)
LITTLE GIRL . 2015·秋 : 看得见风景的房间
谭欣欣 主编
LINUX设备驱动程序(第3版影印版英文版)
LINUX常用命令自学手册
刘遄编著
LINUX设备驱动程序(第3版影印版英文版)
LISTENANDLEARN:新编初中英语核心素养等级教程(三级)
张家庆 编
LINUX设备驱动程序(第3版影印版英文版)
LINEAR ALGEBRA
孙晓娟
LINUX设备驱动程序(第3版影印版英文版)
LINGO软件及应用习题解答
孙玺菁 编;司守奎
LINUX设备驱动程序(第3版影印版英文版)
LIFETheRollingStones:50YearsofRock'n'Roll
Editors of Life 著;Editors of Life 编
LINUX设备驱动程序(第3版影印版英文版)
LINGO基础培训教程
韩婷 编;李汉龙;隋英
LINUX设备驱动程序(第3版影印版英文版)
LISTENANDLEARN:新编初中英语核心素养等级教程(一级)
李雯 编
LINUX设备驱动程序(第3版影印版英文版)
LINUX服务器配置与安全管理李贺华等高等职业教育精品示范教材
主编 李贺华 李腾 副主编 鲁先志 胡云冰 赵瑞华 杨建存 宋娜 曲晨
LINUX设备驱动程序(第3版影印版英文版)
LISTENANDLEARN:新编初中英语核心素养等级教程(二级)
梁静 编
您可能感兴趣 / 更多
LINUX设备驱动程序(第3版影印版英文版)
无辜者的谎言(相信我!看到结局你一定会头皮发麻;全美读者推荐的悬疑神作,GOODREADS高分作品)
[美]A.R.托雷 著;梁颂宇 译;星文文化 出品
LINUX设备驱动程序(第3版影印版英文版)
孩子,把你的手给我1:怎么说孩子才爱听,怎么教孩子才肯学?帮助每一位3-12岁孩子的父母结束与孩子的所有冲突!
[美]海姆·G.吉诺特
LINUX设备驱动程序(第3版影印版英文版)
哲学、历史与僭政——重审施特劳斯与科耶夫之争
[美]弗罗斯特(Bryan-Paul Frost) 编;[美]伯恩斯(Timothy W. Burns)
LINUX设备驱动程序(第3版影印版英文版)
怎样做成大事
[美]丹·加德纳(Dan Gardner) 著;贾拥民 译;湛庐文化 出品;[丹麦]傅以斌(Bent Flyvbjerg)
LINUX设备驱动程序(第3版影印版英文版)
1200年希腊罗马神话
[美]伊迪丝·汉密尔顿
LINUX设备驱动程序(第3版影印版英文版)
爱情心理学(新编本)
[美]罗伯特·J. 斯腾伯格 (美)凯琳·斯腾伯格 倪爱萍 译
LINUX设备驱动程序(第3版影印版英文版)
黄金圈法则
[美]西蒙·斯涅克 著;磨铁文化 出品
LINUX设备驱动程序(第3版影印版英文版)
最后一章
[美]厄尼·派尔
LINUX设备驱动程序(第3版影印版英文版)
汤姆·索亚历险记 彩图注音版 一二三四年级5-6-7-8-9岁小学生课外阅读经典 儿童文学无障碍有声伴读世界名著童话故事
[美]马克 吐温
LINUX设备驱动程序(第3版影印版英文版)
富兰克林自传 名家全译本 改变无数人命运的励志传奇 埃隆马斯克反复推荐 赠富兰克林签名照及精美插图
[美]本杰明·富兰克林 著;李自修 译
LINUX设备驱动程序(第3版影印版英文版)
汤姆素亚历险记:中小学生课外阅读快乐读书吧 儿童文学无障碍有声伴读世界名著童话故事
[美]马克·吐温
LINUX设备驱动程序(第3版影印版英文版)
国际大奖图画书系列 共11册(小老鼠的恐惧的大书,大灰狼,红豆与菲比,别烦我,下雪了 ,穿靴子的猫 ,先有蛋,绿 ,特别快递,如果你想看鲸鱼 ,一个部落的孩子 ) 麦克米伦世纪
[美]莱恩·史密斯 (英)埃米莉·格雷维特 (美)劳拉·瓦卡罗·等/文 (英)埃米莉·格雷维特 等/图 彭懿 杨玲玲 阿甲 孙慧阳 白薇 译