PERFORCE change 48827 for review

Juli Mallett jmallett at FreeBSD.org
Fri Mar 12 15:06:25 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=48827

Change 48827 by jmallett at jmallett_oingo on 2004/03/12 15:06:22

	Set up PCB, remove savectx.

Affected files ...

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

Differences ...

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

@@ -220,6 +220,7 @@
 	thread0.td_kstack = kstack0;
 	pcpu_init(pcpup, 0, sizeof(struct pcpu));
 	pcpup->pc_curthread = &thread0;
+	cpu_thread_setup(curthread);
 	mutex_init();
 #ifdef DDB
 	kdb_init();
@@ -342,12 +343,6 @@
 {
 }
 
-int
-savectx(struct pcb *pcb)
-{
-	return (0);
-}
-
 intptr_t
 casuptr(intptr_t *p, intptr_t old, intptr_t new)
 {


More information about the p4-projects mailing list