You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Added patch to fix wrong defition of ntoskrnl.IoReleaseCancelSpinLock function.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
From 4dd6a88936cd579a5a293ef63d65e73fffb0dce6 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Costa <titan.costa@gmail.com>
|
||||
Date: Fri, 30 Jan 2015 00:10:53 +0100
|
||||
Subject: ntoskrnl.exe: Fix IoReleaseCancelSpinLock argument.
|
||||
|
||||
---
|
||||
dlls/ntoskrnl.exe/ntoskrnl.c | 4 ++--
|
||||
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
|
||||
index c3a7e2a..85cbf01 100644
|
||||
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
|
||||
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
|
||||
@@ -332,9 +332,9 @@ void WINAPI IoAcquireCancelSpinLock(PKIRQL irql)
|
||||
/***********************************************************************
|
||||
* IoReleaseCancelSpinLock (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
-void WINAPI IoReleaseCancelSpinLock(PKIRQL irql)
|
||||
+void WINAPI IoReleaseCancelSpinLock(KIRQL irql)
|
||||
{
|
||||
- FIXME("(%p): stub\n", irql);
|
||||
+ FIXME("(%u): stub\n", irql);
|
||||
}
|
||||
|
||||
|
||||
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
||||
index bae3678..8ece531 100644
|
||||
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
||||
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
||||
@@ -432,7 +432,7 @@
|
||||
@ stub IoRegisterLastChanceShutdownNotification
|
||||
@ stdcall IoRegisterPlugPlayNotification(long long ptr ptr ptr ptr ptr)
|
||||
@ stdcall IoRegisterShutdownNotification(ptr)
|
||||
-@ stdcall IoReleaseCancelSpinLock(ptr)
|
||||
+@ stdcall IoReleaseCancelSpinLock(long)
|
||||
@ stub IoReleaseRemoveLockAndWaitEx
|
||||
@ stub IoReleaseRemoveLockEx
|
||||
@ stub IoReleaseVpbSpinLock
|
||||
--
|
||||
2.2.2
|
||||
|
@@ -3,3 +3,4 @@ Fixes: Implement stub for ntoskrnl.IoGetAttachedDeviceReference
|
||||
Fixes: Implement stubs for ntoskrnl.Ex{Acquire,Release}FastMutexUnsafe
|
||||
Fixes: Implement stubs for ntoskrnl.ObReferenceObjectByPointer and ntoskrnl.ObDereferenceObject
|
||||
Fixes: Implement stub for ntoskrnl.KeDelayExecutionThread.
|
||||
Fixes: Fix wrong defition of ntoskrnl.IoReleaseCancelSpinLock function.
|
||||
|
Reference in New Issue
Block a user