summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2013-04-26 11:51:23 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2013-04-26 11:51:23 +0000
commitfdce3db8e91d660f56c148b4340f76625a7e2f3a (patch)
tree9a8cd3efd6e728f323aa6f5382abcff8fee39ad8
parent65c3dca0c7d3e0d6ead2864e804408a0c77d0dee (diff)
ARMv7 userland uses a single domain. This define is already used in pmap7.
ok bmercer@
-rw-r--r--sys/arch/arm/include/pmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm/include/pmap.h b/sys/arch/arm/include/pmap.h
index ca2f2f1f676..b304b784a3b 100644
--- a/sys/arch/arm/include/pmap.h
+++ b/sys/arch/arm/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.21 2011/11/05 18:11:26 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.22 2013/04/26 11:51:22 patrick Exp $ */
/* $NetBSD: pmap.h,v 1.76 2003/09/06 09:10:46 rearnsha Exp $ */
/*
@@ -443,6 +443,7 @@ extern void (*pmap_zero_page_func)(struct vm_page *);
*/
#define PMAP_DOMAINS 15 /* 15 'user' domains (0-14) */
#define PMAP_DOMAIN_KERNEL 15 /* The kernel uses domain #15 */
+#define PMAP_DOMAIN_USER_V7 0 /* V7 Userland uses a single domain */
/*
* These macros define the various bit masks in the PTE.