mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 05:12:45 +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());
|
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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue