PERFORCE change 54799 for review
Juli Mallett
jmallett at FreeBSD.org
Sun Jun 13 07:38:02 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=54799
Change 54799 by jmallett at jmallett_oingo on 2004/06/13 07:35:58
Ignore return value of trap()
Affected files ...
.. //depot/projects/mips/sys/mips/mips/exception.S#28 edit
Differences ...
==== //depot/projects/mips/sys/mips/mips/exception.S#28 (text+ko) ====
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/mips/sys/mips/mips/exception.S#27 $
+ * $P4: //depot/projects/mips/sys/mips/mips/exception.S#28 $
*/
#include "opt_ddb.h"
@@ -129,8 +129,6 @@
* trapframe, cause, badvaddr.
*
* The trapframe is copied from k1 to a0 in the BDslot.
- *
- * trap returns the frame.
*/
mfc0 a1, MIPS_COP_0_CAUSE
dmfc0 a2, MIPS_COP_0_BAD_VADDR
@@ -145,7 +143,7 @@
li t0, MIPS_SR_KX
mtc0 t0, MIPS_COP_0_STATUS
- move k1, v0
+ move k1, sp
jal exception_restore_registers
nop
daddu sp, sp, TF_SIZE
More information about the p4-projects
mailing list