Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Don't reset to old interrupt level at the exit of i...
details: https://anonhg.NetBSD.org/src/rev/4dd7d2a793f9
branches: trunk
changeset: 526786:4dd7d2a793f9
user: uch <uch%NetBSD.org@localhost>
date: Fri May 10 20:14:39 2002 +0000
description:
Don't reset to old interrupt level at the exit of interrupt handler.
It didn't ensure the maximum interrupt nest depth.
diffstat:
sys/arch/dreamcast/dreamcast/machdep.c | 5 +----
sys/arch/evbsh3/evbsh3/machdep.c | 6 ++----
sys/arch/mmeye/mmeye/machdep.c | 5 +----
3 files changed, 4 insertions(+), 12 deletions(-)
diffs (54 lines):
diff -r c8315937f68e -r 4dd7d2a793f9 sys/arch/dreamcast/dreamcast/machdep.c
--- a/sys/arch/dreamcast/dreamcast/machdep.c Fri May 10 17:50:25 2002 +0000
+++ b/sys/arch/dreamcast/dreamcast/machdep.c Fri May 10 20:14:39 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.20 2002/05/09 12:33:18 uch Exp $ */
+/* $NetBSD: machdep.c,v 1.21 2002/05/10 20:14:39 uch Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2002 The NetBSD Foundation, Inc.
@@ -270,7 +270,4 @@
} else {
(*ih->ih_func)(ih->ih_arg);
}
-
- /* Return to old interrupt level. */
- _cpu_intr_resume(ssr & 0xf0);
}
diff -r c8315937f68e -r 4dd7d2a793f9 sys/arch/evbsh3/evbsh3/machdep.c
--- a/sys/arch/evbsh3/evbsh3/machdep.c Fri May 10 17:50:25 2002 +0000
+++ b/sys/arch/evbsh3/evbsh3/machdep.c Fri May 10 20:14:39 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.41 2002/05/09 12:34:53 uch Exp $ */
+/* $NetBSD: machdep.c,v 1.42 2002/05/10 20:14:40 uch Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -777,7 +777,5 @@
printf("NMI ignored.\n");
break;
}
+}
- /* Return to old interrupt level. */
- _cpu_intr_resume(ssr & 0xf0);
-}
diff -r c8315937f68e -r 4dd7d2a793f9 sys/arch/mmeye/mmeye/machdep.c
--- a/sys/arch/mmeye/mmeye/machdep.c Fri May 10 17:50:25 2002 +0000
+++ b/sys/arch/mmeye/mmeye/machdep.c Fri May 10 20:14:39 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.27 2002/05/09 12:36:17 uch Exp $ */
+/* $NetBSD: machdep.c,v 1.28 2002/05/10 20:14:40 uch Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -589,9 +589,6 @@
} else {
(*ih->ih_func)(ih->ih_arg);
}
-
- /* Return to old interrupt level. */
- _cpu_intr_resume(ssr & 0xf0);
}
void *
Home |
Main Index |
Thread Index |
Old Index