subr_param.c (14526) | subr_param.c (15538) |
---|---|
1/* 2 * Copyright (c) 1980, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)param.c 8.3 (Berkeley) 8/20/94 | 1/* 2 * Copyright (c) 1980, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)param.c 8.3 (Berkeley) 8/20/94 |
39 * $Id: param.c,v 1.15 1996/03/02 18:23:57 peter Exp $ | 39 * $Id: param.c,v 1.16 1996/03/11 05:52:50 hsu Exp $ |
40 */ 41 42#include "opt_sysvipc.h" 43#include "opt_param.h" 44 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/socket.h> --- 50 unchanged lines hidden (view full) --- 98 99int fscale = FSCALE; /* kernel uses `FSCALE', user uses `fscale' */ 100 101/* 102 * Values in support of System V compatible shared memory. XXX 103 */ 104#ifdef SYSVSHM 105#ifndef SHMMAX | 40 */ 41 42#include "opt_sysvipc.h" 43#include "opt_param.h" 44 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/socket.h> --- 50 unchanged lines hidden (view full) --- 98 99int fscale = FSCALE; /* kernel uses `FSCALE', user uses `fscale' */ 100 101/* 102 * Values in support of System V compatible shared memory. XXX 103 */ 104#ifdef SYSVSHM 105#ifndef SHMMAX |
106#define SHMMAX (SHMMAXPGS*NBPG) | 106#define SHMMAX (SHMMAXPGS*PAGE_SIZE) |
107#endif 108#ifndef SHMMIN 109#define SHMMIN 1 110#endif 111#ifndef SHMMNI 112#define SHMMNI 32 /* <= SHMMMNI in shm.h */ 113#endif 114#ifndef SHMSEG --- 70 unchanged lines hidden --- | 107#endif 108#ifndef SHMMIN 109#define SHMMIN 1 110#endif 111#ifndef SHMMNI 112#define SHMMNI 32 /* <= SHMMMNI in shm.h */ 113#endif 114#ifndef SHMSEG --- 70 unchanged lines hidden --- |