Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/usermode The illegal instruction handler c...
details: https://anonhg.NetBSD.org/src/rev/356251b39a80
branches: trunk
changeset: 769439:356251b39a80
user: reinoud <reinoud%NetBSD.org@localhost>
date: Sat Sep 10 10:29:39 2011 +0000
description:
The illegal instruction handler can exist on the usermodes stack and the
stackframe will disappear when its switched back.
diffstat:
sys/arch/usermode/usermode/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e8886f1b1bb0 -r 356251b39a80 sys/arch/usermode/usermode/trap.c
--- a/sys/arch/usermode/usermode/trap.c Sat Sep 10 10:06:10 2011 +0000
+++ b/sys/arch/usermode/usermode/trap.c Sat Sep 10 10:29:39 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.38 2011/09/09 12:21:57 reinoud Exp $ */
+/* $NetBSD: trap.c,v 1.39 2011/09/10 10:29:39 reinoud Exp $ */
/*-
* Copyright (c) 2011 Reinoud Zandijk <reinoud%netbsd.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.38 2011/09/09 12:21:57 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.39 2011/09/10 10:29:39 reinoud Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -89,7 +89,7 @@
if (thunk_sigaction(SIGBUS, &sa, NULL) == -1)
panic("couldn't register SIGBUS handler : %d", thunk_geterrno());
- sa.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK;
+ sa.sa_flags = SA_RESTART | SA_SIGINFO;
sa.sa_sigaction = illegal_instruction_handler;
thunk_sigemptyset(&sa.sa_mask);
thunk_sigaddset(&sa.sa_mask, SIGALRM);
Home |
Main Index |
Thread Index |
Old Index