[Wine-patches] [eterhack] [0007/0021] hal: Add stub for KeStallExecutionProcessor.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Янв 28 21:10:04 MSK 2009


---
 dlls/hal/hal.c    |    5 +++++
 dlls/hal/hal.spec |    2 +-
 include/ddk/wdm.h |    1 +
 3 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/dlls/hal/hal.c b/dlls/hal/hal.c
index c2ae604..6fa069a 100644
--- a/dlls/hal/hal.c
+++ b/dlls/hal/hal.c
@@ -143,6 +143,11 @@ KIRQL WINAPI KeGetCurrentIrql(void)
     return 0;
 }
 
+void WINAPI KeStallExecutionProcessor(ULONG MicroSeconds)
+{
+    FIXME( "(%u) stub!\n", MicroSeconds );
+}
+
 UCHAR WINAPI READ_PORT_UCHAR(PUCHAR Port)
 {
     FIXME( "(%p) stub!\n", Port );
diff --git a/dlls/hal/hal.spec b/dlls/hal/hal.spec
index 4353837..73015ed 100644
--- a/dlls/hal/hal.spec
+++ b/dlls/hal/hal.spec
@@ -77,7 +77,7 @@
 @ stub KeRaiseIrqlToDpcLevel
 @ stub KeRaiseIrqlToSynchLevel
 @ stub KeReleaseSpinLock
-@ stub KeStallExecutionProcessor
+@ stdcall KeStallExecutionProcessor(long)
 @ stub READ_PORT_BUFFER_UCHAR
 @ stub READ_PORT_BUFFER_ULONG
 @ stub READ_PORT_BUFFER_USHORT
diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
index f8c6845..1e2cd4b 100644
--- a/include/ddk/wdm.h
+++ b/include/ddk/wdm.h
@@ -1095,6 +1095,7 @@ void      WINAPI KeQuerySystemTime(LARGE_INTEGER*);
 void      WINAPI KeQueryTickCount(LARGE_INTEGER*);
 ULONG     WINAPI KeQueryTimeIncrement(void);
 KPRIORITY WINAPI KeSetPriorityThread(PKTHREAD, KPRIORITY);
+void      WINAPI KeStallExecutionProcessor(ULONG);
 
 PVOID     WINAPI MmAllocateNonCachedMemory(SIZE_T);
 void      WINAPI MmFreeNonCachedMemory(PVOID,SIZE_T);
-- 
1.6.0.2.GIT



Подробная информация о списке рассылки Wine-patches