summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include/pmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/include/pmap.h')
-rw-r--r--sys/arch/vax/include/pmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/vax/include/pmap.h b/sys/arch/vax/include/pmap.h
index 870776d4a5e..a4f22ce6e01 100644
--- a/sys/arch/vax/include/pmap.h
+++ b/sys/arch/vax/include/pmap.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.16 1996/04/08 18:35:51 ragge Exp $ */
+/* $NetBSD: pmap.h,v 1.17 1996/07/20 17:58:22 ragge Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@@ -85,6 +85,7 @@ typedef struct pv_entry {
/* ROUND_PAGE used before vm system is initialized */
#define ROUND_PAGE(x) (((uint)(x) + PAGE_SIZE-1)& ~(PAGE_SIZE - 1))
+#define TRUNC_PAGE(x) ((uint)(x) & ~(PAGE_SIZE - 1))
/* Mapping macros used when allocating SPT */
#define MAPVIRT(ptr, count) \