summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-03-23 13:28:35 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-03-23 13:28:35 +0000
commitd5dbb93c5f932440dcab912174cdcaace0478710 (patch)
treec8b5272c356b9a1d36d58ac8de203ac79f55c530 /sys/arch/i386
parent22d4ae0d10ce3d60ef93721631a03beb15f29642 (diff)
Add variables for config(8) -e time tweak of systemV shared memory
parameters. Ok millert@, miod@, maja@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/machdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 58fe8caa682..47ff4f36063 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.201 2002/03/18 16:04:24 espie Exp $ */
+/* $OpenBSD: machdep.c,v 1.202 2002/03/23 13:28:34 espie Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -470,6 +470,9 @@ allocsys(v)
#define valloc(name, type, num) \
v = (caddr_t)(((name) = (type *)v) + (num))
#ifdef SYSVSHM
+ shminfo.shmmax = shmmaxpgs;
+ shminfo.shmall = shmmaxpgs;
+ shminfo.shmseg = shmseg;
valloc(shmsegs, struct shmid_ds, shminfo.shmmni);
#endif
#ifdef SYSVSEM