summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-02-05 01:10:45 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-02-05 01:10:45 +0000
commit74f276ec4910fc7e6bcd3162c3804bd97011549a (patch)
tree569c027ab4d105ce93e6e313702e70601044f75e
parent313c597b50468ead61d9fe90b33a6175b70f43f0 (diff)
Add some (currently unused) MD pmap flags to be used for pushing in
parameters such as cacheability, which is too different per-arch to be MI. discussed with miod, kettenis and art. ok miod@, art@.
-rw-r--r--sys/uvm/uvm_pmap.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/uvm/uvm_pmap.h b/sys/uvm/uvm_pmap.h
index 8f1a1e71198..10a9c372f83 100644
--- a/sys/uvm/uvm_pmap.h
+++ b/sys/uvm/uvm_pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pmap.h,v 1.19 2007/09/10 18:49:45 miod Exp $ */
+/* $OpenBSD: uvm_pmap.h,v 1.20 2009/02/05 01:10:44 oga Exp $ */
/* $NetBSD: uvm_pmap.h,v 1.1 2000/06/27 09:00:14 mrg Exp $ */
/*
@@ -92,6 +92,10 @@ typedef struct pmap_statistics *pmap_statistics_t;
*/
#define PMAP_WIRED 0x00000010 /* wired mapping */
#define PMAP_CANFAIL 0x00000020 /* can fail if resource shortage */
+#define PMAP_MD0 0x00000040 /* Machine dependant */
+#define PMAP_MD1 0x00000080 /* Machine dependant */
+#define PMAP_MD2 0x00000100 /* Machine dependant */
+#define PMAP_MD3 0x00000200 /* Machine dependant */
#ifndef PMAP_EXCLUDE_DECLS /* Used in Sparc port to virtualize pmap mod */
#ifdef _KERNEL