[Wine-devel] [2/8] hal: Add stub for ExReleaseFastMutex

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пт Авг 1 13:56:42 MSD 2008


----------- следующая часть -----------
From 74b170ec4ebb84c918637b1af4e88d59247c3da1 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 25 Jul 2008 16:39:21 +0400
Subject: [PATCH] hal: Add stub for ExReleaseFastMutex

---
 dlls/hal/hal.c    |   11 +++++++++++
 dlls/hal/hal.spec |    2 +-
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dlls/hal/hal.c b/dlls/hal/hal.c
index d41f757..ecb0a3e 100644
--- a/dlls/hal/hal.c
+++ b/dlls/hal/hal.c
@@ -65,6 +65,17 @@ void WINAPI ExAcquireFastMutex(PFAST_MUTEX FastMutex)
 
 
 #ifdef DEFINE_FASTCALL1_ENTRYPOINT
+DEFINE_FASTCALL1_ENTRYPOINT( ExReleaseFastMutex )
+void WINAPI __regs_ExReleaseFastMutex(PFAST_MUTEX FastMutex)
+#else
+void WINAPI ExReleaseFastMutex(PFAST_MUTEX FastMutex)
+#endif
+{
+    FIXME( "(%p) stub!\n", FastMutex );
+}
+
+
+#ifdef DEFINE_FASTCALL1_ENTRYPOINT
 DEFINE_FASTCALL1_ENTRYPOINT( KfAcquireSpinLock )
 KIRQL WINAPI __regs_KfAcquireSpinLock(PKSPIN_LOCK SpinLock)
 #else
diff --git a/dlls/hal/hal.spec b/dlls/hal/hal.spec
index e469415..13f9717 100644
--- a/dlls/hal/hal.spec
+++ b/dlls/hal/hal.spec
@@ -1,5 +1,5 @@
 @ stdcall -norelay ExAcquireFastMutex(ptr)
-@ stub ExReleaseFastMutex
+@ stdcall -norelay ExReleaseFastMutex(ptr)
 @ stub ExTryToAcquireFastMutex
 @ stub HalClearSoftwareInterrupt
 @ stub HalRequestSoftwareInterrupt
-- 
1.5.4.5.GIT



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