Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Temporary fix to prevent the clock ...
details: https://anonhg.NetBSD.org/src/rev/7049bca540b0
branches: trunk
changeset: 494538:7049bca540b0
user: eeh <eeh%NetBSD.org@localhost>
date: Fri Jul 07 19:59:36 2000 +0000
description:
Temporary fix to prevent the clock from stopping on UIIi machines.
diffstat:
sys/arch/sparc64/sparc64/locore.s | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r b46bc8be1c9e -r 7049bca540b0 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Fri Jul 07 19:11:56 2000 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Fri Jul 07 19:59:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.68 2000/07/03 17:56:08 eeh Exp $ */
+/* $NetBSD: locore.s,v 1.69 2000/07/07 19:59:36 eeh Exp $ */
/*
* Copyright (c) 1996-1999 Eduardo Horvath
* Copyright (c) 1996 Paul Kranenburg
@@ -4138,6 +4138,9 @@
set _C_LABEL(intrlev), %g3
wr %g0, 1, CLEAR_SOFTINT
DLFLUSH(%g3, %g2)
+#ifndef TICK_IS_TIME
+ wrpr %g0, 0, %tick ! Reset %tick so we'll get another interrupt
+#endif
ba,pt %icc, setup_sparcintr
LDPTR [%g3 + PTRSZ], %g5 ! intrlev[1] is reserved for %tick intr.
0:
Home |
Main Index |
Thread Index |
Old Index