Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/mips/mips pull up revision 1.45 (Approved by r...
details: https://anonhg.NetBSD.org/src/rev/c9d582805ba3
branches: netbsd-1-5
changeset: 489016:c9d582805ba3
user: shin <shin%NetBSD.org@localhost>
date: Thu Aug 10 00:55:16 2000 +0000
description:
pull up revision 1.45 (Approved by relent-1-5):
protect doubleword register from interrupt.
diffstat:
sys/arch/mips/mips/locore_mips3.S | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r ffc020bdc03c -r c9d582805ba3 sys/arch/mips/mips/locore_mips3.S
--- a/sys/arch/mips/mips/locore_mips3.S Wed Aug 09 23:30:02 2000 +0000
+++ b/sys/arch/mips/mips/locore_mips3.S Thu Aug 10 00:55:16 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore_mips3.S,v 1.36.2.2 2000/06/21 19:42:06 soren Exp $ */
+/* $NetBSD: locore_mips3.S,v 1.36.2.3 2000/08/10 00:55:16 shin Exp $ */
/*
* Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author)
@@ -2548,12 +2548,17 @@
END(mips3_write_compare)
LEAF(mips3_write_xcontext_upper)
+ mfc0 v1, MIPS_COP_0_STATUS # save status register
+ mtc0 zero, MIPS_COP_0_STATUS # disable interrupts
+ nop
+ nop
+ nop
dsll a0, 32
dmtc0 a0, MIPS_COP_0_TLB_XCONTEXT # Store segment map for access
nop
nop
j ra
- nop
+ mtc0 v1, MIPS_COP_0_STATUS # restore status register
END(mips3_write_xcontext_upper)
/*
Home |
Main Index |
Thread Index |
Old Index