mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[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:
parent
da140c1ba3
commit
aac1625f1f
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue