From 98fa920cd519a461bb15b9a966b79df86f036f15 Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 29 Mar 2012 16:51:22 +0000 Subject: - 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. --- sys/amd64/include/vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/amd64') 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 -- cgit v1.1