Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 23:26:30 -0700 (PDT)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 30835 for review
Message-ID:  <200305090626.h496QUg7023956@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=30835

Change 30835 by jmallett@jmallett_dalek on 2003/05/08 23:25:52

	Call pcpu_init.  Call kdb_init.

Affected files ...

.. //depot/projects/mips/sys/mips/mips/machdep.c#21 edit

Differences ...

==== //depot/projects/mips/sys/mips/mips/machdep.c#21 (text+ko) ====

@@ -143,6 +143,8 @@
  * $FreeBSD$
  */
 
+#include "opt_ddb.h"
+
 #include <sys/param.h>
 #include <sys/conf.h>
 #include <sys/systm.h>
@@ -189,8 +191,12 @@
 	cpu_identify();
 	proc_linkup(&proc0, &ksegrp0, &kse0, &thread0);
 	thread0.td_kstack = kstack0;
+	pcpu_init(pcpup, 0, sizeof(struct pcpu));
 	pcpup->pc_curthread = &thread0;
 	mutex_init();
+#ifdef DDB
+	kdb_init();
+#endif
 }
 
 void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305090626.h496QUg7023956>