Tag the MDL buffer

svn path=/trunk/; revision=15491
This commit is contained in:
Alex Ionescu 2005-05-25 02:20:01 +00:00
parent 007cd2d88a
commit c1c8137afa

View file

@ -85,7 +85,9 @@ MmInitializeMdlImplementation(VOID)
} }
MmUnlockAddressSpace(MmGetKernelAddressSpace()); 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); RtlInitializeBitMap(&MiMdlMappingRegionAllocMap, Buffer, MI_MDL_MAPPING_REGION_SIZE / PAGE_SIZE);
RtlClearAllBits(&MiMdlMappingRegionAllocMap); RtlClearAllBits(&MiMdlMappingRegionAllocMap);