summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/include
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-02-17 19:14:59 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-02-17 19:14:59 +0000
commit2f8b48b0c535e9921061758b5242152585482117 (patch)
tree18c0239b3e998541c6cd1338ee838de952760e62 /sys/arch/arm64/include
parent3155769ea33b4b14c776c4543e6d9c7b7a63a6ec (diff)
Use a proper memory attribute for write-through instead of reusing
the nocache attribute.
Diffstat (limited to 'sys/arch/arm64/include')
-rw-r--r--sys/arch/arm64/include/pte.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm64/include/pte.h b/sys/arch/arm64/include/pte.h
index 78bb2588eb2..7aeffb4ec9a 100644
--- a/sys/arch/arm64/include/pte.h
+++ b/sys/arch/arm64/include/pte.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pte.h,v 1.2 2017/02/03 09:47:26 patrick Exp $ */
+/* $OpenBSD: pte.h,v 1.3 2017/02/17 19:14:58 patrick Exp $ */
/*
* Copyright (c) 2014 Dale Rahn <drahn@dalerahn.com>
*
@@ -56,6 +56,7 @@
#define PTE_ATTR_DEV 0
#define PTE_ATTR_CI 1
#define PTE_ATTR_WB 2
+#define PTE_ATTR_WT 3
#define SH_INNER 3