Testing DMA in KMDF Drivers

[Applies to KMDF only]

The following tools can help debug framework-based drivers that support DMA:

  • Driver Verifier includes specific verification tests that detect improper use of various DMA operations. For more information about DMA-specific verification, see DMA Verification.

  • The !dma kernel debugger extension displays information about the DMA subsystem and DMA device drivers that are being verified by Driver Verifier.

  • The Kernel-Mode Driver Framework Extensions include the following DMA-specific commands:

    !wdfcommonbuffer

    Dumps information about a given common buffer object.

    !wdfdmaenabler

    Dumps information about a specific DMA enabler object and its transactions and common buffer objects.

    !wdfdmaenablers

    Lists all of the DMA enablers and their transactions and common buffer objects.

    !wdfdmatransaction

    Dumps information about a given transaction object.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft