hal: Add stubs for ExAcquireFastMutex and ExReleaseFastMutex.

This commit is contained in:
Ricardo Filipe 2008-12-09 03:19:34 +00:00 committed by Alexandre Julliard
parent f2f90b6965
commit bad677d58a
3 changed files with 31 additions and 2 deletions

View File

@ -53,6 +53,26 @@ WINE_DEFAULT_DEBUG_CHANNEL(ntoskrnl);
#endif #endif
#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 #ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT( KfAcquireSpinLock ) DEFINE_FASTCALL1_ENTRYPOINT( KfAcquireSpinLock )
KIRQL WINAPI __regs_KfAcquireSpinLock(PKSPIN_LOCK SpinLock) KIRQL WINAPI __regs_KfAcquireSpinLock(PKSPIN_LOCK SpinLock)

View File

@ -1,5 +1,5 @@
@ stub ExAcquireFastMutex @ stdcall -norelay ExAcquireFastMutex(ptr)
@ stub ExReleaseFastMutex @ stdcall -norelay ExReleaseFastMutex(ptr)
@ stub ExTryToAcquireFastMutex @ stub ExTryToAcquireFastMutex
@ stub HalClearSoftwareInterrupt @ stub HalClearSoftwareInterrupt
@ stub HalRequestSoftwareInterrupt @ stub HalRequestSoftwareInterrupt

View File

@ -132,6 +132,15 @@ typedef struct _IO_WORKITEM *PIO_WORKITEM;
typedef struct _OBJECT_TYPE *POBJECT_TYPE; typedef struct _OBJECT_TYPE *POBJECT_TYPE;
typedef struct _OBJECT_HANDLE_INFORMATION *POBJECT_HANDLE_INFORMATION; 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)) #define MAXIMUM_VOLUME_LABEL_LENGTH (32 * sizeof(WCHAR))
typedef struct _VPB { typedef struct _VPB {