[ros-diffs] [fireball] 25667: - 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.

fireball at svn.reactos.org fireball at svn.reactos.org
Wed Jan 31 23:31:00 CET 2007


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=25667&r1=25666&r2=25667&view=diff
==============================================================================
--- 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 */




More information about the Ros-diffs mailing list