Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/oea convert rfid to rfi in exception handlers.



details:   https://anonhg.NetBSD.org/src/rev/cee3b46fcc6c
branches:  trunk
changeset: 789668:cee3b46fcc6c
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Aug 31 15:01:08 2013 +0000

description:
convert rfid to rfi in exception handlers.

diffstat:

 sys/arch/powerpc/oea/oea_machdep.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 9b7c6252351b -r cee3b46fcc6c sys/arch/powerpc/oea/oea_machdep.c
--- a/sys/arch/powerpc/oea/oea_machdep.c        Sat Aug 31 12:26:56 2013 +0000
+++ b/sys/arch/powerpc/oea/oea_machdep.c        Sat Aug 31 15:01:08 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: oea_machdep.c,v 1.66 2013/08/31 07:33:15 matt Exp $    */
+/*     $NetBSD: oea_machdep.c,v 1.67 2013/08/31 15:01:08 matt Exp $    */
 
 /*
  * Copyright (C) 2002 Matt Thomas
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: oea_machdep.c,v 1.66 2013/08/31 07:33:15 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: oea_machdep.c,v 1.67 2013/08/31 15:01:08 matt Exp $");
 
 #include "opt_ppcarch.h"
 #include "opt_compat_netbsd.h"
@@ -386,6 +386,8 @@
                                *ip++ = NOP;
                                *ip++ = NOP;
                                ip[0] = NOP;
+                       } else if (*ip == RFID) {
+                               *ip = RFI;
                        }
                }
 
@@ -905,6 +907,8 @@
                                *ip++ = NOP;
                                *ip++ = NOP;
                                ip[0] = NOP;
+                       } else if (*ip == RFID) {
+                               *ip = RFI;
                        }
                }
        }



Home | Main Index | Thread Index | Old Index