Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2007 19:44:08 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 116356 for review
Message-ID:  <200703221944.l2MJi8IE086573@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=116356

Change 116356 by gonzo@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703221944.l2MJi8IE086573>