[ros-kernel] Changed behaviour of
KeAcquire/ReleaseSpinLockAt/FromDpcLevel
Gunnar André Dalsnes
hardon at online.no
Mon Jan 19 01:48:06 CET 2004
Hi,
I have added two function, KiAcquire/ReleaseSpinLock. These should be used
when dealing with spin locks above DISPATCH_LEVEL, instead of incorrectly
using KeAcquire/ReleaseSpinLockAt/FromDpcLevel (i've added asserts to catch
invalid use). I have tried to fix all cases of abuse, but i might have
missed some beacuse it's hard to know if the programmer used
KeAcquire/ReleaseSpinLockAt/FromDpcLevel because he wanted to take a lock a
DISPATCH_LEVEL or if he wanted to take a lock at any irql.
Gunnar
More information about the Ros-kernel
mailing list