Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mipsco/mipsco Move previous patch which performs al...



details:   https://anonhg.NetBSD.org/src/rev/a9fee086e169
branches:  trunk
changeset: 509158:a9fee086e169
user:      wdk <wdk%NetBSD.org@localhost>
date:      Sat Apr 28 04:20:27 2001 +0000

description:
Move previous patch which performs allocsys() before pmap_bootstrap()
to the correct location.

diffstat:

 sys/arch/mipsco/mipsco/machdep.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (41 lines):

diff -r 1b9dc1830479 -r a9fee086e169 sys/arch/mipsco/mipsco/machdep.c
--- a/sys/arch/mipsco/mipsco/machdep.c  Sat Apr 28 04:11:31 2001 +0000
+++ b/sys/arch/mipsco/mipsco/machdep.c  Sat Apr 28 04:20:27 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.24 2001/04/24 15:41:40 thorpej Exp $     */
+/*     $NetBSD: machdep.c,v 1.25 2001/04/28 04:20:27 wdk Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.24 2001/04/24 15:41:40 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.25 2001/04/28 04:20:27 wdk Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 
@@ -342,17 +342,17 @@
        mips_init_msgbuf();
 
        /*
-        * Initialize the virtual memory system.
-        */
-       pmap_bootstrap();
-
-       /*
         * Compute the size of system data structures.  pmap_bootstrap()
         * needs some of this information.
         */
        size = (vsize_t)allocsys(NULL, NULL);
 
        /*
+        * Initialize the virtual memory system.
+        */
+       pmap_bootstrap();
+
+       /*
         * Allocate space for proc0's USPACE.
         */
        v = (caddr_t)uvm_pageboot_alloc(USPACE); 



Home | Main Index | Thread Index | Old Index