mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 18:56:48 +00:00
WIP
This commit is contained in:
parent
8b20755040
commit
8cfd5c601f
2 changed files with 7 additions and 4 deletions
|
@ -2016,6 +2016,9 @@ ExAllocatePoolWithTag(
|
||||||
Tag = ' GIB';
|
Tag = ' GIB';
|
||||||
}
|
}
|
||||||
ExpInsertPoolTracker(Tag, ROUND_TO_PAGES(NumberOfBytes), OriginalType);
|
ExpInsertPoolTracker(Tag, ROUND_TO_PAGES(NumberOfBytes), OriginalType);
|
||||||
|
#if DBG
|
||||||
|
RtlFillMemory(Allocation, NumberOfBytes, 0xCD);
|
||||||
|
#endif
|
||||||
return Allocation;
|
return Allocation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -666,7 +666,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
|
||||||
// Return the allocation address to the caller
|
// Return the allocation address to the caller
|
||||||
//
|
//
|
||||||
#if DBG
|
#if DBG
|
||||||
RtlFillMemory(BaseVa, ROUND_TO_PAGES(SizeInBytes), 0xCD);
|
RtlFillMemoryUlong(BaseVa, ROUND_TO_PAGES(SizeInBytes), 0xABABABAB);
|
||||||
#endif
|
#endif
|
||||||
return BaseVa;
|
return BaseVa;
|
||||||
}
|
}
|
||||||
|
@ -680,7 +680,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
|
||||||
if (BaseVa)
|
if (BaseVa)
|
||||||
{
|
{
|
||||||
#if DBG
|
#if DBG
|
||||||
RtlFillMemory(BaseVa, ROUND_TO_PAGES(SizeInBytes), 0xCD);
|
RtlFillMemoryUlong(BaseVa, ROUND_TO_PAGES(SizeInBytes), 0xABABABAB);
|
||||||
#endif
|
#endif
|
||||||
return BaseVa;
|
return BaseVa;
|
||||||
}
|
}
|
||||||
|
@ -812,7 +812,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
|
||||||
//
|
//
|
||||||
KeReleaseQueuedSpinLock(LockQueueMmNonPagedPoolLock, OldIrql);
|
KeReleaseQueuedSpinLock(LockQueueMmNonPagedPoolLock, OldIrql);
|
||||||
#if DBG
|
#if DBG
|
||||||
RtlFillMemory(BaseVa, ROUND_TO_PAGES(SizeInBytes), 0xCD);
|
RtlFillMemoryUlong(BaseVa, ROUND_TO_PAGES(SizeInBytes), 0xABABABAB);
|
||||||
#endif
|
#endif
|
||||||
return BaseVa;
|
return BaseVa;
|
||||||
}
|
}
|
||||||
|
@ -911,7 +911,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
|
||||||
//
|
//
|
||||||
BaseVa = MiPteToAddress(StartPte);
|
BaseVa = MiPteToAddress(StartPte);
|
||||||
#if DBG
|
#if DBG
|
||||||
RtlFillMemory(BaseVa, ROUND_TO_PAGES(SizeInBytes), 0xCD);
|
RtlFillMemoryUlong(BaseVa, ROUND_TO_PAGES(SizeInBytes), 0xABABABAB);
|
||||||
#endif
|
#endif
|
||||||
return BaseVa;
|
return BaseVa;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue