summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/arc/include/pte.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arc/include/pte.h b/sys/arch/arc/include/pte.h
index 5ef6c626fd4..6e2fdabbbd9 100644
--- a/sys/arch/arc/include/pte.h
+++ b/sys/arch/arc/include/pte.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pte.h,v 1.2 1996/09/04 21:18:24 pefo Exp $ */
+/* $OpenBSD: pte.h,v 1.3 1997/01/22 22:41:15 pefo Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -105,6 +105,7 @@ typedef union pt_entry {
#define PG_IOPAGE (PG_G | PG_V | PG_M | PG_UNCACHED)
#define PG_FRAME 0x3fffffc0
#define PG_SHIFT 6
+#define pfn_is_ext(x) ((x) & 0x3c000000)
#define vad_to_pfn(x) (((unsigned)(x) >> PG_SHIFT) & PG_FRAME)
#define vad_to_pfn64(x) (((quad_t)(x) >> PG_SHIFT) & PG_FRAME)
#define pfn_to_vad(x) (((x) & PG_FRAME) << PG_SHIFT)