Author: fireball
Date: Thu Feb 1 01:30:59 2007
New Revision: 25667
URL: http://svn.reactos.org/svn/reactos?rev=25667&view=rev
Log:
- Comment out clearing of KeLoaderBlock (introduced by 25629), because it looks like someone is still calling IopLoadServiceModule() even after that point. 2nd stage boots with this change.
Modified:
trunk/reactos/ntoskrnl/ex/init.c
Modified: trunk/reactos/ntoskrnl/ex/init.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/init.c?rev=256…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/init.c (original)
+++ trunk/reactos/ntoskrnl/ex/init.c Thu Feb 1 01:30:59 2007
@@ -1186,7 +1186,10 @@
InbvUpdateProgressBar(85);
/* Make sure nobody touches the loader block again */
- if (LoaderBlock == KeLoaderBlock) KeLoaderBlock = NULL;
+ /* FIXME: IopLoadServiceModule() touches KeLoaderBlock->LoadOrderListHead,
+ and that happens past this point too. So either copy that list to the
+ Io's allocated space, or properly fix Io. */
+ //if (LoaderBlock == KeLoaderBlock) KeLoaderBlock = NULL;
LoaderBlock = Context = NULL;
/* Update progress bar */