Testing DMA Drivers
Three features can be helpful in testing drivers that support DMA: Driver Verifier, the !dma debugger extension, and the KMDF-specific debugger extensions for DMA.
Chapter 21 provides information about Driver Verifier. Chapter 22 describes debugger extensions.
DMA-Specific Verification
In Windows XP and later Windows versions, Driver Verifier includes specific verification tests to detect improper use of various DMA operations. Driver Verifier includes checks for the following DMA-specific errors, which involve the underlying WDM structures rather than the WDF objects:
Overrunning or underrunning the DMA memory buffer.
These errors can be made by the hardware or by the driver.
Freeing the same common buffer, adapter channel, map ...
Get Developing Drivers with the Windows® Driver Foundation now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.