PERFORCE change 135043 for review
Warner Losh
imp at FreeBSD.org
Fri Feb 8 08:47:52 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=135043
Change 135043 by imp at imp_lighthouse on 2008/02/08 16:47:48
Save/Restore v0 across the call to DO_AST in the one case where
we need to preserve its value.
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/exception.S#13 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/mips/exception.S#13 (text+ko) ====
@@ -383,8 +383,9 @@
sw a3, STAND_RA_OFFSET + KERN_REG_SIZE(sp) # for debugging
.set at
- /* A call to AST would step on v0, I think, do we need to save it? */
+ move s0, v0
DO_AST
+ move v0, s0
.set noat
RESTORE_CPU # v0 contains the return address.
More information about the p4-projects
mailing list