Commit bad677d5 authored by Ricardo Filipe's avatar Ricardo Filipe Committed by Alexandre Julliard

hal: Add stubs for ExAcquireFastMutex and ExReleaseFastMutex.

parent f2f90b69
......@@ -54,6 +54,26 @@ WINE_DEFAULT_DEBUG_CHANNEL(ntoskrnl);
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT( ExAcquireFastMutex )
VOID __regs_ExAcquireFastMutex(PFAST_MUTEX FastMutex)
#else
VOID ExAcquireFastMutex(PFAST_MUTEX FastMutex)
#endif
{
FIXME("%p: stub\n", FastMutex);
}
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT( ExReleaseFastMutex )
VOID __regs_ExReleaseFastMutex(PFAST_MUTEX FastMutex)
#else
VOID 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
......
@ stub ExAcquireFastMutex
@ stub ExReleaseFastMutex
@ stdcall -norelay ExAcquireFastMutex(ptr)
@ stdcall -norelay ExReleaseFastMutex(ptr)
@ stub ExTryToAcquireFastMutex
@ stub HalClearSoftwareInterrupt
@ stub HalRequestSoftwareInterrupt
......
......@@ -132,6 +132,15 @@ typedef struct _IO_WORKITEM *PIO_WORKITEM;
typedef struct _OBJECT_TYPE *POBJECT_TYPE;
typedef struct _OBJECT_HANDLE_INFORMATION *POBJECT_HANDLE_INFORMATION;
typedef struct _FAST_MUTEX
{
LONG Count;
PKTHREAD Owner;
ULONG Contention;
KEVENT Gate;
ULONG OldIrql;
} FAST_MUTEX, *PFAST_MUTEX;
#define MAXIMUM_VOLUME_LABEL_LENGTH (32 * sizeof(WCHAR))
typedef struct _VPB {
......
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