FEATURES: add notes about compilation env changes
[unleashed.git] / include / sys / var.h
blob0396c9c1f4d0df9ca0b0e49f337155b863c76631
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 1997 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
28 /* All Rights Reserved */
30 #ifndef _SYS_VAR_H
31 #define _SYS_VAR_H
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
38 * System Configuration Information
40 struct var {
41 int v_buf; /* Nbr of I/O buffers. */
42 int v_call; /* Nbr of callout (timeout) entries. */
43 int v_proc; /* Max processes system wide */
44 int v_maxupttl; /* Max user processes system wide */
45 int v_nglobpris; /* Nbr of global sched prios configured */
46 int v_maxsyspri; /* Max global pri used by sys class. */
47 int v_clist; /* Nbr of clists allocated. */
48 int v_maxup; /* Max number of processes per user. */
49 int v_hbuf; /* Nbr of hash buffers to allocate. */
50 int v_hmask; /* Hash mask for buffers. */
51 int v_pbuf; /* Nbr of physical I/O buffers. */
52 int v_sptmap; /* Size of system virtual space */
53 /* allocation map. */
54 int v_maxpmem; /* The maximum physical memory to use. */
55 /* If v_maxpmem == 0, then use all */
56 /* available physical memory. */
57 /* Otherwise, value is amount of mem to */
58 /* use specified in pages. */
59 int v_autoup; /* The age a delayed-write buffer must */
60 /* be in seconds before bdflush will */
61 /* write it out. */
62 int v_bufhwm; /* high-water-mark of buffer cache */
63 /* memory usage, in units of K Bytes */
66 extern struct var v;
68 #ifdef __cplusplus
70 #endif
72 #endif /* _SYS_VAR_H */