SPM: tfm_get_caller_client_id() optimisation
Optimise tfm_get_caller_client_id() secure API for Library model
in LEVEL 1. This reduces the number of SVC calls in a workload
like the Regression test.
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: If0ce614de2a1e37b4da0369661ab2e4c4c179b7c
diff --git a/secure_fw/spm/include/tfm_secure_api.h b/secure_fw/spm/include/tfm_secure_api.h
index 0fa9cc9..21c988b 100644
--- a/secure_fw/spm/include/tfm_secure_api.h
+++ b/secure_fw/spm/include/tfm_secure_api.h
@@ -86,7 +86,7 @@
bool ns_caller;
};
-extern int32_t tfm_core_get_caller_client_id(int32_t *caller_client_id);
+enum tfm_status_e tfm_core_get_caller_client_id(int32_t *caller_client_id);
int32_t tfm_core_sfn_request(const struct tfm_sfn_req_s *desc_ptr);