Author: pschweitzer Date: Sun Oct 12 12:44:10 2008 New Revision: 36733
URL: http://svn.reactos.org/svn/reactos?rev=36733&view=rev Log: Implemented FsRtlInitializeTunnelCache
Modified: branches/pierre-fsd/ntoskrnl/fsrtl/tunnel.c
Modified: branches/pierre-fsd/ntoskrnl/fsrtl/tunnel.c URL: http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/fsrtl/tunnel... ============================================================================== --- branches/pierre-fsd/ntoskrnl/fsrtl/tunnel.c [iso-8859-1] (original) +++ branches/pierre-fsd/ntoskrnl/fsrtl/tunnel.c [iso-8859-1] Sun Oct 12 12:44:10 2008 @@ -157,12 +157,12 @@
/*++ * @name FsRtlDeleteTunnelCache - * @unimplemented + * @implemented * - * FILLME + * Initialize a tunnel cache * * @param Cache - * FILLME + * Pointer to an allocated TUNNEL structure * * @return None * @@ -173,8 +173,10 @@ NTAPI FsRtlInitializeTunnelCache(IN PTUNNEL Cache) { - /* Unimplemented */ - KEBUGCHECK(0); + ExInitializeFastMutex(&(Cache->Mutex)); + Cache->Cache = 0; + InitializeListHead(&(Cache->TimerQueue)); + Cache->NumEntries = 0; }
/* EOF */