mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +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)
|
||||
{
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue