summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2014-12-30 16:11:42 +0000
committerDan Handley <dan.handley@arm.com>2015-01-22 10:57:43 +0000
commit5b1cd43bc1b69b8a6df251b9e54591f2405f5e0c (patch)
tree3766ea3611faa76f910e4a1c3cc5336cbc12e462 /include/lib
parentd4f4ad90f9fe754bc098bbb392ba780e5a1bb0b3 (diff)
Add macros for domain specific barriers.
This patch adds helper macros for barrier operations that specify the type of barrier (dmb, dsb) and the shareability domain (system, inner-shareable) it affects. Change-Id: I4bf95103e79da212c4fbdbc13d91ad8ac385d9f5
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/aarch64/arch_helpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/lib/aarch64/arch_helpers.h b/include/lib/aarch64/arch_helpers.h
index 7320a0af..7d24a537 100644
--- a/include/lib/aarch64/arch_helpers.h
+++ b/include/lib/aarch64/arch_helpers.h
@@ -175,6 +175,9 @@ DEFINE_SYSOP_FUNC(wfi)
DEFINE_SYSOP_FUNC(wfe)
DEFINE_SYSOP_FUNC(sev)
DEFINE_SYSOP_TYPE_FUNC(dsb, sy)
+DEFINE_SYSOP_TYPE_FUNC(dmb, sy)
+DEFINE_SYSOP_TYPE_FUNC(dsb, ish)
+DEFINE_SYSOP_TYPE_FUNC(dmb, ish)
DEFINE_SYSOP_FUNC(isb)
uint32_t get_afflvl_shift(uint32_t);