diff options
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r-- | sys/arch/vax/include/param.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/vax/include/param.h b/sys/arch/vax/include/param.h index ea94b91ea62..6c0d5046f6a 100644 --- a/sys/arch/vax/include/param.h +++ b/sys/arch/vax/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.15 2001/05/09 15:31:27 art Exp $ */ +/* $OpenBSD: param.h,v 1.16 2001/05/10 22:46:52 miod Exp $ */ /* $NetBSD: param.h,v 1.39 1999/10/22 21:14:34 ragge Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -71,6 +71,10 @@ #define NBPG (1 << PGSHIFT) /* (1 << PGSHIFT) bytes/page */ #define PGOFSET (NBPG - 1) /* byte offset into page */ +#define PAGE_SHIFT 12 +#define PAGE_SIZE (1 << PAGE_SHIFT) +#define PAGE_MASK (PAGE_SHIFT - 1) + #define VAX_PGSHIFT 9 #define VAX_NBPG (1 << VAX_PGSHIFT) #define VAX_PGOFSET (VAX_NBPG - 1) |