Module Name: src
Committed By: cegger
Date: Sat Apr 18 08:48:47 UTC 2009
Modified Files:
src/sys/uvm: uvm_pmap.h
Log Message:
Introduce PMAP_MD_MASK. Reserves PMAP bits for use in MD code.
Presented on tech-kern@, port-i386@ and port-amd64@
ok ad@
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/uvm/uvm_pmap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_pmap.h
diff -u src/sys/uvm/uvm_pmap.h:1.25 src/sys/uvm/uvm_pmap.h:1.26
--- src/sys/uvm/uvm_pmap.h:1.25 Wed Dec 10 11:10:20 2008
+++ src/sys/uvm/uvm_pmap.h Sat Apr 18 08:48:47 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pmap.h,v 1.25 2008/12/10 11:10:20 pooka Exp $ */
+/* $NetBSD: uvm_pmap.h,v 1.26 2009/04/18 08:48:47 cegger Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -99,6 +99,9 @@
*/
#define PMAP_WIRED 0x00000010 /* wired mapping */
#define PMAP_CANFAIL 0x00000020 /* can fail if resource shortage */
+
+#define PMAP_MD_MASK 0x0000ff00 /* Machine-dependent bits */
+
/*
* Flags passed to pmap_kenter_pa(). Note the bottom 3 bits are VM_PROT_*
* bits, used to indicate the access type.