[NTOSKRNL]

Stop using the new paged pool code, before ExpLoadInitialProcess is called. For so far unknown reasons, it causes evil things to happen. Fixes "Assertion NewSize < pool->UserSize failed"
See issue #5551 for more details.

svn path=/trunk/; revision=48517
This commit is contained in:
Timo Kreuzer 2010-08-11 01:22:06 +00:00
parent da140c1ba3
commit aac1625f1f

View file

@ -1851,6 +1851,9 @@ Phase1InitializationDiscard(IN PVOID Context)
/* Update progress bar */
InbvUpdateProgressBar(90);
/* Enough fun for now */
AllowPagedPool = FALSE;
/* Launch initial process */
ProcessInfo = &InitBuffer->ProcessInfo;
ExpLoadInitialProcess(InitBuffer, &ProcessParameters, &Environment);
@ -1861,9 +1864,6 @@ Phase1InitializationDiscard(IN PVOID Context)
/* Allow strings to be displayed */
InbvEnableDisplayString(TRUE);
/* Enough fun for now */
AllowPagedPool = FALSE;
/* Wait 5 seconds for it to initialize */
Timeout.QuadPart = Int32x32To64(5, -10000000);
Status = ZwWaitForSingleObject(ProcessInfo->ProcessHandle, FALSE, &Timeout);