aboutsummaryrefslogtreecommitdiff
path: root/core/kernel
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2021-05-12 08:11:43 +0200
committerJérôme Forissier <jerome@forissier.org>2021-06-23 10:16:17 +0200
commit27c649258feac14983d97f07fb7247a67726d0e8 (patch)
tree69a1e41df2dfa6489083d86a319471564433a891 /core/kernel
parent7b4c4c8133fbf6bfd57739bebeb3f2276befb7c5 (diff)
core: use separate sections for each __rodata_unpaged variable
Adds a mandatory argument to the macro __rodata_unpaged() to take the name of the variable to put in the unpaged rodata section. This will result in separate sections for each such variable and make it easier to debug the pruning of the dependency tree for unpaged sections. Reviewed-by: Jerome Forissier <jerome@forissier.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/kernel')
-rw-r--r--core/kernel/user_ta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/kernel/user_ta.c b/core/kernel/user_ta.c
index 605ccc87..9e5f483f 100644
--- a/core/kernel/user_ta.c
+++ b/core/kernel/user_ta.c
@@ -370,7 +370,7 @@ static uint32_t user_ta_get_instance_id(struct ts_ctx *ctx)
return to_user_ta_ctx(ctx)->uctx.vm_info.asid;
}
-static const struct ts_ops user_ta_ops __rodata_unpaged = {
+static const struct ts_ops user_ta_ops __rodata_unpaged("user_ta_ops") = {
.enter_open_session = user_ta_enter_open_session,
.enter_invoke_cmd = user_ta_enter_invoke_cmd,
.enter_close_session = user_ta_enter_close_session,