Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Go to to splhigh() in trap when panicing ...
details: https://anonhg.NetBSD.org/src/rev/ecb61ff90b89
branches: trunk
changeset: 498412:ecb61ff90b89
user: jeffs <jeffs%NetBSD.org@localhost>
date: Mon Oct 23 05:49:05 2000 +0000
description:
Go to to splhigh() in trap when panicing before calling debugger as break
handling does.
diffstat:
sys/arch/mips/mips/trap.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 6b7f9e5f2cc6 -r ecb61ff90b89 sys/arch/mips/mips/trap.c
--- a/sys/arch/mips/mips/trap.c Mon Oct 23 04:38:38 2000 +0000
+++ b/sys/arch/mips/mips/trap.c Mon Oct 23 05:49:05 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.149 2000/09/26 18:24:45 jeffs Exp $ */
+/* $NetBSD: trap.c,v 1.150 2000/10/23 05:49:05 jeffs Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -44,7 +44,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.149 2000/09/26 18:24:45 jeffs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.150 2000/10/23 05:49:05 jeffs Exp $");
#include "opt_cputype.h" /* which mips CPU levels do we support? */
#include "opt_ktrace.h"
@@ -349,6 +349,7 @@
switch (type) {
default:
dopanic:
+ (void)splhigh();
printf("trap: %s in %s mode\n",
trap_type[TRAPTYPE(cause)],
USERMODE(status) ? "user" : "kernel");
Home |
Main Index |
Thread Index |
Old Index