Linuxカーネルのバージョン2.4は、デバイス・ドライバに大幅な変更が加えられており、多くのアクティビティーを単純化しているが、ドライバをより効率的かつフレキシブルにする新機能はわずかである。本第2版は新しいプロセッサとバスに合わせ、これらの変更点をもれなくカバーしている。
カーネルハッカーでなくても、C言語の理解と、Unixのシステム・コールにおける、ある程度の基礎知識さえあれば、本書を理解し楽しむことができる。本書ではキャラクター・デバイス、ブロック・デバイス、ネットワーク・インタフェース用のドライバをすべてステップ・バイ・ステップ形式で説明し、また、ドライバデザインに関する問題を示唆する多面的な事例を挙げて解説している。これらの事例の実行にあたって、特別なハードウェアは必要ではない。第2版での大きな変更点はシンメトリックマルチプロセッシング(SMP)、ロック、新しいCPU、最近サポートされはじめたバスに関する考察である。OSがどのように機能するのかに興味があるのならば、本書はアドレス空間、非同期イベント、I/Oに関する見識を与えてくれる。
移植性は本書において重大な関心事である。本書はバージョン2.4を中心に書かれているが、可能なかぎりカーネル2.0までさかのぼって情報を盛り込んでいる。また、本書は異なるハードウェアプラットフォーム間で移植性をどうやって最大化するかを教えてくれる。本書中の例はIA32(PC)とIA64、PowerPC、SPARCとSPARC64、Alpha、ARM、そしてMIPS上でテストされている。
Over the years the book has helped countless programmers learn:
how to support computer peripherals under the Linux operating system
how to develop and write software for new hardware under Linux
the basics of Linux operation even if they are not expecting to write a driver
The new edition of "Linux Device Drivers" is better than ever. The book covers all the significant changes to Version 2.6 of the Linux kernel, which simplifies many activities, and contains subtle new features that can make a driver both more efficient and more flexible. Readers will find new chapters on important types of drivers not covered previously, such as consoles, USB drivers, and more.
Best of all, you don't have to be a kernel hacker to understand and enjoy this book. All you need is an understanding of the C programming language and some background in Unix system calls. And for maximum ease-of-use, the book uses full-featured examples that you can compile and run without special hardware.
Today Linux holds fast as the most rapidly growing segment of the computer market and continues to win over enthusiastic adherents in many applicationareas. With this increasing support, Linux is now absolutely mainstream, and viewed as a solid platform for embedded systems. If you're writing device drivers, you'll want this book. In fact, you'll wonder how drivers are ever written without it.
For a programming text--and one concerned with low-level instructions and data structures, at that--this book is remarkably rich in prose. You'll typically want to read this book straight through, more or less skipping the code samples, before sketching out your plan for the driver you need to write. Then, go back and pay closer attention to the sections on specific details you need to implement, like custom task queues. For coding-time details about specific system calls and programming techniques, count on the index to point you to the right passages. --David Wall
Topics covered: Techniques for writing hardware device drivers that run under Linux kernels 2.0.x through 2.2.x. Sections show how to manage memory, time, interrupts, ports, and other details of the hardware-software interface.
アマゾンコム(Amazon)のASINでの商品情報を横断表示 / #もの書きWiki - 書店 / キーワード一覧 - 書店 / 電網工房・匠