Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/include only accept signal trampoline version...
details: https://anonhg.NetBSD.org/src/rev/e289d9c0802d
branches: trunk
changeset: 559897:e289d9c0802d
user: drochner <drochner%NetBSD.org@localhost>
date: Thu Mar 25 15:27:26 2004 +0000
description:
only accept signal trampoline version 2, and remove "struct sigcontext"
diffstat:
sys/arch/amd64/include/frame.h | 10 +---------
sys/arch/amd64/include/signal.h | 20 +-------------------
2 files changed, 2 insertions(+), 28 deletions(-)
diffs (66 lines):
diff -r e5b098f92f44 -r e289d9c0802d sys/arch/amd64/include/frame.h
--- a/sys/arch/amd64/include/frame.h Thu Mar 25 15:26:35 2004 +0000
+++ b/sys/arch/amd64/include/frame.h Thu Mar 25 15:27:26 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: frame.h,v 1.4 2003/10/13 18:38:02 fvdl Exp $ */
+/* $NetBSD: frame.h,v 1.5 2004/03/25 15:27:26 drochner Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -169,11 +169,6 @@
/*
* Signal frame
*/
-struct sigframe_sigcontext {
- uint64_t sf_ra;
- struct sigcontext sf_sc;
-};
-
struct sigframe_siginfo {
uint64_t sf_ra; /* return address for handler */
siginfo_t sf_si; /* actual saved siginfo */
@@ -183,9 +178,6 @@
#ifdef _KERNEL
void *getframe(struct lwp *, int, int *);
void buildcontext(struct lwp *, void *, void *);
-#ifdef COMPAT_16
-void sendsig_sigcontext(const ksiginfo_t *, const sigset_t *);
-#endif
#endif
#endif /* _AMD64_FRAME_H_ */
diff -r e5b098f92f44 -r e289d9c0802d sys/arch/amd64/include/signal.h
--- a/sys/arch/amd64/include/signal.h Thu Mar 25 15:26:35 2004 +0000
+++ b/sys/arch/amd64/include/signal.h Thu Mar 25 15:27:26 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: signal.h,v 1.5 2003/11/25 23:11:52 christos Exp $ */
+/* $NetBSD: signal.h,v 1.6 2004/03/25 15:27:26 drochner Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1991 Regents of the University of California.
@@ -46,25 +46,7 @@
#include <machine/fpu.h>
#include <machine/mcontext.h>
-/*
- * Information pushed on stack when a signal is delivered.
- * This is used by the kernel to restore state following
- * execution of the signal handler. It is also made available
- * to the handler to allow it to restore state properly if
- * a non-standard exit is performed.
- */
-struct sigcontext {
- struct fxsave64 *sc_fpstate;
- u_int64_t sc_onstack;
- sigset_t sc_mask;
- mcontext_t sc_mcontext;
-};
-
-#ifdef COMPAT_16
-#define SIGTRAMP_VALID(vers) ((unsigned)(vers) <= 2)
-#else
#define SIGTRAMP_VALID(vers) ((vers) == 2)
-#endif
#endif /* _NETBSD_SOURCE */
#endif /* !_AMD64_SIGNAL_H_ */
Home |
Main Index |
Thread Index |
Old Index