mirror of
https://github.com/reactos/reactos.git
synced 2026-06-05 03:02:59 +08:00
[NTOS:KE] Implement KeAcquireInStackQueuedSpinLockForDpc & KeReleaseInStackQueuedSpinLockForDpc
This commit is contained in:
committed by
Jérôme Gardou
parent
56d0bc31ce
commit
e312a40ae2
@@ -413,25 +413,32 @@ KeReleaseSpinLockForDpc(IN PKSPIN_LOCK SpinLock,
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
FASTCALL
|
||||
KeAcquireInStackQueuedSpinLockForDpc(IN PKSPIN_LOCK SpinLock,
|
||||
IN PKLOCK_QUEUE_HANDLE LockHandle)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return;
|
||||
LockHandle->OldIrql = KeGetCurrentIrql();
|
||||
if (LockHandle->OldIrql >= DISPATCH_LEVEL)
|
||||
KeAcquireInStackQueuedSpinLockAtDpcLevel(SpinLock, LockHandle);
|
||||
else
|
||||
KeAcquireInStackQueuedSpinLock(SpinLock, LockHandle);
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
FASTCALL
|
||||
KeReleaseInStackQueuedSpinLockForDpc(IN PKLOCK_QUEUE_HANDLE LockHandle)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
if (LockHandle->OldIrql >= DISPATCH_LEVEL)
|
||||
KeReleaseInStackQueuedSpinLockFromDpcLevel(LockHandle);
|
||||
else
|
||||
KeReleaseInStackQueuedSpinLock(LockHandle);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user