From 9a38ac12a5328084361e438c9f2c3118678d8fc7 Mon Sep 17 00:00:00 2001 From: Ricardo Filipe Date: Tue, 9 Dec 2008 00:46:08 +0000 Subject: hal: add stub for ExAcquireFastMutex --- dlls/hal/hal.c | 10 ++++++++++ dlls/hal/hal.spec | 2 +- include/ddk/wdm.h | 9 +++++++++ 3 files changed, 20 insertions(+), 1 deletions(-) diff --git a/dlls/hal/hal.c b/dlls/hal/hal.c index 0b64809..2ae3125 100644 --- a/dlls/hal/hal.c +++ b/dlls/hal/hal.c @@ -106,3 +106,13 @@ ULONG WINAPI HalGetBusData(BUS_DATA_TYPE BusDataType, ULONG BusNumber, ULONG Slo /* Claim that there is no such bus */ return 0; } + +/**************************************************************************** + * ExAcquireFastMutex (HAL.@) + * + */ + +VOID ExAcquireFastMutex(PFAST_MUTEX FastMutex) +{ + FIXME("%p: stub\n", FastMutex); +} diff --git a/dlls/hal/hal.spec b/dlls/hal/hal.spec index 5afbee0..6881f12 100644 --- a/dlls/hal/hal.spec +++ b/dlls/hal/hal.spec @@ -1,4 +1,4 @@ -@ stub ExAcquireFastMutex +@ stdcall ExAcquireFastMutex(ptr) @ stub ExReleaseFastMutex @ stub ExTryToAcquireFastMutex @ stub HalClearSoftwareInterrupt diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h index 3e4528b..aa79b3c 100644 --- a/include/ddk/wdm.h +++ b/include/ddk/wdm.h @@ -134,6 +134,15 @@ typedef struct _OBJECT_HANDLE_INFORMATION *POBJECT_HANDLE_INFORMATION; #define MAXIMUM_VOLUME_LABEL_LENGTH (32 * sizeof(WCHAR)) +typedef struct _FAST_MUTEX +{ + LONG Count; + PKTHREAD Owner; + ULONG Contention; + KEVENT Gate; + ULONG OldIrql; +} FAST_MUTEX, *PFAST_MUTEX; + typedef struct _VPB { CSHORT Type; CSHORT Size; -- 1.5.6.3