PERFORCE change 116356 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Thu Mar 22 19:44:10 UTC 2007


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

Change 116356 by gonzo at gonzo_jeeves on 2007/03/22 19:43:36

	o Fill sigcode with implementation - just make sigreturn syscall.

Affected files ...

.. //depot/projects/mips2/src/sys/mips/mips/locore.S#15 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/mips/locore.S#15 (text+ko) ====

@@ -26,6 +26,7 @@
  * $FreeBSD$
  */
 
+#include <sys/syscall.h>
 #include <machine/asm.h>
 #include <machine/asmacros.h>
 #include <machine/cpuregs.h>
@@ -116,7 +117,10 @@
 	/* NOTREACHED */
 
 ASM_ENTRY(sigcode)
-	break
+	move	a0, sp
+	li	v0, SYS_sigreturn
+	syscall
+	break	0
 
 esigcode:
 	.data


More information about the p4-projects mailing list