diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-07-29 11:44:31 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-07-29 11:44:31 +0000 |
| commit | 28f8db1403052856e6104905b66329de1cfa1dc7 (patch) | |
| tree | b89d1e0366b685acdcb1eb8c959a65e2e330cb0c /sys/kern/subr_param.c | |
| parent | 772ec2b7a970d0b79304f6784aa42e74c29a8d96 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
| -rw-r--r-- | sys/kern/subr_param.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index 3bba6e64d59b..0a03cd684d95 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)param.c 8.2 (Berkeley) 1/21/94 - * $Id: param.c,v 1.10 1995/06/29 07:06:53 davidg Exp $ + * $Id: param.c,v 1.11 1995/06/29 08:21:32 davidg Exp $ */ #include <sys/param.h> @@ -162,19 +162,24 @@ struct msginfo msginfo = { #endif /* - * These are initialized at bootstrap time - * to values dependent on memory size + * 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. */ -int nbuf, nswbuf; +#ifdef NBUF +int nbuf = NBUF; +#else +int nbuf = 0; +#endif +int nswbuf = 0; /* * These have to be allocated somewhere; allocating * them here forces loader errors if this file is omitted * (if they've been externed everywhere else; hah!). */ -struct callout *callout; struct cblock *cfree; -struct buf *buf, *swbuf; +struct buf *swbuf; char *buffers; /* |
