aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/sysarch.h
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2002-04-29 18:08:26 +0000
committerJake Burkholder <jake@FreeBSD.org>2002-04-29 18:08:26 +0000
commite289cb8fe70bb066898d1bd33ca6f58dfad82f2b (patch)
tree996687e669c92cbada1ef744da6e57072d97b19e /sys/sparc64/include/sysarch.h
parent43a7c4e9194f3f1da2dc17aa9509e33d8fbf007c (diff)
downloadsrc-e289cb8fe70bb066898d1bd33ca6f58dfad82f2b.tar.gz
src-e289cb8fe70bb066898d1bd33ca6f58dfad82f2b.zip
Add support for an alternate signal trampoline; add a sysarch call to register
an alternate trampoling with the kernel.
Notes
Notes: svn path=/head/; revision=95744
Diffstat (limited to 'sys/sparc64/include/sysarch.h')
-rw-r--r--sys/sparc64/include/sysarch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sparc64/include/sysarch.h b/sys/sparc64/include/sysarch.h
index e9db27fb9e4c..104a9e5ae780 100644
--- a/sys/sparc64/include/sysarch.h
+++ b/sys/sparc64/include/sysarch.h
@@ -41,12 +41,18 @@
#define _MACHINE_SYSARCH_H_
#define SPARC_UTRAP_INSTALL 1
+#define SPARC_SIGTRAMP_INSTALL 2
struct sparc_utrap_install_args {
int num;
const struct sparc_utrap_args *handlers;
};
+struct sparc_sigtramp_install_args {
+ void *sia_new;
+ void **sia_old;
+};
+
struct sparc_utrap_args {
utrap_entry_t type;
utrap_handler_t new_precise;