Zebediah Figura : hal: Implement plain fast mutex functions on top of APC-level ones.

Alexandre Julliard julliard at winehq.org
Wed Jan 30 17:36:16 CST 2019


Module: wine
Branch: master
Commit: 3d5b2a0d87875fe0d1492498cb3f118b8c219df7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3d5b2a0d87875fe0d1492498cb3f118b8c219df7

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Tue Jan 29 22:01:46 2019 -0600

hal: Implement plain fast mutex functions on top of APC-level ones.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/hal/hal.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dlls/hal/hal.c b/dlls/hal/hal.c
index 8796272..3e97796 100644
--- a/dlls/hal/hal.c
+++ b/dlls/hal/hal.c
@@ -64,16 +64,20 @@ __ASM_STDCALL_FUNC( call_fastcall_func2, 12,
                    "xchgl (%esp),%edx\n\t"
                    "jmp *%eax" );
 
+extern void WINAPI ExAcquireFastMutexUnsafe( FAST_MUTEX * );
+
 DEFINE_FASTCALL1_ENTRYPOINT( ExAcquireFastMutex )
-VOID WINAPI DECLSPEC_HIDDEN __regs_ExAcquireFastMutex(PFAST_MUTEX FastMutex)
+void WINAPI DECLSPEC_HIDDEN __regs_ExAcquireFastMutex( FAST_MUTEX *mutex )
 {
-    FIXME("%p: stub\n", FastMutex);
+    call_fastcall_func1( ExAcquireFastMutexUnsafe, mutex );
 }
 
+extern void WINAPI ExReleaseFastMutexUnsafe( FAST_MUTEX * );
+
 DEFINE_FASTCALL1_ENTRYPOINT( ExReleaseFastMutex )
-VOID WINAPI DECLSPEC_HIDDEN __regs_ExReleaseFastMutex(PFAST_MUTEX FastMutex)
+void WINAPI DECLSPEC_HIDDEN __regs_ExReleaseFastMutex( FAST_MUTEX *mutex )
 {
-    FIXME("%p: stub\n", FastMutex);
+    call_fastcall_func1( ExReleaseFastMutexUnsafe, mutex );
 }
 
 DEFINE_FASTCALL1_ENTRYPOINT( ExTryToAcquireFastMutex )




More information about the wine-cvs mailing list