SpinLockDprRelease rule (ndis)
The SpinLockDprRelease rule verifies that calls to NdisAcquireSpinLock or NdisDprAcquireSpinLock are called only when the SpinLock is the "unlocked" state. This rule also checks that before exiting the miniport handler routine the SpinLock has been release.
Driver model: NDIS
How to test
At compile time |
---|
Run Static Driver Verifier and specify the SpinLockDprRelease 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
NdisAcquireSpinLock NdisAllocateSpinLock NdisDprAcquireSpinLock NdisDprReleaseSpinLock NdisReleaseSpinLock
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for