- The bootloader must zero user shared data page before passing control to the kernel. This fixes the "invalid timer state", "assert(SharedUserData->NumberOfPages == 0" family of bugs after warm reboot.

See issue #3085 for more details.

svn path=/trunk/; revision=32540
This commit is contained in:
Aleksey Bragin 2008-03-02 10:26:59 +00:00
parent 676473212e
commit c5d9b2c282

View file

@ -202,5 +202,8 @@ FrLdrSetupPageDirectory(VOID)
PageDir->Pde[0x1FF].Valid = 1;
PageDir->Pde[0x1FF].Write = 1;
PageDir->Pde[0x1FF].PageFrameNumber = 1;
/* Zero shared data */
RtlZeroMemory((PVOID)(2 << MM_PAGE_SHIFT), PAGE_SIZE);
}