mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[NTOSKRNL:MM]
- More effective debugging CORE-6929 svn path=/trunk/; revision=58258
This commit is contained in:
@@ -572,8 +572,8 @@ ExpRemovePoolTracker(IN ULONG Key,
|
||||
//
|
||||
if (!TableEntry->Key)
|
||||
{
|
||||
DPRINT1("Empty item reached in tracker table. Tag=0x%08lx, NumberOfBytes=%lu, PoolType=%d\n",
|
||||
Key, (ULONG)NumberOfBytes, PoolType);
|
||||
DPRINT1("Empty item reached in tracker table. Hash=0x%lx, TableMask=0x%lx, Tag=0x%08lx, NumberOfBytes=%lu, PoolType=%d\n",
|
||||
Hash, TableMask, Key, (ULONG)NumberOfBytes, PoolType);
|
||||
ASSERT(Hash == TableMask);
|
||||
}
|
||||
|
||||
|
||||
@@ -27,6 +27,16 @@ FAST_MUTEX RmapListLock;
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
static
|
||||
VOID
|
||||
NTAPI
|
||||
RmapListFree(
|
||||
_In_ __drv_freesMem(Mem) PVOID P)
|
||||
{
|
||||
ExFreePoolWithTag(P, TAG_RMAP);
|
||||
}
|
||||
|
||||
VOID
|
||||
INIT_FUNCTION
|
||||
NTAPI
|
||||
@@ -35,7 +45,7 @@ MmInitializeRmapList(VOID)
|
||||
ExInitializeFastMutex(&RmapListLock);
|
||||
ExInitializeNPagedLookasideList (&RmapLookasideList,
|
||||
NULL,
|
||||
NULL,
|
||||
RmapListFree,
|
||||
0,
|
||||
sizeof(MM_RMAP_ENTRY),
|
||||
TAG_RMAP,
|
||||
|
||||
Reference in New Issue
Block a user