Core: Add veneer for registering NS client id
Change-Id: I4b8d826ca1b7f07dcbc2e82e10bd11cee01da1fc
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
diff --git a/interface/include/tfm_api.h b/interface/include/tfm_api.h
index 64a9447..c450c7c 100644
--- a/interface/include/tfm_api.h
+++ b/interface/include/tfm_api.h
@@ -12,6 +12,8 @@
extern "C" {
#endif
+#include <stdint.h>
+
/* FixMe: sort out DEBUG compile option and limit return value options
* on external interfaces */
/* Note:
@@ -39,7 +41,17 @@
//==================== Secure function declarations ==========================//
-/* Placeholder for secure function declarations defined by TF-M in the future */
+/**
+ * \brief Assign client ID to the current TZ context
+ *
+ * \param[in] ns_client_id The client ID to be assigned to the current
+ * context
+ * \return TFM_SUCCESS if the client ID assigned successfully, an error code
+ * according to \ref tfm_status_e in case of error.
+ *
+ * \note This function have to be called from handler mode.
+ */
+enum tfm_status_e tfm_register_client_id (int32_t ns_client_id);
//================ End Secure function declarations ==========================//