Commit 3d5b2a0d authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

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

parent e3856fd6
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment