mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 15:13:36 +00:00
Tag the MDL buffer
svn path=/trunk/; revision=15491
This commit is contained in:
parent
007cd2d88a
commit
c1c8137afa
1 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,9 @@ MmInitializeMdlImplementation(VOID)
|
|||
}
|
||||
MmUnlockAddressSpace(MmGetKernelAddressSpace());
|
||||
|
||||
Buffer = ExAllocatePool(NonPagedPool, MI_MDL_MAPPING_REGION_SIZE / (PAGE_SIZE * 8));
|
||||
Buffer = ExAllocatePoolWithTag(NonPagedPool,
|
||||
MI_MDL_MAPPING_REGION_SIZE / (PAGE_SIZE * 8),
|
||||
TAG_MDL);
|
||||
|
||||
RtlInitializeBitMap(&MiMdlMappingRegionAllocMap, Buffer, MI_MDL_MAPPING_REGION_SIZE / PAGE_SIZE);
|
||||
RtlClearAllBits(&MiMdlMappingRegionAllocMap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue