ntoskrnl.exe: Implement IoAcquireCancelSpinLock().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e834d38c77
commit
834db73121
|
@ -776,15 +776,6 @@ void WINAPI ExReleaseFastMutexUnsafe(PFAST_MUTEX FastMutex)
|
|||
FIXME("(%p): stub\n", FastMutex);
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* IoAcquireCancelSpinLock (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
void WINAPI IoAcquireCancelSpinLock(PKIRQL irql)
|
||||
{
|
||||
FIXME("(%p): stub\n", irql);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* IoAllocateDriverObjectExtension (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
|
|
|
@ -416,6 +416,15 @@ KIRQL WINAPI KeAcquireSpinLockRaiseToDpc( KSPIN_LOCK *lock )
|
|||
|
||||
static KSPIN_LOCK cancel_lock;
|
||||
|
||||
/***********************************************************************
|
||||
* IoAcquireCancelSpinLock (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
void WINAPI IoAcquireCancelSpinLock( KIRQL *irql )
|
||||
{
|
||||
TRACE("irql %p.\n", irql);
|
||||
KeAcquireSpinLock( &cancel_lock, irql );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* IoReleaseCancelSpinLock (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
|
|
|
@ -1388,6 +1388,7 @@ PSLIST_ENTRY WINAPI ExInterlockedPopEntrySList(PSLIST_HEADER,PKSPIN_LOCK);
|
|||
PSLIST_ENTRY WINAPI ExInterlockedPushEntrySList(PSLIST_HEADER,PSLIST_ENTRY,PKSPIN_LOCK);
|
||||
void WINAPI ExReleaseFastMutexUnsafe(PFAST_MUTEX);
|
||||
|
||||
void WINAPI IoAcquireCancelSpinLock(KIRQL*);
|
||||
NTSTATUS WINAPI IoAllocateDriverObjectExtension(PDRIVER_OBJECT,PVOID,ULONG,PVOID*);
|
||||
PVOID WINAPI IoAllocateErrorLogEntry(PVOID,UCHAR);
|
||||
PIRP WINAPI IoAllocateIrp(CCHAR,BOOLEAN);
|
||||
|
|
Loading…
Reference in New Issue