X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d52fe63fc81f7e44faaae711812a211a78434976..9bccf70c0258c7cac2dcb80011b2a964d884c552:/bsd/conf/param.c diff --git a/bsd/conf/param.c b/bsd/conf/param.c index 2cb4f2d29..9de9d895c 100644 --- a/bsd/conf/param.c +++ b/bsd/conf/param.c @@ -70,7 +70,7 @@ #include #include #include -#include +#include #include #include #include @@ -95,32 +95,6 @@ int nport = NPROC / 2; #define MAXSOCKETS NMBCLUSTERS int maxsockets = MAXSOCKETS; -#define SHMMAXPGS 1024 /* XXX until we have more kmap space */ - -#ifndef SHMMAX -#define SHMMAX (SHMMAXPGS * 4096) -#endif -#ifndef SHMMIN -#define SHMMIN 1 -#endif -#ifndef SHMMNI -#define SHMMNI 32 /* <= SHMMMNI in shm.h */ -#endif -#ifndef SHMSEG -#define SHMSEG 8 -#endif -#ifndef SHMALL -#define SHMALL (SHMMAXPGS) -#endif - -struct shminfo shminfo = { - SHMMAX, - SHMMIN, - SHMMNI, - SHMSEG, - SHMALL -}; - /* * These have to be allocated somewhere; allocating * them here forces loader errors if this file is omitted @@ -132,3 +106,4 @@ struct cblock *cfreelist = 0; int cfreecount = 0; struct buf *buf; struct domain *domains; +