Module Name: src Committed By: uwe Date: Tue Jul 28 21:25:48 UTC 2020
Modified Files: src/sys/arch/evbsh3/evbsh3: locore.S Log Message: Don't write SR twice. __INTR_MASK sets PSL_IMASK bits in SR but then in the next instruction we overwrite SR anyway, so drop that redundant __INTR_MASK. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbsh3/evbsh3/locore.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/evbsh3/evbsh3/locore.S diff -u src/sys/arch/evbsh3/evbsh3/locore.S:1.14 src/sys/arch/evbsh3/evbsh3/locore.S:1.15 --- src/sys/arch/evbsh3/evbsh3/locore.S:1.14 Tue Jul 28 20:36:43 2020 +++ src/sys/arch/evbsh3/evbsh3/locore.S Tue Jul 28 21:25:48 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.14 2020/07/28 20:36:43 uwe Exp $ */ +/* $NetBSD: locore.S,v 1.15 2020/07/28 21:25:48 uwe Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -97,10 +97,7 @@ ALTENTRY(kernel_text) /* Set SP to initial position */ mov.l XLtmpstk, r15 - /* Mask all interrupt */ - __INTR_MASK(r0, r1) - - /* Set Register Bank to Bank 0 */ + /* Set Status Register */ mov.l SR_init, r0 ldc r0, sr