[ros-diffs] [pschweitzer] 36733: Implemented FsRtlInitializeTunnelCache

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Sun Oct 12 19:44:11 CEST 2008


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.c?rev=36733&r1=36732&r2=36733&view=diff
==============================================================================
--- 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 */



More information about the Ros-diffs mailing list