mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[NTOSKRNL:MM]
- More effective debugging CORE-6929 svn path=/trunk/; revision=58258
This commit is contained in:
parent
16bc7253b9
commit
cdb9b56484
2 changed files with 13 additions and 3 deletions
|
@ -572,8 +572,8 @@ ExpRemovePoolTracker(IN ULONG Key,
|
||||||
//
|
//
|
||||||
if (!TableEntry->Key)
|
if (!TableEntry->Key)
|
||||||
{
|
{
|
||||||
DPRINT1("Empty item reached in tracker table. Tag=0x%08lx, NumberOfBytes=%lu, PoolType=%d\n",
|
DPRINT1("Empty item reached in tracker table. Hash=0x%lx, TableMask=0x%lx, Tag=0x%08lx, NumberOfBytes=%lu, PoolType=%d\n",
|
||||||
Key, (ULONG)NumberOfBytes, PoolType);
|
Hash, TableMask, Key, (ULONG)NumberOfBytes, PoolType);
|
||||||
ASSERT(Hash == TableMask);
|
ASSERT(Hash == TableMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,16 @@ FAST_MUTEX RmapListLock;
|
||||||
|
|
||||||
/* FUNCTIONS ****************************************************************/
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
|
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||||
|
static
|
||||||
|
VOID
|
||||||
|
NTAPI
|
||||||
|
RmapListFree(
|
||||||
|
_In_ __drv_freesMem(Mem) PVOID P)
|
||||||
|
{
|
||||||
|
ExFreePoolWithTag(P, TAG_RMAP);
|
||||||
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
INIT_FUNCTION
|
INIT_FUNCTION
|
||||||
NTAPI
|
NTAPI
|
||||||
|
@ -35,7 +45,7 @@ MmInitializeRmapList(VOID)
|
||||||
ExInitializeFastMutex(&RmapListLock);
|
ExInitializeFastMutex(&RmapListLock);
|
||||||
ExInitializeNPagedLookasideList (&RmapLookasideList,
|
ExInitializeNPagedLookasideList (&RmapLookasideList,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
RmapListFree,
|
||||||
0,
|
0,
|
||||||
sizeof(MM_RMAP_ENTRY),
|
sizeof(MM_RMAP_ENTRY),
|
||||||
TAG_RMAP,
|
TAG_RMAP,
|
||||||
|
|
Loading…
Reference in a new issue