14 ERROR_MSG(
"Security violation when calling secure API");
19 int32_t arg1, int32_t arg2, int32_t arg3, int32_t arg4)
21 int32_t args[4] = {arg1, arg2, arg3, arg4};
void tfm_secure_api_error_handler(void)
int32_t(* sfn_t)(int32_t, int32_t, int32_t, int32_t)
int32_t tfm_core_sfn_request(const struct tfm_sfn_req_s *desc_ptr)
int32_t tfm_core_partition_request(uint32_t id, bool is_ns, void *fn, int32_t arg1, int32_t arg2, int32_t arg3, int32_t arg4)
__STATIC_INLINE uint32_t __get_active_exc_num(void)
void tfm_core_panic(void)
int32_t tfm_spm_sfn_request_thread_mode(struct tfm_sfn_req_s *desc_ptr)
#define EXC_NUM_THREAD_MODE