TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_multi_core_api.h File Reference
#include <stdint.h>
Include dependency graph for tfm_multi_core_api.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int32_t tfm_ns_wait_for_s_cpu_ready (void)
 Called on the non-secure CPU. Flags that the non-secure side has completed its initialization. Waits, if necessary, for the secure CPU to flag that it has completed its initialization. More...
 
int32_t tfm_platform_ns_wait_for_s_cpu_ready (void)
 Synchronisation with secure CPU, platform-specific implementation. Flags that the non-secure side has completed its initialization. Waits, if necessary, for the secure CPU to flag that it has completed its initialization. More...
 
uint32_t tfm_ns_multi_core_lock_acquire (void)
 Acquire the multi-core lock for synchronizing PSA client call(s) The actual implementation depends on the use scenario. More...
 
uint32_t tfm_ns_multi_core_lock_release (void)
 Release the multi-core lock for synchronizing PSA client call(s) The actual implementation depends on the use scenario. More...
 

Function Documentation

uint32_t tfm_ns_multi_core_lock_acquire ( void  )

Acquire the multi-core lock for synchronizing PSA client call(s) The actual implementation depends on the use scenario.

Returns
OS_WRAPPER_SUCCESS on success
OS_WRAPPER_ERROR on error

Definition at line 36 of file tfm_multi_core_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t tfm_ns_multi_core_lock_release ( void  )

Release the multi-core lock for synchronizing PSA client call(s) The actual implementation depends on the use scenario.

Returns
OS_WRAPPER_SUCCESS on success
OS_WRAPPER_ERROR on error

Definition at line 42 of file tfm_multi_core_api.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int32_t tfm_ns_wait_for_s_cpu_ready ( void  )

Called on the non-secure CPU. Flags that the non-secure side has completed its initialization. Waits, if necessary, for the secure CPU to flag that it has completed its initialization.

Returns
Return 0 if succeeds.
Otherwise, return specific error code.

Definition at line 31 of file tfm_multi_core_api.c.

Here is the call graph for this function:

int32_t tfm_platform_ns_wait_for_s_cpu_ready ( void  )

Synchronisation with secure CPU, platform-specific implementation. Flags that the non-secure side has completed its initialization. Waits, if necessary, for the secure CPU to flag that it has completed its initialization.

Return values
Return0 if succeeds.
Otherwise,returnspecific error code.

Here is the caller graph for this function: