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
Certified Ethical Hacker Exam Prep
Summary
Study Strategies
Digital Certificates
Evading Firewalls, IDS, and Honeypots
Title
Image Processing with LabVIEW and IMAQ Vision
Introduction to IMAQ Vision Builder
Image Standards
Gray-Scale Operations
Image Analysis
Application Examples
Cisco Voice Gateways and Gatekeepers
The Role of Voice Gatekeepers
H.323 Network Components
Troubleshooting Digit Manipulation
MGCP Gateway Fallback
Twisted Network Programming Essentials
Checking Whether a Page Has Changed
Working with POST Data from HTML Forms
Calling XML-RPC Functions
Authenticating Against a Database Table
Listing the Newsgroups on a Server
HTI+ Home Technology Integrator & CEDIA Installer I All-In-One Exam Guide
Connector Types and Uses
Troubleshooting Video Systems
Home Lighting Devices
Designing a Home Lighting Control System
Troubleshooting and Maintaining Lighting Control Systems
Quantitative Methods in Project Management
Organizing and Estimating the Work
Risk-Adjusted Financial Management
Expense Accounting and Earned Value
Quantitative Time Management
Special Topics in Quantitative Management
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