PERFORCE change 110628 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Tue Nov 28 11:11:39 PST 2006


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

Change 110628 by gonzo at 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);
 }
 


More information about the p4-projects mailing list