Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2006 19:07:19 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 110628 for review
Message-ID:  <200611281907.kASJ7JG6058725@repoman.freebsd.org>

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

Change 110628 by gonzo@gonzo_jeevse on 2006/11/28 19:07:03

	o Fill out signal-related functions with panic(9) call
	o COP_0 bit in status should be 1 because new gxemul 
	    raise "Coprocessor Unavaialbe" exception.

Affected files ...

.. //depot/projects/mips2/src/sys/mips/mips/machdep.c#24 edit

Differences ...

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

@@ -89,7 +89,7 @@
 void
 sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask)
 {
-	__asm __volatile("break");
+	panic("Signal is not implemented");
 }
 
 void
@@ -277,6 +277,7 @@
 	tf->tf_regs[TF_EPC] = (register_t)entry;
 	tf->tf_regs[TF_SP] = (register_t)stack;
 	tf->tf_regs[TF_SR] |= MIPS_SR_KSU_USER;
+	tf->tf_regs[TF_SR] |= MIPS_SR_COP_0_BIT;
 }
 
 intptr_t
@@ -365,6 +366,7 @@
 		const struct __ucontext *sigcntxp;
 	} */ *uap;
 {
+	panic("sigreturn is not implemented\n");
 	return (0);
 }
 



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