注冊(cè) | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁(yè)出版圖書科學(xué)技術(shù)工業(yè)技術(shù)建筑科學(xué)建筑設(shè)計(jì)LINUX設(shè)備驅(qū)動(dòng)程序(第3版影印版 英文版)

LINUX設(shè)備驅(qū)動(dòng)程序(第3版影印版 英文版)

LINUX設(shè)備驅(qū)動(dòng)程序(第3版影印版 英文版)

定 價(jià):¥142.00

作 者: (美)喬納森·科比特,亞歷山德羅·魯比尼,格雷格·K.哈特曼
出版社: 東南大學(xué)出版社
叢編項(xiàng):
標(biāo) 簽: 暫缺

ISBN: 9787564183394 出版時(shí)間: 2019-05-01 包裝: 平裝
開(kāi)本: 16開(kāi) 頁(yè)數(shù): 615 字?jǐn)?shù):  

內(nèi)容簡(jiǎn)介

  《LINUX設(shè)備驅(qū)動(dòng)程序(第3版 影印版 英文版)》的作者均是Linux社區(qū)的領(lǐng)導(dǎo)者。Jonathan Corbet雖不是專職的內(nèi)核代碼貢獻(xiàn)者,但他是備受關(guān)注的LwN.net新聞及信息網(wǎng)站的執(zhí)行編輯。Alessandro Rubini是一名Linux代碼貢獻(xiàn)者,也是活躍的意大利Linux社區(qū)的靈魂人物。Greg Kroah-Hartman是目前內(nèi)核中USB、PCI和驅(qū)動(dòng)程序核心子系統(tǒng)的維護(hù)者?!禠INUX設(shè)備驅(qū)動(dòng)程序(第3版 影印版 英文版)》的這個(gè)版本已針對(duì)Linux內(nèi)核的2.6.10版本徹底更新過(guò)。內(nèi)核的這個(gè)版本針對(duì)常見(jiàn)任務(wù)完成了合理化設(shè)計(jì)及相應(yīng)的簡(jiǎn)化,如即插即用、利用sysfs文件系統(tǒng)和用戶空間交互,以及標(biāo)準(zhǔn)總線上的多設(shè)備管理等等。要閱讀并理解《LINUX設(shè)備驅(qū)動(dòng)程序(第3版 影印版 英文版)》,您不必首先成為內(nèi)核黑客;只要您理解c語(yǔ)言并具有unix系統(tǒng)調(diào)用的一些背景知識(shí)即可。您將學(xué)到如何為字符設(shè)備、塊設(shè)備和網(wǎng)絡(luò)接口編寫驅(qū)動(dòng)程序。為此,《LINUX設(shè)備驅(qū)動(dòng)程序(第3版 影印版 英文版)》提供了完整的示例程序,您不需要特殊的硬件即可編譯和運(yùn)行這些示例程序?!禠INUX設(shè)備驅(qū)動(dòng)程序(第3版 影印版 英文版)》還在單獨(dú)的章節(jié)中講述了PCI、UsB和tty(終端)子系統(tǒng)。對(duì)期望了解操作系統(tǒng)內(nèi)部工作原理的讀者來(lái)講,《LINUX設(shè)備驅(qū)動(dòng)程序(第3版 影印版 英文版)》也深入闡述了地址空間、異步事件以及I/O等方面的內(nèi)容。

作者簡(jiǎn)介

暫缺《LINUX設(shè)備驅(qū)動(dòng)程序(第3版影印版 英文版)》作者簡(jiǎn)介

圖書目錄

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

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)