mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Tag the MDL buffer
svn path=/trunk/; revision=15491
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user