summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/include/param.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h
index 1d45f39ce11..64e7b766bc1 100644
--- a/sys/arch/powerpc/include/param.h
+++ b/sys/arch/powerpc/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.12 2001/01/24 21:17:25 drahn Exp $ */
+/* $OpenBSD: param.h,v 1.13 2001/02/07 06:03:53 drahn Exp $ */
/* $NetBSD: param.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */
/*-
@@ -54,6 +54,9 @@
#define PGSHIFT 12
#define NBPG 4096
#define PGOFSET (NBPG - 1)
+#define PAGE_SIZE NBPG
+#define PAGE_MASK PGOFSET
+#define PAGE_SHIFT PGSHIFT
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
#define DEV_BSIZE (1 << DEV_BSHIFT)