Move the definition of MSGBUFSIZE up to the machine-arch level if

possible. Pointed out by Bernd Ernesti.
This commit is contained in:
leo 1997-09-20 12:06:37 +00:00
parent 8c389fd0c2
commit c5ba7a3102
6 changed files with 13 additions and 22 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.36 1997/09/19 13:53:10 leo Exp $ */
/* $NetBSD: param.h,v 1.37 1997/09/20 12:06:37 leo Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -74,10 +74,6 @@
# define NKMEMCLUSTERS (3072 * 1024 / CLBYTES)
#endif
#ifndef MSGBUFSIZE
#define MSGBUFSIZE NBPG /* default message buffer size */
#endif
/*
* spl functions; all are normally done in-line
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.24 1997/09/19 13:53:44 leo Exp $ */
/* $NetBSD: param.h,v 1.25 1997/09/20 12:06:52 leo Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -67,10 +67,6 @@
#define NPTEPG (NBPG/(sizeof (pt_entry_t)))
#ifndef MSGBUFSIZE
#define MSGBUFSIZE NBPG /* default message buffer size */
#endif
/*
* Size of kernel malloc arena in CLBYTES-sized logical pages
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.36 1997/09/19 13:54:06 leo Exp $ */
/* $NetBSD: param.h,v 1.37 1997/09/20 12:07:09 leo Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -69,10 +69,6 @@
#define NPTEPG (NBPG/(sizeof (pt_entry_t)))
#ifndef MSGBUFSIZE
#define MSGBUFSIZE NBPG /* default message buffer size */
#endif
/*
* Size of kernel malloc arena in CLBYTES-sized logical pages
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.3 1997/07/10 08:22:09 veego Exp $ */
/* $NetBSD: param.h,v 1.4 1997/09/20 12:07:31 leo Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -85,6 +85,10 @@
#define USPACE (UPAGES * NBPG)
#ifndef MSGBUFSIZE
#define MSGBUFSIZE NBPG /* default message buffer size */
#endif
/*
* Constants related to network buffer management.
* MCLBYTES must be no larger than CLBYTES (the software page size), and,

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.33 1997/09/19 13:54:32 leo Exp $ */
/* $NetBSD: param.h,v 1.34 1997/09/20 12:07:52 leo Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -103,10 +103,6 @@
#define NPTEPG (NBPG/(sizeof (pt_entry_t)))
#ifndef MSGBUFSIZE
#define MSGBUFSIZE NBPG /* default message buffer size */
#endif
/*
* Size of kernel malloc arena in CLBYTES-sized logical pages
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: mips_param.h,v 1.6 1997/08/20 03:47:17 jonathan Exp $ */
/* $NetBSD: mips_param.h,v 1.7 1997/09/20 12:08:06 leo Exp $ */
/*
* Architecture name.
@ -21,6 +21,9 @@
#define UVPN (UADDR>>PGSHIFT)/* virtual page number of u */
#define KERNELSTACK (UADDR+UPAGES*NBPG) /* top of kernel stack */
#ifndef MSGBUFSIZE
#define MSGBUFSIZE NBPG /* default message buffer size */
#endif
/*
* Round p (pointer or byte index) up to a correctly-aligned value for all