mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
Tag the MDL buffer
svn path=/trunk/; revision=15491
This commit is contained in:
parent
007cd2d88a
commit
c1c8137afa
|
@ -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…
Reference in a new issue