PERFORCE change 30835 for review
    Juli Mallett 
    jmallett at FreeBSD.org
       
    Thu May  8 23:26:32 PDT 2003
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=30835
Change 30835 by jmallett at 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
    
    
More information about the p4-projects
mailing list