Flylib.com
The Windows 2000 Device Driver Book: A Guide for Programmers (2nd Edition)
The Windows 2000 Device Driver Book: A Guide for Programmers (2nd Edition)
ISBN: 0130204315
EAN: 2147483647
Year: 2000
Pages: 156
Authors:
Art Baker
,
Jerry Lozano
BUY ON AMAZON
Cover
Table of Contents
Foreword
Preface
What You Should Already Know
What s Covered
What s Not
About the Sample Code
History of this Book
Training and Consulting Services
Acknowledgments
Chapter 1. Introduction to Windows 2000 Drivers
Overall System Architecture
Kernel-Mode IO Components
Special Driver Architectures
Summary
Chapter 2. The Hardware Environment
Hardware Basics
Buses and Windows 2000
Hints for Working with Hardware
Summary
Chapter 3. Kernel-Mode IO Processing
How Kernel-Mode Code Executes
Use of Interrupt Priorities by Windows 2000
Deferred Procedure Calls (DPCs)
Access to User Buffers
Structure of a Kernel-Mode Driver
IO Processing Sequence
Summary
Chapter 4. Drivers and Kernel-Mode Objects
Data Objects and Windows 2000
IO Request Packets (IRPs)
Driver Objects
Device Objects and Device Extensions
Controller Objects and Controller Extensions
Adapter Objects
Interrupt Objects
Summary
Chapter 5. General Development Issues
Driver Design Strategies
Coding Conventions and Techniques
Driver Memory Allocation
Unicode Strings
Interrupt Synchronization
Synchronizing Multiple CPUs
Linked Lists
Summary
Chapter 6. Initialization and Cleanup Routines
Writing a DriverEntry Routine
Code Example: Driver Initialization
Writing Reinitialize Routines
Writing an Unload Routine
Code Example: Driver Unload
Writing Shutdown Routines
Testing the Driver
Summary
Chapter 7. Driver Dispatch Routines
Announcing Driver Dispatch Routines
Writing Driver Dispatch Routines
Processing Read and Write Requests
Code Example: A Loopback Device
Extending the Dispatch Interface
Testing Driver Dispatch Routines
Summary
Chapter 8. Interrupt-Driven IO
How Programmed IO Works
Driver Initialization and Cleanup
Writing a Start IO Routine
Writing an Interrupt Service Routine (ISR)
Writing a DpcForIsr Routine
Some Hardware: The Parallel Port
Code Example: Parallel Port Loopback Driver
Testing the Parallel Port Loopback Driver
Summary
Chapter 9. Hardware Initialization
The Plug and Play Architecture: A Brief History
The Role of the Registry for Legacy Drivers
Detecting Devices with Plug and Play
The Role of Driver Layers in Plug and Play
The New WDM IRP Dispatch Functions
Device Enumeration
Device Interfaces
Code Example: A Simple Plug and Play Driver
Summary
Chapter 10. Power Management
Hot Plug Devices
OnNow Initiative
Wake Requests
Power Management Issues
Summary
Chapter 11. Timers
Handling Device Timeouts
Code Example: Catching Device Timeouts
Managing Devices without Interrupts
Code Example: A Timer-Based Driver
Summary
Chapter 12. DMA Drivers
How DMA Works under Windows 2000
Working with Adapter Objects
Writing a Packet-Based Slave DMA Driver
Code Example: A Packet-Based Slave DMA Driver
Writing a Packet-Based Bus Master DMA Driver
Writing a Common Buffer Slave DMA Driver
Writing a Common Buffer Bus Master DMA Driver
Summary
Chapter 13. Windows Management and Instrumentation
WMI: The Industry Picture
The WMI Architecture
WMI Summary
Conventional Driver Event Logging
Summary
Chapter 14. System Threads
Definition and Use of System Threads
Thread Synchronization
Using Dispatcher Objects
Code Example: A Thread-Based Driver
Summary
Chapter 15. Layered Drivers
An Overview of Intermediate Drivers
Writing Layered Drivers
Writing IO Completion Routines
Allocating Additional IRPs
Writing Filter Drivers
Code Example: A Filter Driver
Writing Tightly Coupled Drivers
Summary
Chapter 16. Driver Installation
Installation of a Driver
Auto-Install Using INF Files
Using a Driver INF File
Controlling Driver Load Sequence
Digital Signing of a Driver
Summary
Chapter 17. Testing and Debugging Drivers
Guidelines for Driver Testing
Why Drivers Fail
Reading Crash Screens
An Overview of WinDbg
Analyzing a Crash Dump
Interactive Debugging
Writing WinDbg Extensions
Code Example: A WinDbg Extension
Miscellaneous Debugging Techniques
Summary
Appendix A. The Driver Debug Environment
Hardware and Software Requirements
Debug Symbol Files
Enabling Crash Dumps on the Target System
Enabling the Target System s Debug Client
Appendix B. Bugcheck Codes
Appendix C. Building Drivers
The Build Utility
Using Visual Studio to Build Drivers
About the Autors
Bibliography
The Windows 2000 Device Driver Book: A Guide for Programmers (2nd Edition)
ISBN: 0130204315
EAN: 2147483647
Year: 2000
Pages: 156
Authors:
Art Baker
,
Jerry Lozano
BUY ON AMAZON
Beginners Guide to DarkBASIC Game Programming (Premier Press Game Development)
Looping Commands
Basic Graphics Commands
Programming the Keyboard, Mouse, and Joystick
Playing Some Tunes CD Audio, MIDI and MP3 Music
Playing Intro Movies and Cut-Scenes
Qshell for iSeries
The EDTF Text Editor
Using Parameters and Variables
Input and Output
Commands
Functions
C++ GUI Programming with Qt 3
Multiple Document Interface
Input/Output
Creating Data-Aware Forms
Using QHttp
Working with Threads
PostgreSQL(c) The comprehensive guide to building, programming, and administering PostgreSQL databases
Connecting to a Database
Server-Side Programming
Summary
Resources
Using PostgreSQL with Python
Mapping Hacks: Tips & Tools for Electronic Cartography
Hack 8. Publish Maps of Your Photos on the Web
Hack 10. Georeference Digital Photos
Hack 28. Experiment with Different Cartographic Projections
Hack 38. Add Location to Weblogs and RSS Feeds
Hack 73. Make Your Own Contour Maps
Lean Six Sigma for Service : How to Use Lean Speed and Six Sigma Quality to Improve Services and Transactions
Getting Faster to Get Better Why You Need Both Lean and Six Sigma
Success Story #2 Bank One Bigger… Now Better
Success Story #4 Stanford Hospital and Clinics At the forefront of the quality revolution
Service Process Challenges
Using DMAIC to Improve Service Processes
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies