Module Name: src
Committed By: skrll
Date: Tue Nov 9 06:41:04 UTC 2010
Modified Files:
src/sys/arch/hppa/hppa: trap.c
Log Message:
#if 0 out the trap checks around tf_iioq_{head,tail}. The sti(4) code
can/will trigger them.
To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/hppa/hppa/trap.c
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/hppa/hppa/trap.c
diff -u src/sys/arch/hppa/hppa/trap.c:1.93 src/sys/arch/hppa/hppa/trap.c:1.94
--- src/sys/arch/hppa/hppa/trap.c:1.93 Wed Jul 7 01:18:39 2010
+++ src/sys/arch/hppa/hppa/trap.c Tue Nov 9 06:41:03 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.93 2010/07/07 01:18:39 chs Exp $ */
+/* $NetBSD: trap.c,v 1.94 2010/11/09 06:41:03 skrll Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.93 2010/07/07 01:18:39 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.94 2010/11/09 06:41:03 skrll Exp $");
/* #define INTRDEBUG */
/* #define TRAPDEBUG */
@@ -407,8 +407,10 @@
frame_sanity_check(const char *func, int line, int type, struct trapframe *tf,
struct lwp *l)
{
+#if 0
extern int kernel_text;
extern int etext;
+#endif
extern register_t kpsw;
#define SANITY(e) \
@@ -445,11 +447,12 @@
*/
if ((type & ~T_USER) == T_INTERRUPT)
goto out;
-
+#if 0
SANITY(tf->tf_iioq_head >= (u_int) &kernel_text);
SANITY(tf->tf_iioq_head < (u_int) &etext);
SANITY(tf->tf_iioq_tail >= (u_int) &kernel_text);
SANITY(tf->tf_iioq_tail < (u_int) &etext);
+#endif
maxsp = uv + USPACE + PAGE_SIZE;
minsp = uv + PAGE_SIZE;