diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libutee/arch/arm/user_ta_entry.c | 5 | ||||
-rw-r--r-- | lib/libutee/tee_api_private.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/libutee/arch/arm/user_ta_entry.c b/lib/libutee/arch/arm/user_ta_entry.c index 88559dc2..b0ca0138 100644 --- a/lib/libutee/arch/arm/user_ta_entry.c +++ b/lib/libutee/arch/arm/user_ta_entry.c @@ -182,7 +182,7 @@ static TEE_Result entry_invoke_command(unsigned long session_id, return res; } -void __noreturn __utee_entry(unsigned long func, unsigned long session_id, +TEE_Result __utee_entry(unsigned long func, unsigned long session_id, struct utee_params *up, unsigned long cmd_id) { TEE_Result res; @@ -211,5 +211,6 @@ void __noreturn __utee_entry(unsigned long func, unsigned long session_id, break; } ta_header_save_params(0, NULL); - utee_return(res); + + return res; } diff --git a/lib/libutee/tee_api_private.h b/lib/libutee/tee_api_private.h index d9c27952..336a239b 100644 --- a/lib/libutee/tee_api_private.h +++ b/lib/libutee/tee_api_private.h @@ -18,7 +18,7 @@ void __utee_from_param(struct utee_params *up, uint32_t param_types, void __utee_to_param(TEE_Param params[TEE_NUM_PARAMS], uint32_t *param_types, const struct utee_params *up); -void __utee_entry(unsigned long func, unsigned long session_id, +TEE_Result __utee_entry(unsigned long func, unsigned long session_id, struct utee_params *up, unsigned long cmd_id); |