aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2019-02-25 14:50:00 +0100
committerJérôme Forissier <jerome.forissier@linaro.org>2019-02-25 17:51:40 +0100
commit4df764d30be25aed4557e4d2672f02bf5b72b2fc (patch)
tree8fbfc38ce653140bd0c38460774a5b02d4384367 /core
parent42461166ec5dc1bfd0124acd73ba53dcd962611d (diff)
core: add inline description of TEE session field user_ctx
Replace inline comment ??? with an appropriate description of the user_ctx field which points the the caller user TA context in case a pseudo TA is invoked from the user TA client. Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core')
-rw-r--r--core/include/kernel/tee_ta_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/kernel/tee_ta_manager.h b/core/include/kernel/tee_ta_manager.h
index 255c3d48..bfb39338 100644
--- a/core/include/kernel/tee_ta_manager.h
+++ b/core/include/kernel/tee_ta_manager.h
@@ -96,7 +96,7 @@ struct tee_ta_session {
bool cancel; /* True if TAF is cancelled */
bool cancel_mask; /* True if cancel is masked */
TEE_Time cancel_time; /* Time when to cancel the TAF */
- void *user_ctx; /* ??? */
+ void *user_ctx; /* Opaque session handle assigned by pTA */
uint32_t ref_count; /* reference counter */
struct condvar refc_cv; /* CV used to wait for ref_count to be 0 */
struct condvar lock_cv; /* CV used to wait for lock */