From 4df764d30be25aed4557e4d2672f02bf5b72b2fc Mon Sep 17 00:00:00 2001 From: Etienne Carriere Date: Mon, 25 Feb 2019 14:50:00 +0100 Subject: 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 Reviewed-by: Jens Wiklander --- core/include/kernel/tee_ta_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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 */ -- cgit v1.2.3