Commit in reactos/ntoskrnl/mm on MAIN
section.c+2-21.162 -> 1.163
NtAllocateVirtualMemory() should return 64k aligned areas (forgotten file)

reactos/ntoskrnl/mm
section.c 1.162 -> 1.163
diff -u -r1.162 -r1.163
--- section.c	28 Aug 2004 22:18:24 -0000	1.162
+++ section.c	28 Sep 2004 20:58:29 -0000	1.163
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: section.c,v 1.162 2004/08/28 22:18:24 navaraf Exp $
+/* $Id: section.c,v 1.163 2004/09/28 20:58:29 gvg Exp $
  *
  * PROJECT:         ReactOS kernel
  * FILE:            ntoskrnl/mm/section.c
@@ -3809,7 +3809,7 @@
             return(STATUS_UNSUCCESSFUL);
          }
          /* Otherwise find a gap to map the image. */
-         ImageBase = MmFindGap(AddressSpace, PAGE_ROUND_UP(ImageSize), FALSE);
+         ImageBase = MmFindGap(AddressSpace, PAGE_ROUND_UP(ImageSize), PAGE_SIZE, FALSE);
          if (ImageBase == NULL)
          {
             MmUnlockAddressSpace(AddressSpace);
CVSspam 0.2.8