PERFORCE change 103828 for review

Roman Divacky rdivacky at FreeBSD.org
Mon Aug 14 12:01:00 UTC 2006


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

Change 103828 by rdivacky at rdivacky_witten on 2006/08/14 12:00:10

	Change comment from XXX: one to normal one. s/esp/rsp in amd64 version.

Affected files ...

.. //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/linux32_machdep.c#6 edit
.. //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#47 edit

Differences ...

==== //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/linux32_machdep.c#6 (text+ko) ====

@@ -512,8 +512,8 @@
 	p2->p_sigparent = exit_signal;
 	PROC_UNLOCK(p2);
 	td2 = FIRST_THREAD_IN_PROC(p2);
-	/* XXX: in a case of stack = NULL we are supposed to COW calling process stack
-	 * this is what normal fork() does so we just keep the tf_esp arg intact
+	/* in a case of stack = NULL we are supposed to COW calling process stack
+	 * this is what normal fork() does so we just keep the tf_rsp arg intact
 	 */
 	if (args->stack)
    	   	td2->td_frame->tf_rsp = PTROUT(args->stack);

==== //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#47 (text+ko) ====

@@ -431,7 +431,7 @@
 	p2->p_sigparent = exit_signal;
 	PROC_UNLOCK(p2);
 	td2 = FIRST_THREAD_IN_PROC(p2);
-	/* XXX: in a case of stack = NULL we are supposed to COW calling process stack
+	/* in a case of stack = NULL we are supposed to COW calling process stack
 	 * this is what normal fork() does so we just keep the tf_esp arg intact
 	 */
 	if (args->stack)


More information about the p4-projects mailing list