The specification uses a [ctx] specifier, which should, but is not required to
use const. Revert to using const to match existing code use cases.
Change-Id: Ied65fb18e0e5f7fd32cd5a5219fb5ccaf2895e21
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
return TEE_SUCCESS;
}
-void TA_CloseSessionEntryPoint(void *sess_ctx)
+void TA_CloseSessionEntryPoint(const void *sess_ctx)
{
(void)&sess_ctx;
LOG_FUNC();
return TEE_SUCCESS;
}
-TEE_Result TA_InvokeCommandEntryPoint(void *sess_ctx,
+TEE_Result TA_InvokeCommandEntryPoint(const void *sess_ctx,
uint32_t cmd_id,
uint32_t param_types,
TEE_Param params[4])
* @return his function can return no success or error code.
*
*/
-void TA_EXPORT TA_CloseSessionEntryPoint(void* sessionContext);
+void TA_EXPORT TA_CloseSessionEntryPoint(const void* sessionContext);
/**
* Invokes a command within the given sessionContext
* itself. In any case, the Implementation reports the error code to the client
* with the origin @ref TEEC_ORIGIN_TRUSTED_APP.
*/
-TEE_Result TA_EXPORT TA_InvokeCommandEntryPoint(void* sessionContext,
+TEE_Result TA_EXPORT TA_InvokeCommandEntryPoint(const void* sessionContext,
uint32_t commandID,
uint32_t paramTypes,
TEE_Param params[4]);