PERFORCE change 129379 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Thu Nov 22 05:29:20 PST 2007


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

Change 129379 by gonzo at gonzo_jeeves on 2007/11/22 13:28:56

	o Rename cpu_thread_setup to cpu_thread_alloc
	o Add cpu_thread_free

Affected files ...

.. //depot/projects/mips2/src/sys/mips/mips/vm_machdep.c#18 edit
.. //depot/projects/mips2/src/sys/mips/mips32/adm5120/adm5120_machdep.c#4 edit
.. //depot/projects/mips2/src/sys/mips/mips32/idt/idt_machdep.c#6 edit
.. //depot/projects/mips2/src/sys/mips/mips32/malta/malta_machdep.c#6 edit
.. //depot/projects/mips2/src/sys/mips/mips32/sentry5/s5_machdep.c#5 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/mips/vm_machdep.c#18 (text+ko) ====

@@ -73,7 +73,7 @@
 	if ((flags & RFPROC) == 0)
 		return;
 
-	cpu_thread_setup(td2);
+	cpu_thread_alloc(td2);
 	/*
 	 * Preserve SP from beeing overwritten.
 	 */
@@ -239,7 +239,7 @@
 }
 
 void
-cpu_thread_setup(struct thread *td)
+cpu_thread_alloc(struct thread *td)
 {
 	pt_entry_t *pte;
 	/* 
@@ -276,6 +276,11 @@
 }
 
 void
+cpu_thread_free(struct thread *td)
+{
+}
+
+void
 cpu_thread_clean(struct thread *td)
 {
 }

==== //depot/projects/mips2/src/sys/mips/mips32/adm5120/adm5120_machdep.c#4 (text+ko) ====

@@ -102,7 +102,7 @@
 	thread0.td_kstack = kstack0;
 	pcpu_init(pcpup, 0, sizeof(struct pcpu));
 	pcpup->pc_curthread = &thread0;
-	cpu_thread_setup(curthread);
+	cpu_thread_alloc(curthread);
 	pcpup->pc_curpcb = curthread->td_pcb;
 
 	mutex_init();

==== //depot/projects/mips2/src/sys/mips/mips32/idt/idt_machdep.c#6 (text+ko) ====

@@ -153,7 +153,7 @@
 	thread0.td_kstack = kstack0;
 	pcpu_init(pcpup, 0, sizeof(struct pcpu));
 	pcpup->pc_curthread = &thread0;
-	cpu_thread_setup(curthread);
+	cpu_thread_alloc(curthread);
 	pcpup->pc_curpcb = curthread->td_pcb;
 
 	mutex_init();

==== //depot/projects/mips2/src/sys/mips/mips32/malta/malta_machdep.c#6 (text+ko) ====

@@ -184,7 +184,7 @@
 	thread0.td_kstack = kstack0;
 	pcpu_init(pcpup, 0, sizeof(struct pcpu));
 	pcpup->pc_curthread = &thread0;
-	cpu_thread_setup(curthread);
+	cpu_thread_alloc(curthread);
 	pcpup->pc_curpcb = curthread->td_pcb;
 
 	mutex_init();

==== //depot/projects/mips2/src/sys/mips/mips32/sentry5/s5_machdep.c#5 (text+ko) ====

@@ -140,7 +140,7 @@
 	thread0.td_kstack = kstack0;
 	pcpu_init(pcpup, 0, sizeof(struct pcpu));
 	pcpup->pc_curthread = &thread0;
-	cpu_thread_setup(curthread);
+	cpu_thread_alloc(curthread);
 	pcpup->pc_curpcb = curthread->td_pcb;
 
 	mutex_init();


More information about the p4-projects mailing list