summaryrefslogtreecommitdiff
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-05-01 13:33:56 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-05-01 13:33:56 +0000
commitab063af9111f64e3e5248d2aa637bf9af2d631c9 (patch)
treeb44ef2ce9e179f478da957f5be427d979aa6f050 /sys/kern/subr_param.c
parent09dd94d856d0275983fe127e967947fc01322d41 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index f26c3ba25870..42b124d751b7 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -41,18 +41,10 @@
#include <stddef.h>
-#include "opt_sysvipc.h"
#include "opt_param.h"
#include <sys/param.h>
-#ifdef SYSVSEM
-#include <sys/sem.h>
-#endif
-#ifdef SYSVMSG
-#include <sys/msg.h>
-#endif
-
/*
* System parameter formulae.
*
@@ -87,43 +79,6 @@ int mbuf_wait = 32; /* mbuf sleep time in ticks */
int nsfbufs = NSFBUFS;
/*
- * Values in support of System V compatible semaphores.
- */
-
-#ifdef SYSVSEM
-
-struct seminfo seminfo = {
- SEMMAP, /* # of entries in semaphore map */
- SEMMNI, /* # of semaphore identifiers */
- SEMMNS, /* # of semaphores in system */
- SEMMNU, /* # of undo structures in system */
- SEMMSL, /* max # of semaphores per id */
- SEMOPM, /* max # of operations per semop call */
- SEMUME, /* max # of undo entries per process */
- SEMUSZ, /* size in bytes of undo structure */
- SEMVMX, /* semaphore maximum value */
- SEMAEM /* adjust on exit max value */
-};
-#endif
-
-/*
- * Values in support of System V compatible messages.
- */
-
-#ifdef SYSVMSG
-
-struct msginfo msginfo = {
- MSGMAX, /* max chars in a message */
- MSGMNI, /* # of message queue identifiers */
- MSGMNB, /* max chars in a queue */
- MSGTQL, /* max messages in system */
- MSGSSZ, /* size of a message segment */
- /* (must be small power of 2 greater than 4) */
- MSGSEG /* number of message segments */
-};
-#endif
-
-/*
* These may be set to nonzero here or by patching.
* If they are nonzero at bootstrap time then they are
* initialized to values dependent on the memory size.