summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_page.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-03-21 21:39:37 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-03-21 21:39:37 +0000
commit57bc6cc4323fa81fea8daebe464192763080ded1 (patch)
treeb9aa9f60a7008abd970afa0a9c86fba0d7e443d5 /sys/uvm/uvm_page.h
parentc8c7123fd02a9c573056292408114c9a2bab640f (diff)
Allow for two more pmap-specific bits in vm_page pg_flags. Define
PG_PMAPMASK as all the possible pmap-specific bits (similar to the other PG_fooMASK) to make sure MI code does not need to be updated, the next time more bits are allocated to greedy pmaps. No functional change, soon to be used by the (greedy) mips64 pmap.
Diffstat (limited to 'sys/uvm/uvm_page.h')
-rw-r--r--sys/uvm/uvm_page.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/uvm/uvm_page.h b/sys/uvm/uvm_page.h
index 06df8260523..4fe6fdb7ab2 100644
--- a/sys/uvm/uvm_page.h
+++ b/sys/uvm/uvm_page.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.h,v 1.52 2014/01/23 22:06:30 miod Exp $ */
+/* $OpenBSD: uvm_page.h,v 1.53 2014/03/21 21:39:36 miod Exp $ */
/* $NetBSD: uvm_page.h,v 1.19 2000/12/28 08:24:55 chs Exp $ */
/*
@@ -173,6 +173,9 @@ struct vm_page {
#define PG_PMAP1 0x02000000 /* Used by some pmaps. */
#define PG_PMAP2 0x04000000 /* Used by some pmaps. */
#define PG_PMAP3 0x08000000 /* Used by some pmaps. */
+#define PG_PMAP4 0x10000000 /* Used by some pmaps. */
+#define PG_PMAP5 0x20000000 /* Used by some pmaps. */
+#define PG_PMAPMASK 0x3f000000
/*
* physical memory layout structure