summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/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/hppa/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/hppa/include/param.h')
-rw-r--r--sys/arch/hppa/include/param.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h
index c096f1df584..473fdfb4639 100644
--- a/sys/arch/hppa/include/param.h
+++ b/sys/arch/hppa/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.10 2001/02/16 19:17:24 mickey Exp $ */
+/* $OpenBSD: param.h,v 1.11 2001/05/05 20:56:37 art Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -67,10 +67,6 @@
#define MACHINE_STACK_GROWS_UP 1 /* stack grows to higher addresses */
-#define CLSIZE 1
-#define CLSIZELOG2 0
-
-/* NOTE: SSIZE, SINCR and UPAGES must be multiples of CLSIZE */
#define SSIZE (1) /* initial stack size/NBPG */
#define SINCR (1) /* increment of stack/NBPG */
@@ -85,7 +81,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.
@@ -99,10 +95,10 @@
#endif
/*
- * Size of kernel malloc arena in CLBYTES-sized logical pages
+ * Size of kernel malloc arena in logical pages
*/
#ifndef NKMEMCLUSTERS
-#define NKMEMCLUSTERS (16 * 1024 * 1024 / CLBYTES)
+#define NKMEMCLUSTERS (16 * 1024 * 1024 / PAGE_SIZE)
#endif
/* pages ("clicks") (4096 bytes) to disk blocks */