From 1ffec948ad9316d7d1b477d640df0781c0125299 Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Sun, 31 Oct 2004 21:21:14 +0000 Subject: [PATCH] Guarded mutex (no code and off makefile). svn path=/trunk/; revision=11513 --- reactos/ntoskrnl/ke/gmutex.c | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 reactos/ntoskrnl/ke/gmutex.c diff --git a/reactos/ntoskrnl/ke/gmutex.c b/reactos/ntoskrnl/ke/gmutex.c new file mode 100644 index 00000000000..723b0edb13a --- /dev/null +++ b/reactos/ntoskrnl/ke/gmutex.c @@ -0,0 +1,49 @@ +/* + * ReactOS kernel + * Copyright (C) 2004 ReactOS Team + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +/* $Id: gmutex.c,v 1.1 2004/10/31 21:21:14 ea Exp $ + * + * PROJECT: ReactOS kernel + * FILE: ntoskrnl/ke/gmutex.c + * PURPOSE: Implements guarded mutex (w2k3+/64) + * PROGRAMMER: + * UPDATE HISTORY: + * Created 2004-10-31 based on Steve Dispensa's blog + */ + +/* INCLUDES *****************************************************************/ + +#include +#include + +/* FUNCTIONS *****************************************************************/ + +/* +KiWaitForGuardedMutexGate +KeAcquireGuardedMutexUnsafe +KeEnterGuardedRegion +KeInitializeGuardedMutex +KeReleaseGuardedMutexUnsafe +WmipTraceGuardedMutex +KeAcquireGuardedMutex +KeTryToAcquireGuardedMutex +KeReleaseGuardedMutex +KeLeaveGuardedRegion +*/ + +/* EOF */