Module Name:    src
Committed By:   matt
Date:           Sat Feb 15 10:18:33 UTC 2014

Modified Files:
        src/sys/uvm [matt-nb5-mips64]: uvm_pmap.h

Log Message:
Add PMAP_NOCACHE + others.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.23.10.1 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.23 src/sys/uvm/uvm_pmap.h:1.23.10.1
--- src/sys/uvm/uvm_pmap.h:1.23	Wed Jul 16 14:33:09 2008
+++ src/sys/uvm/uvm_pmap.h	Sat Feb 15 10:18:33 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_pmap.h,v 1.23 2008/07/16 14:33:09 matt Exp $	*/
+/*	$NetBSD: uvm_pmap.h,v 1.23.10.1 2014/02/15 10:18:33 matt Exp $	*/
 
 /*
  * Copyright (c) 1991, 1993
@@ -86,6 +86,9 @@ typedef struct pmap_statistics	*pmap_sta
 #include <machine/pmap.h>
 #endif
 
+/* All accesses are uncacheable. No speculative accesses. */
+#define PMAP_NOCACHE	0x00000100	/* [BOTH] */
+
 /*
  * Flags passed to pmap_enter().  Note the bottom 3 bits are VM_PROT_*
  * bits, used to indicate the access type that was made (to seed modified
@@ -101,6 +104,10 @@ typedef struct pmap_statistics	*pmap_sta
 #define	PMAP_KMPAGE	0x00000000	/* this is from the kmem allocator */
 #endif
 
+#define PMAP_MD_MASK	0xff000000	/* [BOTH] Machine-dependent bits */
+#define PMAP_PROT_MASK	0x0000000f	/* [BOTH] VM_PROT_* bit mask */
+
+
 #ifndef PMAP_EXCLUDE_DECLS	/* Used in Sparc port to virtualize pmap mod */
 #ifdef _KERNEL
 __BEGIN_DECLS

Reply via email to