Stefan Leichter : ntoskrnl.exe: Add stub for KeSetSystemAffinityThread.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 5 15:01:27 CST 2015
Module: wine
Branch: master
Commit: f592eea591d4232ae42bce0db0953a1fa487e88d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f592eea591d4232ae42bce0db0953a1fa487e88d
Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date: Fri Jan 2 12:44:38 2015 +0100
ntoskrnl.exe: Add stub for KeSetSystemAffinityThread.
---
dlls/ntoskrnl.exe/ntoskrnl.c | 7 +++++++
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
include/ddk/wdm.h | 1 +
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 2285ec6..c10377a 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1452,6 +1452,13 @@ KPRIORITY WINAPI KeSetPriorityThread( PKTHREAD Thread, KPRIORITY Priority )
return Priority;
}
+/***********************************************************************
+ * KeSetSystemAffinityThread (NTOSKRNL.EXE.@)
+ */
+VOID WINAPI KeSetSystemAffinityThread(KAFFINITY Affinity)
+{
+ FIXME("(%lx) stub\n", Affinity);
+}
/***********************************************************************
* KeWaitForSingleObject (NTOSKRNL.EXE.@)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index 228da29..b824250 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -614,7 +614,7 @@
@ stub KeSetKernelStackSwapEnable
@ stdcall KeSetPriorityThread(ptr long)
@ stub KeSetProfileIrql
-@ stub KeSetSystemAffinityThread
+@ stdcall KeSetSystemAffinityThread(long)
@ stub KeSetTargetProcessorDpc
@ stub KeSetTimeIncrement
@ stub KeSetTimer
diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
index 29b24e7..e4f693a 100644
--- a/include/ddk/wdm.h
+++ b/include/ddk/wdm.h
@@ -1226,6 +1226,7 @@ LONG WINAPI KeReleaseSemaphore(PRKSEMAPHORE,KPRIORITY,LONG,BOOLEAN);
LONG WINAPI KeResetEvent(PRKEVENT);
LONG WINAPI KeSetEvent(PRKEVENT,KPRIORITY,BOOLEAN);
KPRIORITY WINAPI KeSetPriorityThread(PKTHREAD,KPRIORITY);
+void WINAPI KeSetSystemAffinityThread(KAFFINITY);
PVOID WINAPI MmAllocateContiguousMemory(SIZE_T,PHYSICAL_ADDRESS);
PVOID WINAPI MmAllocateNonCachedMemory(SIZE_T);
More information about the wine-cvs
mailing list