mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 16:11:42 +00:00
[NTOS:KE] Implement KeAcquireInStackQueuedSpinLockForDpc & KeReleaseInStackQueuedSpinLockForDpc
This commit is contained in:
parent
56d0bc31ce
commit
e312a40ae2
1 changed files with 12 additions and 5 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue