[ros-diffs] [weiden] 16677: removed the ros-specific (and unused) functions ExRosDumpPagedPoolByTag, ExRosQueryPagedPoolTag and ExRosQueryPoolTag

weiden at svn.reactos.com weiden at svn.reactos.com
Thu Jul 21 12:31:38 CEST 2005


removed the ros-specific (and unused) functions ExRosDumpPagedPoolByTag,
ExRosQueryPagedPoolTag and ExRosQueryPoolTag
Modified: trunk/reactos/ntoskrnl/mm/pool.c
Modified: trunk/reactos/ntoskrnl/mm/ppool.c
Modified: trunk/reactos/ntoskrnl/mm/rpoolmgr.h
Modified: trunk/reactos/ntoskrnl/ntoskrnl.def
  _____  

Modified: trunk/reactos/ntoskrnl/mm/pool.c
--- trunk/reactos/ntoskrnl/mm/pool.c	2005-07-21 10:03:01 UTC (rev
16676)
+++ trunk/reactos/ntoskrnl/mm/pool.c	2005-07-21 10:31:29 UTC (rev
16677)
@@ -20,11 +20,6 @@

 extern ULONG MmTotalNonPagedPoolQuota;
 extern MM_STATS MmStats;
 
-/* GLOBALS
*****************************************************************/
-
-ULONG STDCALL
-ExRosQueryPagedPoolTag ( PVOID Block );
-
 /* FUNCTIONS
***************************************************************/
 
 STATIC PVOID STDCALL
@@ -337,20 +332,4 @@
     }
 }
 
-ULONG STDCALL
-ExRosQueryPoolTag ( PVOID Block )
-{
-   ASSERT_IRQL(DISPATCH_LEVEL);
-
-   if (Block >= MmPagedPoolBase && (char*)Block <
((char*)MmPagedPoolBase + MmPagedPoolSize))
-   {
-      return ExRosQueryPagedPoolTag(Block);
-   }
-   else
-   {
-      UNIMPLEMENTED;
-      return 0;
-   }
-}
-
 /* EOF */
  _____  

Modified: trunk/reactos/ntoskrnl/mm/ppool.c
--- trunk/reactos/ntoskrnl/mm/ppool.c	2005-07-21 10:03:01 UTC (rev
16676)
+++ trunk/reactos/ntoskrnl/mm/ppool.c	2005-07-21 10:31:29 UTC (rev
16677)
@@ -98,20 +98,7 @@

 	RPoolFree ( MmPagedPool, Block );
 }
 
-VOID STDCALL
-ExRosDumpPagedPoolByTag ( ULONG Tag )
-{
-	// TODO FIXME - should we ASSERT_IRQL?
-	RPoolDumpByTag ( MmPagedPool, Tag );
-}
 
-ULONG STDCALL
-ExRosQueryPagedPoolTag ( PVOID Addr )
-{
-	// TODO FIXME - should we ASSERT_IRQL?
-	return RPoolQueryTag ( Addr );
-}
-
 #ifdef PPOOL_UMODE_TEST
 
 PVOID TestAlloc ( ULONG Bytes )
  _____  

Modified: trunk/reactos/ntoskrnl/mm/rpoolmgr.h
--- trunk/reactos/ntoskrnl/mm/rpoolmgr.h	2005-07-21 10:03:01 UTC
(rev 16676)
+++ trunk/reactos/ntoskrnl/mm/rpoolmgr.h	2005-07-21 10:31:29 UTC
(rev 16677)
@@ -933,6 +933,7 @@

 	R_RELEASE_MUTEX(pool);
 }
 
+#if 0
 static void
 RPoolDumpByTag ( PR_POOL pool, rulong Tag )
 {
@@ -963,6 +964,7 @@
 
 	R_DEBUG ( "Entries found for tag '%s': %i\n", tag, count );
 }
+#endif
 
 rulong
 RPoolQueryTag ( void* Addr )
  _____  

Modified: trunk/reactos/ntoskrnl/ntoskrnl.def
--- trunk/reactos/ntoskrnl/ntoskrnl.def	2005-07-21 10:03:01 UTC (rev
16676)
+++ trunk/reactos/ntoskrnl/ntoskrnl.def	2005-07-21 10:31:29 UTC (rev
16677)
@@ -138,8 +138,6 @@

 @ExReleaseResourceLite at 4
 @ExReleaseRundownProtection at 4
 @ExReleaseRundownProtectionEx at 8
-ExRosDumpPagedPoolByTag at 4
-ExRosQueryPoolTag at 4
 @ExRundownCompleted at 4
 ExSemaphoreObjectType DATA
 ExSetResourceOwnerPointer at 8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050721/e1c268bb/attachment.html


More information about the Ros-diffs mailing list