LinuxDeviceDrivers,3rdEdition@TeamDDU - (EPUB全文下载)
文件大小:1.07 mb。
文件格式:epub 格式。
书籍内容:
Linux Device Drivers, 3rd Edition
Table of Contents
Preface
Jon's Introduction
Alessandro's Introduction
Greg's Introduction
Audience for This Book
Organization of the Material
Background Information
Online Version and License
Conventions Used in This Book
Using Code Examples
We'd Like to Hear from You
Safari Enabled
Acknowledgments
Chapter 1. An Introduction to Device Drivers
1.1. The Role of the Device Driver
1.2. Splitting the Kernel
1.3. Classes of Devices and Modules
1.4. Security Issues
1.5. Version Numbering
1.6. License Terms
1.7. Joining the Kernel Development Community
1.8. Overview of the Book
Chapter 2. Building and Running Modules
2.1. Setting Up Your Test System
2.2. The Hello World Module
2.3. Kernel Modules Versus Applications
2.4. Compiling and Loading
2.5. The Kernel Symbol Table
2.6. Preliminaries
2.7. Initialization and Shutdown
2.8. Module Parameters
2.9. Doing It in User Space
2.10. Quick Reference
Chapter 3. Char Drivers
3.1. The Design of scull
3.2. Major and Minor Numbers
3.3. Some Important Data Structures
3.4. Char Device Registration
3.5. open and release
3.6. scull's Memory Usage
3.7. read and write
3.8. Playing with the New Devices
3.9. Quick Reference
Chapter 4. Debugging Techniques
4.1. Debugging Support in the Kernel
4.2. Debugging by Printing
4.3. Debugging by Querying
4.4. Debugging by Watching
4.5. Debugging System Faults
4.6. Debuggers and Related Tools
Chapter 5. Concurrency and Race Conditions
5.1. Pitfalls in scull
5.2. Concurrency and Its Management
5.3. Semaphores and Mutexes
5.4. Completions
5.5. Spinlocks
5.6. Locking Traps
5.7. Alternatives to Locking
5.8. Quick Reference
Chapter 6. Advanced Char Driver Operations
6.1. ioctl
6.2. Blocking I/O
6.3. poll and select
6.4. Asynchronous Notification
6.5. Seeking a Device
6.6. Access Control on a Device File
6.7. Quick Reference
Chapter 7. Time, Delays, and Deferred Work
7.1. Measuring Time Lapses
7.2. Knowing the Current Time
7.3. Delaying Execution
7.4. Kernel Timers
7.5. Tasklets
7.6. Workqueues
7.7. Quick Reference
Chapter 8. Allocating Memory
8.1. The Real Story of kmalloc
8.2. Lookaside Caches
8.3. get_free_page and Friends
8.4. vmalloc and Friends
8.5. Per-CPU Variables
8.6. Obtaining Large Buffers
8.7. Quick Reference
Chapter 9. Communicating with Hardware
9.1. I/O Ports and I/O Memory
9.2. ............
书籍插图:
以上为书籍内容预览,如需阅读全文内容请下载EPUB源文件,祝您阅读愉快。
书云 Open E-Library » LinuxDeviceDrivers,3rdEdition@TeamDDU - (EPUB全文下载)