mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 04:08:29 +00:00
[NTOS]: User pages are not used until Phase 1, they should not be setup in Phase 0. Fixes premature initalization.
svn path=/trunk/; revision=47174
This commit is contained in:
parent
926bd0522f
commit
944fe46d70
|
@ -400,13 +400,11 @@ MmInitSystem(IN ULONG Phase,
|
|||
|
||||
/* Initialize the loaded module list */
|
||||
MiInitializeLoadedModuleList(LoaderBlock);
|
||||
|
||||
/* Initialize working sets */
|
||||
MiInitializeUserPfnBitmap();
|
||||
MmInitializeMemoryConsumer(MC_USER, MmTrimUserMemory);
|
||||
}
|
||||
else if (Phase == 1)
|
||||
{
|
||||
MiInitializeUserPfnBitmap();
|
||||
MmInitializeMemoryConsumer(MC_USER, MmTrimUserMemory);
|
||||
MmInitializeRmapList();
|
||||
MmInitializePageOp();
|
||||
MmInitSectionImplementation();
|
||||
|
|
Loading…
Reference in a new issue