[Wine-devel] [8/8] ntoskrnl.exe: Add stubs for Ex*FastMutexUnsafe
Alexander Morozov
=?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пт Авг 1 14:02:55 MSD 2008
----------- следующая часть -----------
From ebf3be592518739b329c2a6c6320f96da12dfaa6 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 1 Aug 2008 13:17:40 +0400
Subject: [PATCH] ntoskrnl.exe: Add stubs for Ex*FastMutexUnsafe
---
dlls/ntoskrnl.exe/ntoskrnl.c | 29 +++++++++++++++++++++++++++++
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 4 ++--
2 files changed, 31 insertions(+), 2 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index e4e426e..a623dc4 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -283,6 +283,35 @@ NTSTATUS wine_ntoskrnl_main_loop( HANDLE stop_event )
}
}
+
+/***********************************************************************
+ * ExAcquireFastMutexUnsafe (NTOSKRNL.EXE.@)
+ */
+#ifdef DEFINE_FASTCALL1_ENTRYPOINT
+DEFINE_FASTCALL1_ENTRYPOINT( ExAcquireFastMutexUnsafe )
+void WINAPI __regs_ExAcquireFastMutexUnsafe( PFAST_MUTEX FastMutex )
+#else
+void WINAPI ExAcquireFastMutexUnsafe( PFAST_MUTEX FastMutex )
+#endif
+{
+ FIXME( "%p\n", FastMutex );
+}
+
+
+/***********************************************************************
+ * ExReleaseFastMutexUnsafe (NTOSKRNL.EXE.@)
+ */
+#ifdef DEFINE_FASTCALL1_ENTRYPOINT
+DEFINE_FASTCALL1_ENTRYPOINT( ExReleaseFastMutexUnsafe )
+void WINAPI __regs_ExReleaseFastMutexUnsafe( PFAST_MUTEX FastMutex )
+#else
+void WINAPI ExReleaseFastMutexUnsafe( PFAST_MUTEX FastMutex )
+#endif
+{
+ FIXME( "%p\n", FastMutex );
+}
+
+
/***********************************************************************
* IoAcquireCancelSpinLock (NTOSKRNL.EXE.@)
*/
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index a3a755f..5cfd904 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -1,4 +1,4 @@
-@ stub ExAcquireFastMutexUnsafe
+@ stdcall -norelay ExAcquireFastMutexUnsafe(ptr)
@ stub ExAcquireRundownProtection
@ stub ExAcquireRundownProtectionEx
@ stub ExInitializeRundownProtection
@@ -8,7 +8,7 @@
@ stub ExInterlockedPopEntrySList
@ stub ExInterlockedPushEntrySList
@ stub ExReInitializeRundownProtection
-@ stub ExReleaseFastMutexUnsafe
+@ stdcall -norelay ExReleaseFastMutexUnsafe(ptr)
@ stub ExReleaseResourceLite
@ stub ExReleaseRundownProtection
@ stub ExReleaseRundownProtectionEx
--
1.5.4.5.GIT
Подробная информация о списке рассылки Wine-devel