- Initialized lookaside lists earlier in the startup process.
authorHartmut Birr <osexpert@googlemail.com>
Sun, 16 Nov 2003 15:17:46 +0000 (15:17 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Sun, 16 Nov 2003 15:17:46 +0000 (15:17 +0000)
svn path=/trunk/; revision=6663

reactos/ntoskrnl/ex/init.c
reactos/ntoskrnl/include/internal/ex.h
reactos/ntoskrnl/ke/main.c

index e881045..ca2a97c 100644 (file)
 /* FUNCTIONS ****************************************************************/
 
 VOID INIT_FUNCTION
-ExInit (VOID)
+ExInit2(VOID)
+{
+  ExpInitLookasideLists();
+}
+
+VOID INIT_FUNCTION
+ExInit3 (VOID)
 {
   ExInitTimeZoneInfo();
   ExInitializeWorkerThreads();
-  ExpInitLookasideLists();
   ExpWin32kInit();
 }
 
index b1f5bdb..425cf1e 100644 (file)
@@ -102,7 +102,9 @@ VOID
 ExpWin32kInit(VOID);
 
 VOID 
-ExInit (VOID);
+ExInit2 (VOID);
+VOID
+ExInit3 (VOID);
 VOID 
 ExInitTimeZoneInfo (VOID);
 VOID 
index ceb90d0..ee3e98d 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: main.c,v 1.177 2003/10/19 17:33:11 ekohl Exp $
+/* $Id: main.c,v 1.178 2003/11/16 15:17:46 hbirr Exp $
  *
  * PROJECT:         ReactOS kernel
  * FILE:            ntoskrnl/ke/main.c
@@ -453,7 +453,7 @@ ExpInitializeExecutive(VOID)
     KEBUGCHECK(SECURITY_INITIALIZATION_FAILED);
 
   ObInit();
-
+  ExInit2();
   MmInit2();
 
   if (!SeInit2())
@@ -493,7 +493,7 @@ ExpInitializeExecutive(VOID)
    */
   HalInitSystem(1, (PLOADER_PARAMETER_BLOCK)&KeLoaderBlock);
 
-  ExInit();
+  ExInit3();
   KdInit1();
   IoInit();
   PoInit();