Author: aandrejevic Date: Mon Jun 9 23:35:16 2014 New Revision: 63583
URL: http://svn.reactos.org/svn/reactos?rev=63583&view=rev Log: [NTOS:NEWCC] In _MiMapViewOfSegment, if no base address was specified, the granularity should be 64K.
Modified: trunk/reactos/ntoskrnl/cache/section/data.c
Modified: trunk/reactos/ntoskrnl/cache/section/data.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cache/section/data... ============================================================================== --- trunk/reactos/ntoskrnl/cache/section/data.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/cache/section/data.c [iso-8859-1] Mon Jun 9 23:35:16 2014 @@ -636,7 +636,8 @@ &MArea, FALSE, AllocationType, - PAGE_SIZE); + *BaseAddress ? + PAGE_SIZE : MM_ALLOCATION_GRANULARITY);
if (!NT_SUCCESS(Status)) {