[CSRSS]: Should use MEM_COMMIT | MEM_RESERVE, not just MEM_COMMIT when requesting a range of adress space that wasn't already reserved. This works in ReactOS because, well, no reason to explain why, but it wouldn't work on Windows or with a VAD-based kernel.

svn path=/trunk/; revision=49178
This commit is contained in:
Sir Richard 2010-10-16 21:04:50 +00:00
parent 55e59a3673
commit 82949cc7b2

View file

@ -107,7 +107,7 @@ InitializeVideoAddressSpace(VOID)
&BaseAddress,
0,
&ViewSize,
MEM_COMMIT,
MEM_RESERVE | MEM_COMMIT,
PAGE_EXECUTE_READWRITE);
if (!NT_SUCCESS(Status))
{