Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/powerpc Don't do random replacement in isit...



details:   https://anonhg.NetBSD.org/src/rev/5e307f419b24
branches:  trunk
changeset: 525823:5e307f419b24
user:      kleink <kleink%NetBSD.org@localhost>
date:      Thu Apr 18 12:33:26 2002 +0000

description:
Don't do random replacement in isitrap601; just like isitrap.

diffstat:

 sys/arch/powerpc/powerpc/trap_subr.S |  14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)

diffs (32 lines):

diff -r 94fd34defc00 -r 5e307f419b24 sys/arch/powerpc/powerpc/trap_subr.S
--- a/sys/arch/powerpc/powerpc/trap_subr.S      Thu Apr 18 12:19:05 2002 +0000
+++ b/sys/arch/powerpc/powerpc/trap_subr.S      Thu Apr 18 12:33:26 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap_subr.S,v 1.15 2002/03/27 15:40:46 kleink Exp $    */
+/*     $NetBSD: trap_subr.S,v 1.16 2002/04/18 12:33:26 kleink Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -250,20 +250,12 @@
        mtcr    30
        bc      4,25,1f                 /* branch if Valid is is false,
                                           presently assumes supervisor only */
-
        /* get batu */
        lwz     31,_C_LABEL(battable)@l(31)
-/* We randomly use the highest two bat registers here */
-       mfspr   28,SPR_RTCL_R
-       andi.   28,28,128
-       bne     2f
-       mtibatu 2,31
-       mtibatl 2,30
-       b       3f
-2:
+
        mtibatu 3,31
        mtibatl 3,30
-3:
+
        mtcr    29                      /* restore CR */
        lmw     28,disisave(0)          /* restore r28-r31 */
        rfi                             /* return to trapped code */



Home | Main Index | Thread Index | Old Index