From 409e9165aa6e966762c83401a01e629afc717c5e Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Thu, 21 Jul 2005 10:31:29 +0000 Subject: [PATCH] removed the ros-specific (and unused) functions ExRosDumpPagedPoolByTag, ExRosQueryPagedPoolTag and ExRosQueryPoolTag svn path=/trunk/; revision=16677 --- reactos/ntoskrnl/mm/pool.c | 21 --------------------- reactos/ntoskrnl/mm/ppool.c | 13 ------------- reactos/ntoskrnl/mm/rpoolmgr.h | 2 ++ reactos/ntoskrnl/ntoskrnl.def | 2 -- 4 files changed, 2 insertions(+), 36 deletions(-) diff --git a/reactos/ntoskrnl/mm/pool.c b/reactos/ntoskrnl/mm/pool.c index 15be0c02b21..de7e4e8a962 100644 --- a/reactos/ntoskrnl/mm/pool.c +++ b/reactos/ntoskrnl/mm/pool.c @@ -20,11 +20,6 @@ extern ULONG MmTotalPagedPoolQuota; extern ULONG MmTotalNonPagedPoolQuota; extern MM_STATS MmStats; -/* GLOBALS *****************************************************************/ - -ULONG STDCALL -ExRosQueryPagedPoolTag ( PVOID Block ); - /* FUNCTIONS ***************************************************************/ STATIC PVOID STDCALL @@ -337,20 +332,4 @@ MiRaisePoolQuota( } } -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 */ diff --git a/reactos/ntoskrnl/mm/ppool.c b/reactos/ntoskrnl/mm/ppool.c index 17b3421bba0..20b8c822138 100644 --- a/reactos/ntoskrnl/mm/ppool.c +++ b/reactos/ntoskrnl/mm/ppool.c @@ -98,19 +98,6 @@ ExFreePagedPool(IN PVOID Block) 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 diff --git a/reactos/ntoskrnl/mm/rpoolmgr.h b/reactos/ntoskrnl/mm/rpoolmgr.h index eba75f5084a..3768a5eeaca 100644 --- a/reactos/ntoskrnl/mm/rpoolmgr.h +++ b/reactos/ntoskrnl/mm/rpoolmgr.h @@ -933,6 +933,7 @@ RPoolFree ( PR_POOL pool, void* Addr ) R_RELEASE_MUTEX(pool); } +#if 0 static void RPoolDumpByTag ( PR_POOL pool, rulong Tag ) { @@ -963,6 +964,7 @@ RPoolDumpByTag ( PR_POOL pool, rulong Tag ) R_DEBUG ( "Entries found for tag '%s': %i\n", tag, count ); } +#endif rulong RPoolQueryTag ( void* Addr ) diff --git a/reactos/ntoskrnl/ntoskrnl.def b/reactos/ntoskrnl/ntoskrnl.def index b1ded904014..799c71b3cf9 100644 --- a/reactos/ntoskrnl/ntoskrnl.def +++ b/reactos/ntoskrnl/ntoskrnl.def @@ -138,8 +138,6 @@ ExReleaseResourceForThreadLite@8 @ExReleaseResourceLite@4 @ExReleaseRundownProtection@4 @ExReleaseRundownProtectionEx@8 -ExRosDumpPagedPoolByTag@4 -ExRosQueryPoolTag@4 @ExRundownCompleted@4 ExSemaphoreObjectType DATA ExSetResourceOwnerPointer@8