Author: tfaber
Date: Sat Feb 2 13:27:49 2013
New Revision: 58266
URL:
http://svn.reactos.org/svn/reactos?rev=58266&view=rev
Log:
[NTOSKRNL:MM]
- Ignore the unsupported MEM_TOP_DOWN flag instead of failing NtAllocateVirtualMemory
CORE-6392 CORE-6805 #comment MEM_TOP_DOWN should be sufficiently fixed in r58266, and
setup now starts. Please confirm.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/virtual.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/virtual.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/virtual.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] Sat Feb 2 13:27:49 2013
@@ -3856,8 +3856,7 @@
if ((AllocationType & MEM_TOP_DOWN) == MEM_TOP_DOWN)
{
DPRINT1("MEM_TOP_DOWN not supported\n");
- Status = STATUS_INVALID_PARAMETER;
- goto FailPathNoLock;
+ AllocationType &= ~MEM_TOP_DOWN;
}
if ((AllocationType & MEM_RESET) == MEM_RESET)
{