Add patch for KeSetSystemAffinityThread stub.

This commit is contained in:
Michael Müller 2014-11-05 05:14:07 +01:00
parent 1c01fe44d7
commit fdd2f4a7f3
5 changed files with 58 additions and 1 deletions

View File

@ -39,11 +39,12 @@ Wine. All those differences are also documented on the
Included bug fixes and improvements
===================================
**Bugfixes and features included in the next upcoming release [3]:**
**Bugfixes and features included in the next upcoming release [4]:**
* Add stub for NtSetLdtEntries/ZwSetLdtEntries ([Wine Bug #26268](https://bugs.winehq.org/show_bug.cgi?id=26268))
* Allow selection of audio device for PulseAudio backend
* CoWaitForMultipleHandles shouldn't process window events when APC calls are queued ([Wine Bug #32568](https://bugs.winehq.org/show_bug.cgi?id=32568))
* FairplayKD.sys needs KeSetSystemAffinityThread ([Wine Bug #36822](https://bugs.winehq.org/show_bug.cgi?id=36822))
**Bugs fixed in Wine Staging 1.7.30 [90]:**

1
debian/changelog vendored
View File

@ -8,6 +8,7 @@ wine-compholio (1.7.31) UNRELEASED; urgency=low
* Removed patches for TLB dependencies lookup in resources (accepted upstream).
* Removed patches for ws2_32.inet_pton implementation (fixed upstream).
* Removed patch to update properties when applying MSI transforms (fixed upstream).
* Add patch with stub for KeSetSystemAffinityThread
-- Sebastian Lackner <sebastian@fds-team.de> Mon, 03 Nov 2014 20:10:04 +0100
wine-compholio (1.7.30) unstable; urgency=low

View File

@ -62,6 +62,7 @@ PATCHLIST := \
ntdll-Pipe_SpecialCharacters.ok \
ntdll-WRITECOPY.ok \
ntoskrnl-Irp_Status.ok \
ntoskrnl-KeSetSystemAffinityThread.ok \
ntoskrnl-Write_CR4.ok \
ole32-CoWaitForMultipleHandles.ok \
quartz-MediaSeeking_Positions.ok \
@ -1002,6 +1003,24 @@ ntoskrnl-Irp_Status.ok:
echo '+ { "ntoskrnl-Irp_Status", "Sebastian Lackner", "Handle issues when driver returns two different status codes from dispatcher." },'; \
) > ntoskrnl-Irp_Status.ok
# Patchset ntoskrnl-KeSetSystemAffinityThread
# |
# | Included patches:
# | * Add stub for KeSetSystemAffinityThread. [by Michael Müller]
# |
# | This patchset fixes the following Wine bugs:
# | * [#36822] FairplayKD.sys needs KeSetSystemAffinityThread
# |
# | Modified files:
# | * dlls/ntoskrnl.exe/ntoskrnl.c
# |
.INTERMEDIATE: ntoskrnl-KeSetSystemAffinityThread.ok
ntoskrnl-KeSetSystemAffinityThread.ok:
$(call APPLY_FILE,ntoskrnl-KeSetSystemAffinityThread/0001-ntoskrnl-Add-stub-for-KeSetSystemAffinityThread.patch)
@( \
echo '+ { "ntoskrnl-KeSetSystemAffinityThread", "Michael Müller", "Add stub for KeSetSystemAffinityThread." },'; \
) > ntoskrnl-KeSetSystemAffinityThread.ok
# Patchset ntoskrnl-Write_CR4
# |
# | Included patches:

View File

@ -0,0 +1,32 @@
From 94fa0ba88100e99d7c3b90b7b17d225e5e519fea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Wed, 5 Nov 2014 05:06:06 +0100
Subject: ntoskrnl: Add stub for KeSetSystemAffinityThread.
---
dlls/ntoskrnl.exe/ntoskrnl.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index a31b186..8d3e3c6 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1404,6 +1404,15 @@ KPRIORITY WINAPI KeSetPriorityThread( PKTHREAD Thread, KPRIORITY Priority )
/***********************************************************************
+ * KeSetSystemAffinityThread (NTOSKRNL.EXE.@)
+ */
+VOID WINAPI KeSetSystemAffinityThread( KAFFINITY affinity )
+{
+ FIXME("(%lx)\n", affinity);
+}
+
+
+/***********************************************************************
* KeWaitForSingleObject (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI KeWaitForSingleObject(PVOID Object,
--
1.9.1

View File

@ -0,0 +1,4 @@
Author: Michael Müller
Subject: Add stub for KeSetSystemAffinityThread.
Revision: 1
Fixes: [36822] FairplayKD.sys needs KeSetSystemAffinityThread