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@4 @ExReleaseRundownProtection@4 @ExReleaseRundownProtectionEx@8 -ExRosDumpPagedPoolByTag@4 -ExRosQueryPoolTag@4 @ExRundownCompleted@4 ExSemaphoreObjectType DATA ExSetResourceOwnerPointer@8