summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/include/param.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-05 20:57:05 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-05 20:57:05 +0000
commit368552036fe6029364e1abc2351955db681286fc (patch)
treeb3e9a57702ccbbcd0869d57d84ba28c1e1033e05 /sys/arch/mvme68k/include/param.h
parente64b8c0b9c88452904cfa97be25cfec4e21e04ce (diff)
Get rid of CLSIZE and all related stuff.
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
Diffstat (limited to 'sys/arch/mvme68k/include/param.h')
-rw-r--r--sys/arch/mvme68k/include/param.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/arch/mvme68k/include/param.h b/sys/arch/mvme68k/include/param.h
index 6146d846670..c8c98e90a3e 100644
--- a/sys/arch/mvme68k/include/param.h
+++ b/sys/arch/mvme68k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.8 2000/02/22 19:27:53 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.9 2001/05/05 20:56:44 art Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -77,10 +77,6 @@
#define BLKDEV_IOSIZE 2048
#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */
-#define CLSIZELOG2 0
-#define CLSIZE (1 << CLSIZELOG2)
-
-/* NOTE: SSIZE, SINCR and UPAGES must be multiples of CLSIZE */
#define SSIZE 1 /* initial stack size/NBPG */
#define SINCR 1 /* increment of stack/NBPG */
#define UPAGES 2 /* pages of u-area */
@@ -88,7 +84,7 @@
/*
* Constants related to network buffer management.
- * MCLBYTES must be no larger than CLBYTES (the software page size), and,
+ * MCLBYTES must be no larger than the software page size, and,
* on machines that exchange pages of input or output buffers with mbuf
* clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
* of the hardware page size.
@@ -109,10 +105,10 @@
#define MSGBUFSIZE 4096
/*
- * Size of kernel malloc arena in CLBYTES-sized logical pages
+ * Size of kernel malloc arena in logical pages
*/
#ifndef NKMEMCLUSTERS
-#define NKMEMCLUSTERS (2048 * 1024 / CLBYTES)
+#define NKMEMCLUSTERS (2048 * 1024 / PAGE_SIZE)
#endif
/* pages ("clicks") to disk blocks */