diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-05 20:57:05 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-05 20:57:05 +0000 |
commit | 368552036fe6029364e1abc2351955db681286fc (patch) | |
tree | b3e9a57702ccbbcd0869d57d84ba28c1e1033e05 /sys/arch/amiga/include | |
parent | e64b8c0b9c88452904cfa97be25cfec4e21e04ce (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/amiga/include')
-rw-r--r-- | sys/arch/amiga/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/amiga/include/vmparam.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/amiga/include/param.h b/sys/arch/amiga/include/param.h index 12da70cf30b..3673a2a8c92 100644 --- a/sys/arch/amiga/include/param.h +++ b/sys/arch/amiga/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.11 2000/02/22 19:27:43 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.12 2001/05/05 20:56:33 art Exp $ */ /* $NetBSD: param.h,v 1.35 1997/07/10 08:22:36 veego Exp $ */ /* @@ -69,10 +69,10 @@ #define NPTEPG (NBPG/(sizeof (pt_entry_t))) /* - * Size of kernel malloc arena in CLBYTES-sized logical pages + * Size of kernel malloc arena in logical pages */ #ifndef NKMEMCLUSTERS -#define NKMEMCLUSTERS (3072 * 1024 / CLBYTES) +#define NKMEMCLUSTERS (3072 * 1024 / PAGE_SIZE) #endif #define MSGBUFSIZE 8192 diff --git a/sys/arch/amiga/include/vmparam.h b/sys/arch/amiga/include/vmparam.h index 3ad186e1aa1..d29ee5be68b 100644 --- a/sys/arch/amiga/include/vmparam.h +++ b/sys/arch/amiga/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.9 2000/12/15 15:18:36 art Exp $ */ +/* $OpenBSD: vmparam.h,v 1.10 2001/05/05 20:56:33 art Exp $ */ /* $NetBSD: vmparam.h,v 1.16 1997/07/12 16:18:36 perry Exp $ */ /* @@ -162,8 +162,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 |