Use VM_MEMATTR_UNCACHEABLE for the constant for UC memory rather than
VM_MEMATTR_UNCACHED. VM_MEMATTR_UNCACHEABLE is the constant other platforms use. MFC after: 2 weeks
This commit is contained in:
parent
a53e0df1d7
commit
5e1a7cc71e
@ -32,7 +32,7 @@
|
||||
#include <machine/pte.h>
|
||||
|
||||
/* Memory attributes. */
|
||||
#define VM_MEMATTR_UNCACHED ((vm_memattr_t)PTE_C_UNCACHED)
|
||||
#define VM_MEMATTR_UNCACHEABLE ((vm_memattr_t)PTE_C_UNCACHED)
|
||||
#define VM_MEMATTR_DEFAULT ((vm_memattr_t)PTE_C_CACHE)
|
||||
|
||||
#endif /* !_MACHINE_VM_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user