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
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __TFM_MULTI_CORE_API__
9 #define __TFM_MULTI_CORE_API__
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #include <stdint.h>
16 
26 int32_t tfm_ns_wait_for_s_cpu_ready(void);
27 
38 
46 uint32_t tfm_ns_multi_core_lock_acquire(void);
47 
55 uint32_t tfm_ns_multi_core_lock_release(void);
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif /* __TFM_MULTI_CORE_API__ */
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.
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...
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...
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...