Commit e834d38c authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ntoskrnl.exe: Implement IoReleaseCancelSpinLock().

parent b37c1d83
MODULE = hal.dll
IMPORTLIB = hal
C_SRCS = \
hal.c
......
MODULE = ntoskrnl.exe
IMPORTLIB = ntoskrnl
IMPORTS = advapi32
IMPORTS = advapi32 hal
DELAYIMPORTS = setupapi user32
C_SRCS = \
......
......@@ -785,16 +785,6 @@ void WINAPI IoAcquireCancelSpinLock(PKIRQL irql)
FIXME("(%p): stub\n", irql);
}
/***********************************************************************
* IoReleaseCancelSpinLock (NTOSKRNL.EXE.@)
*/
void WINAPI IoReleaseCancelSpinLock(KIRQL irql)
{
FIXME("(%u): stub\n", irql);
}
/***********************************************************************
* IoAllocateDriverObjectExtension (NTOSKRNL.EXE.@)
*/
......
......@@ -413,3 +413,14 @@ KIRQL WINAPI KeAcquireSpinLockRaiseToDpc( KSPIN_LOCK *lock )
return 0;
}
#endif
static KSPIN_LOCK cancel_lock;
/***********************************************************************
* IoReleaseCancelSpinLock (NTOSKRNL.EXE.@)
*/
void WINAPI IoReleaseCancelSpinLock( KIRQL irql )
{
TRACE("irql %u.\n", irql);
KeReleaseSpinLock( &cancel_lock, irql );
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment