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/hppa/hppa/machdep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/hppa') diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index af2503c9ce1..3c675e3e1cd 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.63 2002/03/19 19:03:20 mickey Exp $ */ +/* $OpenBSD: machdep.c,v 1.64 2002/03/23 13:28:34 espie Exp $ */ /* * Copyright (c) 1999-2002 Michael Shalayeff @@ -492,6 +492,9 @@ hppa_init(start) valloc(buf, struct buf, nbuf); #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