mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +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 */
|
/* Initialize the loaded module list */
|
||||||
MiInitializeLoadedModuleList(LoaderBlock);
|
MiInitializeLoadedModuleList(LoaderBlock);
|
||||||
|
|
||||||
/* Initialize working sets */
|
|
||||||
MiInitializeUserPfnBitmap();
|
|
||||||
MmInitializeMemoryConsumer(MC_USER, MmTrimUserMemory);
|
|
||||||
}
|
}
|
||||||
else if (Phase == 1)
|
else if (Phase == 1)
|
||||||
{
|
{
|
||||||
|
MiInitializeUserPfnBitmap();
|
||||||
|
MmInitializeMemoryConsumer(MC_USER, MmTrimUserMemory);
|
||||||
MmInitializeRmapList();
|
MmInitializeRmapList();
|
||||||
MmInitializePageOp();
|
MmInitializePageOp();
|
||||||
MmInitSectionImplementation();
|
MmInitSectionImplementation();
|
||||||
|
|
Loading…
Reference in a new issue