# $Copyright:	$
# Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 
# Sequent Computer Systems, Inc.   All rights reserved.
#  
# This software is furnished under a license and may be used
# only in accordance with the terms of that license and with the
# inclusion of the above copyright notice.   This software may not
# be provided or otherwise made available to, or used by, any
# other person.  No title to or ownership of the software is
# hereby transferred.
#
# $Header: config 1.7 89/12/18 $
#

modules {
	shm.c
	shm_vnodeops.c
}

headers {
	sys/shm.h
}

space {
	shm_space.c
}

stubs {
	shm_stubs.c
}

#
#  System V style shared memory module configuration parameters.
#

declare [3] {
  SHMMAX	int {"IPC maximum shared memory segment size (bytes)"}
  SHMMIN	int {"IPC minimum shared memory segment size (bytes)"}
  SHMMNI	int {"IPC max #of shared memory identifiers for system"}
  SHMSEG	int {"IPC max #of shared memory segments per process"}
  SHMGAP	int {"IPC default shared memory segment gap (bytes)"}
}

default {
  SHMMAX	{      524288;        4096..   }
  SHMMIN	{           1;           1..   }
  SHMMNI	{         100;         100..   }
  SHMSEG	{          10;           1..10 }	# must be <= NUMMAP-2
  #
  #  If shmat is called with an addr of 0, shmaddr() looks for any allocated
  #  maps and assigns the next available page as the attach address. If no
  #  previous shmat() was done, the page assigned is the end of the data
  #  segment plus SHMGAP. This gap allows space for any future sbrks.
  #
  SHMGAP	{ 2*1024*1024; 2*1024*1024..   }
}
