Skip to content

Commit 39964dc

Browse files
committed
TFM: Fix undeclared function tfm_ns_interface_init
ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1 parent baf6a30 commit 39964dc

File tree

1 file changed

+12
-0
lines changed
  • platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/include

1 file changed

+12
-0
lines changed

platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/include/tfm_ns_interface.h

+12
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ int32_t tfm_ns_interface_dispatch(veneer_fn fn,
4343
uint32_t arg0, uint32_t arg1,
4444
uint32_t arg2, uint32_t arg3);
4545

46+
/**
47+
* \brief NS interface, Initialise the NS interface
48+
*
49+
* \details This function needs to be called from the NS world to
50+
* properly initialise the NS interface towards TF-M. This
51+
* function will initialise all the objects required for
52+
* runtime dispatching of TF-M requests to services
53+
*
54+
* \return A value according to \ref enum tfm_status_e
55+
*/
56+
enum tfm_status_e tfm_ns_interface_init(void);
57+
4658
#ifdef __cplusplus
4759
}
4860
#endif

0 commit comments

Comments
 (0)