aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2020-11-26 16:47:46 +0800
committerDavid Hu <david.hu@arm.com>2021-02-05 03:32:50 +0000
commitd597345eb4915d116e1344a8b963363b75f78e17 (patch)
tree6219ec6255f6c42933fd3820850b56474bad72b7 /cmake
parent62f05aabbd98c18b490a2381f72425b01c8470d0 (diff)
downloadtrusted-firmware-m-d597345eb4915d116e1344a8b963363b75f78e17.tar.gz
Dualcpu: Add a new NS mailbox working model with a dedicated thread
Support a new NS mailbox working model. When TFM_MULTI_CORE_NS_OS_MAILBOX_THREAD is selected, NS OS should allocate a dedicated NS mailbox thread to receive from requests from application threads and send mailbox messages to SPE. The new working model consists of the following features: - Define a request structure to collect paramters of application threads. - Pass request from application thread to the NS mailbox thread via RTOS message queue. - Assign application thread specific woken flag to enable threads to check woken status without SVC. - Remove the semaphores. When TFM_MULTI_CORE_NS_OS_MAILBOX_THREAD is disabled, the original NS mailbox working model will be selected. Also extract common parts from NS mailbox models. Change-Id: I8f2601c21ad112b10315748b13e5b09cd1f58b29 Signed-off-by: David Hu <david.hu@arm.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/install.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/install.cmake b/cmake/install.cmake
index ec2202755..ab6292a19 100644
--- a/cmake/install.cmake
+++ b/cmake/install.cmake
@@ -118,6 +118,8 @@ if (TFM_MULTI_CORE_TOPOLOGY)
${INTERFACE_SRC_DIR}/multi_core/tfm_multi_core_ns_api.c
${INTERFACE_SRC_DIR}/multi_core/tfm_multi_core_psa_ns_api.c
${INTERFACE_SRC_DIR}/multi_core/tfm_ns_mailbox_rtos_api.c
+ ${INTERFACE_SRC_DIR}/multi_core/tfm_ns_mailbox_thread.c
+ ${INTERFACE_SRC_DIR}/multi_core/tfm_ns_mailbox_test.c
DESTINATION ${INSTALL_INTERFACE_SRC_DIR})
else()
install(FILES ${INTERFACE_SRC_DIR}/tfm_ns_interface.c