[NTOS:NEWCC]

In _MiMapViewOfSegment, if no base address was specified, the granularity should be 64K.


svn path=/trunk/; revision=63583
This commit is contained in:
Aleksandar Andrejevic 2014-06-09 23:35:16 +00:00
parent 492bfe5967
commit 7d49f9ccaa

View file

@ -636,7 +636,8 @@ _MiMapViewOfSegment(PMMSUPPORT AddressSpace,
&MArea,
FALSE,
AllocationType,
PAGE_SIZE);
*BaseAddress ?
PAGE_SIZE : MM_ALLOCATION_GRANULARITY);
if (!NT_SUCCESS(Status))
{