aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/include/csan.h
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2019-11-21 13:22:23 +0000
committerAndrew Turner <andrew@FreeBSD.org>2019-11-21 13:22:23 +0000
commit68cad681496af17482fdd4d9cb71d48fa85e605c (patch)
treec8fc46a02da2542c8972c6a8212d8e2542ab3e32 /sys/arm64/include/csan.h
parentbba0065f0d6d5d18d07f4b7f95fadc322c106c34 (diff)
downloadsrc-68cad681496af17482fdd4d9cb71d48fa85e605c.tar.gz
src-68cad681496af17482fdd4d9cb71d48fa85e605c.zip
Add kcsan_md_unsupported from NetBSD.
It's used to ignore virtual addresses that may have a different physical address depending on the CPU. Sponsored by: DARPA, AFRL
Notes
Notes: svn path=/head/; revision=354947
Diffstat (limited to 'sys/arm64/include/csan.h')
-rw-r--r--sys/arm64/include/csan.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/arm64/include/csan.h b/sys/arm64/include/csan.h
index ddcd5972d06f..bace3866eb66 100644
--- a/sys/arm64/include/csan.h
+++ b/sys/arm64/include/csan.h
@@ -36,6 +36,12 @@
#include <machine/vmparam.h>
static inline bool
+kcsan_md_unsupported(vm_offset_t addr)
+{
+ return false;
+}
+
+static inline bool
kcsan_md_is_avail(void)
{
return true;