From d5dbb93c5f932440dcab912174cdcaace0478710 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 23 Mar 2002 13:28:35 +0000 Subject: Add variables for config(8) -e time tweak of systemV shared memory parameters. Ok millert@, miod@, maja@ --- sys/arch/alpha/alpha/machdep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/alpha') diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c index fca42b84f94..ebc8593097b 100644 --- a/sys/arch/alpha/alpha/machdep.c +++ b/sys/arch/alpha/alpha/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.68 2002/03/14 01:26:26 millert Exp $ */ +/* $OpenBSD: machdep.c,v 1.69 2002/03/23 13:28:33 espie Exp $ */ /* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */ /*- @@ -806,6 +806,9 @@ allocsys(v) (name) = (type *)v; v = (caddr_t)ALIGN((name)+(num)) #ifdef SYSVSHM + shminfo.shmmax = shmmaxpgs; + shminfo.shmall = shmmaxpgs; + shminfo.shmseg = shmseg; valloc(shmsegs, struct shmid_ds, shminfo.shmmni); #endif #ifdef SYSVSEM -- cgit v1.2.3