Author: sir_richard
Date: Wed May 12 20:39:09 2010
New Revision: 47174
URL:
http://svn.reactos.org/svn/reactos?rev=47174&view=rev
Log:
[NTOS]: User pages are not used until Phase 1, they should not be setup in Phase 0. Fixes
premature initalization.
Modified:
trunk/reactos/ntoskrnl/mm/mminit.c
Modified: trunk/reactos/ntoskrnl/mm/mminit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/mminit.c?rev=4…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/mminit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/mminit.c [iso-8859-1] Wed May 12 20:39:09 2010
@@ -400,13 +400,11 @@
/* 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();