Initialize section object type after the object manager types have been initalized.

svn path=/trunk/; revision=6376
This commit is contained in:
Eric Kohl 2003-10-19 17:33:54 +00:00
parent 08664af596
commit f9d7f36bfe
3 changed files with 7 additions and 7 deletions

View 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.176 2003/10/16 14:47:30 ekohl Exp $
/* $Id: main.c,v 1.177 2003/10/19 17:33:11 ekohl Exp $
*
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/ke/main.c
@ -445,7 +445,6 @@ ExpInitializeExecutive(VOID)
*/
KdInitSystem (0, (PLOADER_PARAMETER_BLOCK)&KeLoaderBlock);
MmInit2();
KeInit2();
KeLowerIrql(PASSIVE_LEVEL);
@ -455,6 +454,8 @@ ExpInitializeExecutive(VOID)
ObInit();
MmInit2();
if (!SeInit2())
KEBUGCHECK(SECURITY1_INITIALIZATION_FAILED);

View 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: section.c,v 1.131 2003/10/18 09:35:11 hbirr Exp $
/* $Id: section.c,v 1.132 2003/10/19 17:33:32 ekohl Exp $
*
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/mm/section.c
@ -33,6 +33,7 @@
#include <ntos.h>
#include <internal/mm.h>
#include <internal/io.h>
#include <internal/ob.h>
#include <internal/ps.h>
#include <internal/pool.h>
#include <internal/cc.h>
@ -2169,6 +2170,7 @@ MmInitSectionImplementation(VOID)
* the object manager it not initialized yet!
* The section object type will be created in ObInit().
*/
ObpCreateTypeObject(MmSectionObjectType);
return(STATUS_SUCCESS);
}

View file

@ -1,4 +1,4 @@
/* $Id: namespc.c,v 1.42 2003/10/12 17:05:48 hbirr Exp $
/* $Id: namespc.c,v 1.43 2003/10/19 17:33:54 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -432,9 +432,6 @@ ObInit(VOID)
/* Create 'symbolic link' object type */
ObInitSymbolicLinkImplementation();
/* Create 'section' object type */
ObpCreateTypeObject(MmSectionObjectType);
}