summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/signal.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2000-11-09 08:25:48 +0000
committermarcel <marcel@FreeBSD.org>2000-11-09 08:25:48 +0000
commit1a7266b24de5311dddd975c3c4cb4da6f15f9a45 (patch)
tree455d03a734fbf59af75b8517e09aca5328c18648 /sys/ia64/include/signal.h
parent7980b37e09111f86fa7b0583f6a2e79e6434a0b0 (diff)
downloadFreeBSD-src-1a7266b24de5311dddd975c3c4cb4da6f15f9a45.zip
FreeBSD-src-1a7266b24de5311dddd975c3c4cb4da6f15f9a45.tar.gz
Make MINSIGSTKSZ machine dependent, and have the sigaltstack
syscall compare against a variable sv_minsigstksz in struct sysentvec as to properly take the size of the machine- and ABI dependent struct sigframe into account. The SVR4 and iBCS2 modules continue to have a minsigstksz of 8192 to preserve behavior. The real values (if different) are not known at this time. Other ABI modules use the real values. The native MINSIGSTKSZ is now defined as follows: Arch MINSIGSTKSZ ---- ----------- alpha 4096 i386 2048 ia64 12288 Reviewed by: mjacob Suggested by: bde
Diffstat (limited to 'sys/ia64/include/signal.h')
-rw-r--r--sys/ia64/include/signal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/ia64/include/signal.h b/sys/ia64/include/signal.h
index e1602e4..268836c 100644
--- a/sys/ia64/include/signal.h
+++ b/sys/ia64/include/signal.h
@@ -35,6 +35,12 @@ typedef long sig_atomic_t;
#ifndef _ANSI_SOURCE
+/*
+ * Minimum signal stack size. The current signal frame
+ * for IA-64 is 2656 bytes large.
+ */
+#define MINSIGSTKSZ (3072 * 4)
+
#ifndef _IA64_FPREG_DEFINED
struct ia64_fpreg {
OpenPOWER on IntegriCloud