X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fntoskrnl%2Fex%2Finit.c;h=268c21c81f4d7d2956ced71d6b020ccca6922edb;hp=5dd48cae2253d9b025bc9aeb494b37bcfd49b29a;hb=592824076618aceca7581ba9ed253811a6448a2c;hpb=5f18dde52776e5629b5bcb2daef67ac37f37c06a diff --git a/reactos/ntoskrnl/ex/init.c b/reactos/ntoskrnl/ex/init.c index 5dd48cae225..268c21c81f4 100644 --- a/reactos/ntoskrnl/ex/init.c +++ b/reactos/ntoskrnl/ex/init.c @@ -910,6 +910,9 @@ ExpInitializeExecutive(IN ULONG Cpu, /* Initialize the executive at phase 0 */ if (!ExInitSystem()) KEBUGCHECK(PHASE0_INITIALIZATION_FAILED); + /* Initialize the memory manager at phase 0 */ + if (!MmInitSystem(0, LoaderBlock)) KeBugCheck(MEMORY1_INITIALIZATION_FAILED); + /* Load boot symbols */ ExpLoadBootSymbols(LoaderBlock); @@ -1169,7 +1172,7 @@ Phase1InitializationDiscard(PVOID Context) HalReportResourceUsage(); /* Call the debugger DLL once we have KD64 6.0 support */ - KdDebuggerInitialize1(LoaderBlock); + //KdDebuggerInitialize1(LoaderBlock); /* Setup PnP Manager in phase 1 */ if (!PpInitSystem()) KeBugCheck(PP1_INITIALIZATION_FAILED);