summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/vm.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-03-29 16:51:22 +0000
committerjhb <jhb@FreeBSD.org>2012-03-29 16:51:22 +0000
commit98fa920cd519a461bb15b9a966b79df86f036f15 (patch)
tree7cc06366966422b271fcd99947cc78471c614d3a /sys/amd64/include/vm.h
parent42c95c38919ca89dda8cabd3e43b847c44271613 (diff)
downloadFreeBSD-src-98fa920cd519a461bb15b9a966b79df86f036f15.zip
FreeBSD-src-98fa920cd519a461bb15b9a966b79df86f036f15.tar.gz
- Rename VM_MEMATTR_UNCACHED to VM_MEMATTR_WEAK_UNCACHEABLE on x86 to
be less ambiguous and more clearly identify what it means. This attribute is what Intel refers to as UC-, and it's only difference relative to normal UC memory is that a WC MTRR will override a UC- PAT entry causing the memory to be treated as WC, whereas a UC PAT entry will always override the MTRR. - Remove the VM_MEMATTR_UNCACHED alias from powerpc.
Diffstat (limited to 'sys/amd64/include/vm.h')
-rw-r--r--sys/amd64/include/vm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/vm.h b/sys/amd64/include/vm.h
index 4065a36..6573e37 100644
--- a/sys/amd64/include/vm.h
+++ b/sys/amd64/include/vm.h
@@ -38,7 +38,7 @@
#define VM_MEMATTR_WRITE_THROUGH ((vm_memattr_t)PAT_WRITE_THROUGH)
#define VM_MEMATTR_WRITE_PROTECTED ((vm_memattr_t)PAT_WRITE_PROTECTED)
#define VM_MEMATTR_WRITE_BACK ((vm_memattr_t)PAT_WRITE_BACK)
-#define VM_MEMATTR_UNCACHED ((vm_memattr_t)PAT_UNCACHED)
+#define VM_MEMATTR_WEAK_UNCACHEABLE ((vm_memattr_t)PAT_UNCACHED)
#define VM_MEMATTR_DEFAULT VM_MEMATTR_WRITE_BACK
OpenPOWER on IntegriCloud