Module Name: src Committed By: rin Date: Sat Mar 6 08:34:58 UTC 2021
Modified Files: src/sys/arch/powerpc/powerpc: locore_subr.S Log Message: For ibm4xx and booke, restore saved PSL_EE bit as done for oea, instead of forcibly enabling interrupts. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/powerpc/powerpc/locore_subr.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/powerpc/powerpc/locore_subr.S diff -u src/sys/arch/powerpc/powerpc/locore_subr.S:1.64 src/sys/arch/powerpc/powerpc/locore_subr.S:1.65 --- src/sys/arch/powerpc/powerpc/locore_subr.S:1.64 Sat Mar 6 08:08:19 2021 +++ src/sys/arch/powerpc/powerpc/locore_subr.S Sat Mar 6 08:34:58 2021 @@ -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 @@ _ENTRY(softint_fast_dispatch) 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