diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2000-11-09 08:25:48 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2000-11-09 08:25:48 +0000 |
| commit | 806d7daafe9953ef3f37c1ced4f10e9fb7ec6f31 (patch) | |
| tree | a03a4f44be4344e3c4a27327ca3812cffe60747e /sys/alpha | |
| parent | 2da829a0c8cedd4ed876fd174b8593e07e447bc6 (diff) | |
Notes
Diffstat (limited to 'sys/alpha')
| -rw-r--r-- | sys/alpha/include/signal.h | 6 | ||||
| -rw-r--r-- | sys/alpha/linux/linux.h | 2 | ||||
| -rw-r--r-- | sys/alpha/linux/linux_sysvec.c | 3 | ||||
| -rw-r--r-- | sys/alpha/osf1/osf1.h | 1 | ||||
| -rw-r--r-- | sys/alpha/osf1/osf1_sysvec.c | 5 |
5 files changed, 14 insertions, 3 deletions
diff --git a/sys/alpha/include/signal.h b/sys/alpha/include/signal.h index 2e018642ff9a..02a4bfd2e56c 100644 --- a/sys/alpha/include/signal.h +++ b/sys/alpha/include/signal.h @@ -36,6 +36,12 @@ typedef long sig_atomic_t; #ifndef _ANSI_SOURCE /* + * Minimum signal stack size. The current signal frame + * for Alpha is 808 bytes large. + */ +#define MINSIGSTKSZ (1024 * 4) + +/* * 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 diff --git a/sys/alpha/linux/linux.h b/sys/alpha/linux/linux.h index c441cc27db1b..507289b3f3b2 100644 --- a/sys/alpha/linux/linux.h +++ b/sys/alpha/linux/linux.h @@ -159,6 +159,8 @@ struct linux_new_utsname { #define LINUX_SIGISMEMBER(set, sig) SIGISMEMBER(set, sig) #define LINUX_SIGADDSET(set, sig) SIGADDSET(set, sig) +#define LINUX_MINSIGSTKSZ 4096 + typedef void (*linux_handler_t)(int); typedef u_long linux_osigset_t; diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c index 50ec18f56a12..8b4e13c4b7af 100644 --- a/sys/alpha/linux/linux_sysvec.c +++ b/sys/alpha/linux/linux_sysvec.c @@ -186,7 +186,8 @@ struct sysentvec elf_linux_sysvec = { 0, "Linux ELF", elf_coredump, - exec_linux_imgact_try + exec_linux_imgact_try, + LINUX_MINSIGSTKSZ }; static Elf64_Brandinfo linux_brand = { diff --git a/sys/alpha/osf1/osf1.h b/sys/alpha/osf1/osf1.h index 7628bf004e1f..bc91295e2329 100644 --- a/sys/alpha/osf1/osf1.h +++ b/sys/alpha/osf1/osf1.h @@ -31,6 +31,7 @@ extern struct sysent osf1_sysent[]; extern int bsd_to_osf1_sig[]; extern int bsd_to_osf1_errno[]; +#define OSF1_MINSIGSTKSZ 4096 /* osf/1 ioctls */ #define OSF1_IOCPARM_MASK 0x1fff /* parameter length, at most 13 bits */ diff --git a/sys/alpha/osf1/osf1_sysvec.c b/sys/alpha/osf1/osf1_sysvec.c index 45e91252ebbd..b89375a133d3 100644 --- a/sys/alpha/osf1/osf1_sysvec.c +++ b/sys/alpha/osf1/osf1_sysvec.c @@ -74,8 +74,9 @@ struct sysentvec osf1_sysvec = { &osf1_szsigcode, /* use generic trampoline size */ 0, /* prepsyscall */ "OSF/1 ECOFF", - NULL /* we don't have an ECOFF coredump function */ - + NULL, /* we don't have an ECOFF coredump function */ + NULL, + OSF1_MINSIGSTKSZ }; /* |
