16 #ifdef TFM_MULTI_CORE_TOPOLOGY
20 #include "cmsis_compiler.h"
27 #define TFM_RPC_SUCCESS (0)
28 #define TFM_RPC_INVAL_PARAM (INT32_MIN + 1)
29 #define TFM_RPC_CONFLICT_CALLBACK (INT32_MIN + 2)
35 struct client_call_params_t {
57 struct tfm_rpc_ops_t {
58 void (*handle_req)(void);
59 void (*reply)(
const void *owner, int32_t ret);
60 const void * (*get_caller_data)(int32_t client_id);
211 #define is_tfm_rpc_msg(x) (false)
213 #define tfm_rpc_client_call_handler() do {} while (0)
215 #define tfm_rpc_client_call_reply(owner, ret) do {} while (0)
217 #define tfm_rpc_set_caller_data(msg, client_id) do {} while (0)
psa_status_t tfm_rpc_psa_connect(const struct client_call_params_t *params, bool ns_caller)
psa_status_t tfm_rpc_psa_call(const struct client_call_params_t *params, bool ns_caller)
void tfm_rpc_psa_close(const struct client_call_params_t *params, bool ns_caller)
#define is_tfm_rpc_msg(x)
uint32_t tfm_rpc_psa_framework_version(void)
#define tfm_rpc_client_call_handler()
struct tfm_core_thread_t * owner
void tfm_rpc_unregister_ops(void)
int32_t tfm_rpc_register_ops(const struct tfm_rpc_ops_t *ops_ptr)
#define tfm_rpc_set_caller_data(msg, client_id)
uint32_t tfm_rpc_psa_version(const struct client_call_params_t *params, bool ns_caller)
struct tfm_event_t ack_evnt
int32_t psa_status_t
Function return status.
#define tfm_rpc_client_call_reply(owner, ret)