Восстановить пароль
FAQ по входу

Corbet Jonathan, Kroah-Hartman Greg, Rubini Alessandro. Linux Device Drivers

  • Добавлен пользователем , дата добавления неизвестна
  • Отредактирован
Corbet Jonathan, Kroah-Hartman Greg, Rubini Alessandro. Linux Device Drivers
3rd Edition. — O'Reilly, 2005. — 636 p.
Over the years, this bestselling guide has helped countless programmers learn how to support computer peripherals under the Linux operating system, and how to develop new hardware under Linux. Now, with this third edition, it's even more helpful, covering all the significant changes to Version 2.6 of the Linux kernel.
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.
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.
Building and Running Modules.
Setting Up Your Test System.
The Hello World Module.
Kernel Modules Versus Applications.
Compiling and Loading.
The Kernel Symbol Table.
Initialization and Shutdown.
Module Parameters.
Doing It in User Space.
Quick Reference.
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.
Debugging Techniques.
Debugging Support in the Kernel.
Debugging by Printing.
Debugging by Querying.
Debugging by Watching.
Debugging System Faults.
Debuggers and Related Tools.
Concurrency and Race Conditions.
Pitfalls in scull.
Concurrency and Its Management.
Semaphores and Mutexes.
Locking Traps.
Alternatives to Locking.
Quick Reference.
Advanced Char Driver Operations.
Blocking I/O.
poll and select.
Asynchronous Notification.
Seeking a Device.
Access Control on a Device File.
Quick Reference.
Time, Delays, and Deferred Work.
Measuring Time Lapses.
Knowing the Current Time.
Delaying Execution.
Kernel Timers.
Quick Reference.
Allocating Memory.
The Real Story of kmalloc.
Lookaside Caches.
get_free_page and Friends.
Vmalloc and Friends.
Per-CPU Variables.
Obtaining Large Buffers.
Quick Reference.
Communicating with Hardware.
/O Ports and I/O Memory.
Using I/O Ports.
An I/O Port Example.
Using I/O Memory.
Quick Reference.
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.
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.
PCI Drivers.
The PCI Interface.
A Look Back: ISA.
PC/104 and PC/104+.
Other PC Buses.
External Buses.
Quick Reference.
USB Drivers.
USB Device Basics.
USB and Sysfs.
USB Urbs.
Writing a USB Driver.
USB Transfers Without Urbs.
Quick Reference.
The Linux Device Model.
Kobjects, Ksets, and Subsystems.
Low-Level Sysfs Operations.
Hotplug Event Generation.
Buses, Devices, and Drivers.
Putting It All Together.
Dealing with Firmware.
Quick Reference.
Memory Mapping and DMA.
Memory Management in Linux.
The mmap Device Operation.
Performing Direct I/O.
Direct Memory Access.
Quick Reference.
Block Drivers.
The Block Device Operations.
Request Processing.
Some Other Details.
Quick Reference.
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.
A Few Other Details.
Quick Reference.
TTY Drivers.
A Small TTY Driver.
tty_driver Function Pointers.
TTY Line Settings.
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.
Web Sites.
  • Чтобы скачать этот файл зарегистрируйтесь и/или войдите на сайт используя форму сверху.
  • Регистрация