diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-22 15:53:17 +0000 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-26 09:06:52 +0000 |
commit | 932b3ae2324780b6ecdf0ca00147ef90a1854911 (patch) | |
tree | 4f175dd9f91b938454ae06bf98c26bdb7972a2c8 /include/lib/utils_def.h | |
parent | c4cdd9e464b36944e6b274b141ebea36828bc136 (diff) |
Synchronise arch.h and arch_helpers.h with TF-A-Tests
The headers forked at some point in the past and have diverged a lot. In
order to make it easier to share code between TF-A-Tests and TF-A, this
patch synchronises most of the definitions in the mentioned headers.
This is not a complete sync, it has to be followed by more cleanup.
This patch also removes the read helpers for the AArch32 instructions
ats1cpr and ats1hr (they are write-only).
Change-Id: Id13ecd7aeb83bd2318cd47156d71a42f1c9f6ba2
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include/lib/utils_def.h')
-rw-r--r-- | include/lib/utils_def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lib/utils_def.h b/include/lib/utils_def.h index fa13caa6..02963ac5 100644 --- a/include/lib/utils_def.h +++ b/include/lib/utils_def.h @@ -160,5 +160,6 @@ */ #define ASSERT_SYM_PTR_ALIGN(sym) assert(((size_t)(sym) % __alignof__(*(sym))) == 0) +#define COMPILER_BARRIER() __asm__ volatile ("" ::: "memory") #endif /* UTILS_DEF_H */ |