aboutsummaryrefslogtreecommitdiff
path: root/ta
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2018-04-05 16:37:28 +0200
committerjenswi-linaro-adm <jenswi-linaro-adm@users.noreply.github.com>2018-04-05 17:15:44 +0200
commit387b0ee39b1b8d5a8a0db68a0a4535d2d621342d (patch)
tree8f7ff6ca774b4be222a3e7e3e15f8605530ac247 /ta
parent027f050651f1729eac3c50ecd8e8d3941463bf51 (diff)
core: deprecate TA property flags EXEC_DDR and USER_MODE
TA property flags TA_FLAG_EXEC_DDR and TA_FLAG_USER_MODE were not really useful in the OP-TEE and now they are meaningless. Define the mask of flags a TA may pretend to and assert loaded TAs do not expect flags set outside of the defined supported bit flags. Fix gmon.h against duplicate round macros. Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'ta')
-rw-r--r--ta/arch/arm/user_ta_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ta/arch/arm/user_ta_header.c b/ta/arch/arm/user_ta_header.c
index 2027fc97..5fb78fc8 100644
--- a/ta/arch/arm/user_ta_header.c
+++ b/ta/arch/arm/user_ta_header.c
@@ -72,7 +72,7 @@ const struct ta_head ta_head __section(".ta_head") = {
* must be enlarged
*/
.stack_size = TA_STACK_SIZE + TA_FRAMEWORK_STACK_SIZE,
- .flags = TA_FLAG_USER_MODE | TA_FLAGS,
+ .flags = TA_FLAGS,
#ifdef __ILP32__
/*
* This workaround is neded on 32-bit because it seems we can't