summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/vmparam.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/i386/include/vmparam.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/i386/include/vmparam.h')
-rw-r--r--sys/arch/i386/include/vmparam.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/include/vmparam.h b/sys/arch/i386/include/vmparam.h
index a8dd350ef77..762aa954d50 100644
--- a/sys/arch/i386/include/vmparam.h
+++ b/sys/arch/i386/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.16 2001/03/22 23:36:52 niklas Exp $ */
+/* $OpenBSD: vmparam.h,v 1.17 2001/05/05 20:56:39 art Exp $ */
/* $NetBSD: vmparam.h,v 1.15 1994/10/27 04:16:34 cgd Exp $ */
/*-
@@ -56,7 +56,7 @@
* Immediately after the user structure is the page table map, and then
* kernal address space.
*/
-#define USRTEXT CLBYTES
+#define USRTEXT PAGE_SIZE
#define USRSTACK VM_MAXUSER_ADDRESS
/*
@@ -145,8 +145,8 @@
/* virtual sizes (bytes) for various kernel submaps */
#define VM_MBUF_SIZE (NMBCLUSTERS*MCLBYTES)
-#define VM_KMEM_SIZE (NKMEMCLUSTERS*CLBYTES)
-#define VM_PHYS_SIZE (USRIOSIZE*CLBYTES)
+#define VM_KMEM_SIZE (NKMEMCLUSTERS*PAGE_SIZE)
+#define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE)
#define MACHINE_NEW_NONCONTIG /* VM <=> pmap interface modifier */