Module Name: src
Committed By: uebayasi
Date: Tue Apr 27 06:33:24 UTC 2010
Modified Files:
src/sys/uvm [uebayasi-xip]: uvm_pmap.h
Log Message:
Introduce PMAP_UNCACHEABLE, a flag to tell pmap_enter(9) to enter a H/W
mapping as cache disabled, even for managed memory and device pages.
(In the long run, we should pass more explicit control from UVM rather
than the current way that pmap(9) checks if a given paddr_t is managed
(== contained in one of struct vm_physseg [] arrays).)
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.32.2.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.32 src/sys/uvm/uvm_pmap.h:1.32.2.1
--- src/sys/uvm/uvm_pmap.h:1.32 Sat Nov 7 07:27:50 2009
+++ src/sys/uvm/uvm_pmap.h Tue Apr 27 06:33:23 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pmap.h,v 1.32 2009/11/07 07:27:50 cegger Exp $ */
+/* $NetBSD: uvm_pmap.h,v 1.32.2.1 2010/04/27 06:33:23 uebayasi Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -108,6 +108,7 @@
#else
#define PMAP_KMPAGE 0x00000000
#endif /* PMAP_ENABLE_PMAP_KMPAGE */
+#define PMAP_UNCACHEABLE 0x00000080 /* disable cache for managed pages */
#define PMAP_MD_MASK 0xff000000 /* Machine-dependent bits */