SpinlockDpc rule (kmdf)
The SpinlockDpc rule specifies that calls to KeAcquireSpinLock or KeAcquireSpinLockRaiseToDpc and KeReleaseSpinlock are used in strict alternation.
Driver model: KMDF
How to test
At compile time |
---|
Run Static Driver Verifier and specify the SpinlockDpc rule. Use the following steps to run an analysis of your code:
For more information, see Using Static Driver Verifier to Find Defects in Drivers. |
Applies to
KeAcquireSpinLock KeAcquireSpinLockRaiseToDpc KeReleaseSpinLock