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 For ibm4xx and booke, restore saved...



details:   https://anonhg.NetBSD.org/src/rev/f2beff5fa6ec
branches:  trunk
changeset: 953331:f2beff5fa6ec
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Mar 06 08:34:58 2021 +0000

description:
For ibm4xx and booke, restore saved PSL_EE bit as done for oea,
instead of forcibly enabling interrupts.

diffstat:

 sys/arch/powerpc/powerpc/locore_subr.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fc91576cc9a4 -r f2beff5fa6ec sys/arch/powerpc/powerpc/locore_subr.S
--- a/sys/arch/powerpc/powerpc/locore_subr.S    Sat Mar 06 08:32:17 2021 +0000
+++ b/sys/arch/powerpc/powerpc/locore_subr.S    Sat Mar 06 08:34:58 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore_subr.S,v 1.64 2021/03/06 08:08:19 rin Exp $     */
+/*     $NetBSD: locore_subr.S,v 1.65 2021/03/06 08:34:58 rin Exp $     */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -401,7 +401,7 @@
        addi    %r1, %r5, USPACE - FRAMELEN - CALLFRAMELEN
 
 #if defined(PPC_IBM4XX) || defined(PPC_BOOKE)
-       wrteei  1                       /* interrupts are okay again */
+       wrtee   %r29                    /* interrupts are okay again */
 #else /* PPC_OEA */
        mtmsr   %r29
 #endif



Home | Main Index | Thread Index | Old Index