| |||||||||||||||
Eventually, the book turns to device registers, device memory, and different PC busses (such as PCI). A section on I/O Request Packets (IRPs) and interrupt handling within Windows NT shows how to do asynchronous I/O. The authors offer a simple "Hello World" example for a device driver and present various debugging techniques.
Subsequent chapters deepen the reader's knowledge on topics such as device I/O, synchronization (including spin locks), device-driver initialization and cleanup, and direct memory access (DMA). These chapters also instruct you on how to access hardware ports and interrupt processing (a crucial topic) and how to move device memory into system memory (along with a working example). Discussion of more specialized topics--ISA and PCI busses, serialization, driver threads, and the advantages of the new "layered" driver model--follows.
Authors Edward Dekker and Joseph M. Newcomer offer plenty of excellent real-world advice. (Material on how to log device-driver events and manage the infamous Windows "Blue Screen of Death" is indispensable.) They present a "hardware simulator" that lets readers develop device drivers without an actual hardware device. The book closes with information on Windows 2000, universal serial bus (USB) devices, the Win32 driver model, and over 300 pages of reference material, including device-driver kernel functions. Overall, this comprehensive text provides a solid introduction to the way Windows NT device drivers interact with hardware; it gives you all you need to start building custom device drivers. --Richard Dragan
Compared to other Windows NT device-driver development books, Developing Windows NT Device Drivers is hardware-oriented. A lot of real hardware-related information is presented, including small circuit diagrams and views about throwing hardware at debug problems with extender cards and bus/logic analyzers using products from various tool vendors such as Vmetro and Catalyst Enterprises. A lot of products are mentioned, including libraries and debugging tools from vendors such as Bluewater Systems and Compuware/NuMega.
Dekker and Newcommer could have subtitled this book, "My life in device-driver development." There are a lot of digressions, including brief and mostly interesting references to DEC system-10, RS/6000, Windows 3.x, CP/M, and a CMU symmetric multiprocessor research project. Everything related to driver development gets a mention, even if briefly, according to the authors, "for completeness." The authors appear to be quite fond of footnotes, many of which are off topic comments. A lot of the asides include general advice, from which compiler to use (Microsoft will have no sympathy, if you don't use Visual C++) to which books to read on specific buses. (They like the mindshare books, as do I.) The authors are adamant on some subjects such as ISA plug-and-play (just don't do it) and Hungarian notation. I never trust other people's code and take it at face value. If you don't like Hungarian notation, ignore it. --Regan Russell, Dr. Dobb's Electronic Review of Computer Books -- Dr. Dobb's Electronic Review of Computer Books
Product Details
Would you like to update product info or give feedback on images?
|
|
Share your thoughts with other customers:
|
||||||||||||||||||||||
|
Most Helpful Customer Reviews
10 of 10 people found the following review helpful:
4.0 out of 5 stars
One of the bests,
By A Customer
This review is from: Developing Windows NT Device Drivers: A Programmer's Handbook (Hardcover)
I have written some VxDs before I read this book. And the book introduced fairly well about the writing NT device drivers. And I had the confidence that I could wirte the driver right away once I read the book. But, it seems somewhat difficult for the beginners because it misses the detailed explanation for some issues. I guess the authors of the book should have spent some more pages for vitual memory and multi-processors when the book got already more than 1000 pages. Some more pages won't kill.
9 of 10 people found the following review helpful:
5.0 out of 5 stars
My Savior,
This review is from: Developing Windows NT Device Drivers: A Programmer's Handbook (Hardcover)
I'm a high school intern and I knew nothing about drivers (other than installing them) 3 months ago. Now I have completed 2, an ISA and Parallel port driver. This book is really great for people new to the DDK and need a good foundation. The examples are clear, and the pace of the book is pretty slow (but steady). Once you get past the first 9-10 chapters you can pretty much skim for parts you need. The tips are especially helpful, as to why C++ OOP isn't suitable, to why 2 computers are absolutely necessary. Even if you plan on making WDM drivers, this book will be helpful. Oney's WDM book is really useless for beginners, and the DDK almost has no redeeming value, other than being very very heavy (oh, wait thats not good either). The net is surprisingly lacking of driver programming pages. Get this book.
18 of 24 people found the following review helpful:
2.0 out of 5 stars
Note: The Book does not cover many types of drivers!,
This review is from: Developing Windows NT Device Drivers: A Programmer's Handbook (Hardcover)
I just received the book and I immediately turned to the index to search for NETWORK DRIVERS. Nope. Well, the introduction chapter will tell you "what we don't cover" (this important omission should of been mentioned in the online book excerpts):The book does not cover: File Drivers, Network Drivers, Graphic Drivers and User Mode Drivers. One would think that in this day of age of Communications, High End Speed Games, etc, that a rather large book titled "Developing Windows NT Device Drivers" would cover these important device drivers. At a minimum, its should of covered NDIS Device Drivers. It does not.
Share your thoughts with other customers: Create your own review
|
|
Tags Customers Associate with This Product(What's this?)Click on a tag to find related items, discussions, and people.
|
|
This product's forum
Active discussions in related forums
Search Customer Discussions
|
Related forums
|