[L4alpha-cvscommit] CVS: L4Alpha/pal/21164/macros l4_macros.mar,1.6,1.7
Status: Beta
Brought to you by:
dpotts
|
From: Daniel P. <dp...@us...> - 2002-02-24 23:38:12
|
Update of /cvsroot/l4alpha/L4Alpha/pal/21164/macros In directory usw-pr-cvs1:/tmp/cvs-serv30550/pal/21164/macros Modified Files: l4_macros.mar Log Message: close_frame now trashes p0 and p5. p5 is always deemed to be scratched when in pal. In this case p0 is also trashed. Previously it was p1. This should fix the case in ipc send when sending to a non existant TCB. While p0 will still be trashed, it is not used either. Index: l4_macros.mar =================================================================== RCS file: /cvsroot/l4alpha/L4Alpha/pal/21164/macros/l4_macros.mar,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** l4_macros.mar 13 Feb 2002 06:42:07 -0000 1.6 --- l4_macros.mar 24 Feb 2002 23:38:06 -0000 1.7 *************** *** 190,199 **** .endm - .macro close_frame ?L1 ! ldl_a p1, 8(sp) ldq_a p0, 0(sp) ! beq p1, L1 ! mtpr p1, ips addq sp, #24, sp --- 190,198 ---- .endm .macro close_frame ?L1 ! ldl_a p5, 8(sp) ldq_a p0, 0(sp) ! beq p5, L1 ! mtpr p5, ips addq sp, #24, sp *************** *** 202,206 **** mtpr p0, excAddr ! mtpr p1, dtbCm nop nop --- 201,205 ---- mtpr p0, excAddr ! mtpr p5, dtbCm nop nop |