aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2021-04-06 18:03:33 +0800
committerDavid Hu <david.hu@arm.com>2021-04-29 08:56:18 +0200
commitf07f3f16c35beed23772e83453a7c08d0b78ddb8 (patch)
treeba2fdf5865104d1b272af6db21589ac1047c5bc0 /cmake
parent7c2a744b3712f481b9dc7ab89bcc0ef5cb30f5fa (diff)
downloadtrusted-firmware-m-f07f3f16c35beed23772e83453a7c08d0b78ddb8.tar.gz
Interface: Remove NS RTOS specific implementation
Move NS RTOS related interface code to tf-m-test to decouple TF-M from NS specific implementation. The removed code includes OS wrapper headers and RTOS specific implementation. Export tfm_ns_interface_dispatch() to NS as API to integrate with TF-M NS interface. Add an example of tfm_ns_interface_dispatch() implementation. Change-Id: I9b331c32ac26551bfdbc4996eecd08efc7d7c2c3 Signed-off-by: David Hu <david.hu@arm.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/install.cmake15
1 files changed, 3 insertions, 12 deletions
diff --git a/cmake/install.cmake b/cmake/install.cmake
index 048c90094..b7941441d 100644
--- a/cmake/install.cmake
+++ b/cmake/install.cmake
@@ -34,14 +34,6 @@ install(FILES ${INTERFACE_INC_DIR}/psa/client.h
${INTERFACE_INC_DIR}/psa/error.h
DESTINATION ${INSTALL_INTERFACE_INC_DIR}/psa)
-install(FILES ${INTERFACE_INC_DIR}/os_wrapper/common.h
- ${INTERFACE_INC_DIR}/os_wrapper/msg_queue.h
- ${INTERFACE_INC_DIR}/os_wrapper/mutex.h
- ${INTERFACE_INC_DIR}/os_wrapper/semaphore.h
- ${INTERFACE_INC_DIR}/os_wrapper/thread.h
- ${INTERFACE_INC_DIR}/os_wrapper/tick.h
- DESTINATION ${INSTALL_INTERFACE_INC_DIR}/os_wrapper)
-
install(FILES ${CMAKE_BINARY_DIR}/generated/interface/include/psa_manifest/sid.h
DESTINATION ${INSTALL_INTERFACE_INC_DIR}/psa_manifest)
@@ -124,18 +116,17 @@ if (TFM_MULTI_CORE_TOPOLOGY)
install(FILES ${INTERFACE_SRC_DIR}/multi_core/tfm_ns_mailbox.c
${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
- DESTINATION ${INSTALL_INTERFACE_SRC_DIR})
-
if(TFM_PSA_API)
install(FILES ${INTERFACE_SRC_DIR}/tfm_psa_ns_api.c
DESTINATION ${INSTALL_INTERFACE_SRC_DIR})
endif()
+
+ install(FILES ${INTERFACE_SRC_DIR}/tfm_ns_interface.c.example
+ DESTINATION ${INSTALL_INTERFACE_SRC_DIR})
endif()
if (TFM_NS_CLIENT_IDENTIFICATION)