aboutsummaryrefslogtreecommitdiff
path: root/core/tee
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2018-04-05 16:38:08 +0200
committerjenswi-linaro-adm <jenswi-linaro-adm@users.noreply.github.com>2018-04-05 17:15:44 +0200
commit35964dc977ab5f569544a119952043eaddc448db (patch)
treef07090a0bf310d13895b84c47a9b58d635f09745 /core/tee
parent387b0ee39b1b8d5a8a0db68a0a4535d2d621342d (diff)
core: minor cleanup related to pseudo TAs
tee_kta_trace.h is unused and useless. Reword "static TA" into "pseudo TA" in comments. 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 'core/tee')
-rw-r--r--core/tee/tee_svc.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/core/tee/tee_svc.c b/core/tee/tee_svc.c
index 1bfc5a9b..a40246e5 100644
--- a/core/tee/tee_svc.c
+++ b/core/tee/tee_svc.c
@@ -602,10 +602,7 @@ static TEE_Result tee_svc_copy_param(struct tee_ta_session *sess,
}
if (called_sess && is_pseudo_ta_ctx(called_sess->ctx)) {
- /*
- * static TA, borrow the mapping of the calling
- * during this call.
- */
+ /* pseudo TA borrows the mapping of the calling TA */
return TEE_SUCCESS;
}
@@ -805,9 +802,9 @@ TEE_Result syscall_open_ta_session(const TEE_UUID *dest,
goto function_exit;
/*
- * Find session of a multi session TA or a static TA
+ * Find session of a multi session TA or a pseudo TA.
* In such a case, there is no need to ask the supplicant for the TA
- * code
+ * code.
*/
res = tee_ta_open_session(&ret_o, &s, &utc->open_sessions, uuid,
clnt_id, cancel_req_to, param);