diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1995-02-16 11:29:19 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1995-02-16 11:29:19 +0000 |
| commit | 3ab1adc555e046444147cb543672cbd2f703361a (patch) | |
| tree | 3dc69c5dd805ad4038481f95d1f26e6183ba2c3d /sys/kern/subr_param.c | |
| parent | 48ab66a1f54fba839be7a078196c08fd9352dfdb (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
| -rw-r--r-- | sys/kern/subr_param.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index b0cca50e586e..0171c912c446 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)param.c 8.2 (Berkeley) 1/21/94 - * $Id: param.c,v 1.5 1995/01/09 16:04:20 davidg Exp $ + * $Id: param.c,v 1.6 1995/01/12 03:38:12 davidg Exp $ */ #include <sys/param.h> @@ -91,11 +91,21 @@ int fscale = FSCALE; /* kernel uses `FSCALE', user uses `fscale' */ * Values in support of System V compatible shared memory. XXX */ #ifdef SYSVSHM +#ifndef SHMMAX #define SHMMAX (SHMMAXPGS*NBPG) +#endif +#ifndef SHMMIN #define SHMMIN 1 +#endif +#ifndef SHMMNI #define SHMMNI 32 /* <= SHMMMNI in shm.h */ +#endif +#ifndef SHMSEG #define SHMSEG 8 +#endif +#ifndef SHMALL #define SHMALL (SHMMAXPGS/CLSIZE) +#endif struct shminfo shminfo = { SHMMAX, |
