ntoskrnl.exe: Implement IoReleaseCancelSpinLock().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b37c1d83e4
commit
e834d38c77
|
@ -1,4 +1,5 @@
|
|||
MODULE = hal.dll
|
||||
IMPORTLIB = hal
|
||||
|
||||
C_SRCS = \
|
||||
hal.c
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue