aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2020-06-14 21:25:35 +0800
committerDavid Hu <david.hu@arm.com>2021-01-22 02:21:55 +0000
commit04969a400441dd2e41212a4e2937d17873bb3765 (patch)
tree5d20f21db674dfde8870ff6f56e2e09b182b1342 /interface
parent2d2a2f18367f9b6fa24d43a1f75c1e5742567df0 (diff)
downloadtrusted-firmware-m-04969a400441dd2e41212a4e2937d17873bb3765.tar.gz
Dualcpu: Move dual-cpu NS files into a dedicated folder
Gather all the dual-cpu NS .c files in a dedicated folder multi_core under interface/src. Put all the dual-cpu interface header files in a dedicated folder multi-core under interface/include. Change-Id: Ia6847eb03a663e66260690ad88addb1521f13fcd Signed-off-by: David Hu <david.hu@arm.com>
Diffstat (limited to 'interface')
-rw-r--r--interface/CMakeLists.txt3
-rw-r--r--interface/include/multi_core/tfm_mailbox.h (renamed from interface/include/tfm_mailbox.h)0
-rw-r--r--interface/include/multi_core/tfm_multi_core_api.h (renamed from interface/include/tfm_multi_core_api.h)0
-rw-r--r--interface/include/multi_core/tfm_ns_mailbox.h (renamed from interface/include/tfm_ns_mailbox.h)0
-rw-r--r--interface/src/multi_core/tfm_multi_core_ns_api.c (renamed from interface/src/tfm_multi_core_ns_api.c)0
-rw-r--r--interface/src/multi_core/tfm_multi_core_psa_ns_api.c (renamed from interface/src/tfm_multi_core_psa_ns_api.c)0
-rw-r--r--interface/src/multi_core/tfm_ns_mailbox.c (renamed from interface/src/tfm_ns_mailbox.c)0
-rw-r--r--interface/src/multi_core/tfm_ns_mailbox_rtos_api.c (renamed from interface/src/tfm_ns_mailbox_rtos_api.c)0
8 files changed, 2 insertions, 1 deletions
diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt
index 276a7207f..035175476 100644
--- a/interface/CMakeLists.txt
+++ b/interface/CMakeLists.txt
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
-# Copyright (c) 2020, Arm Limited. All rights reserved.
+# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -27,6 +27,7 @@ target_include_directories(psa_interface
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_BINARY_DIR}/generated/interface/include
${CMAKE_CURRENT_SOURCE_DIR}/include/os_wrapper
+ $<$<OR:$<BOOL:${FORWARD_PROT_MSG}>,$<BOOL:${TFM_MULTI_CORE_TOPOLOGY}>>:${CMAKE_CURRENT_SOURCE_DIR}/include/multi_core>
)
# PSA interface files are generated from a template
diff --git a/interface/include/tfm_mailbox.h b/interface/include/multi_core/tfm_mailbox.h
index 45eb97ef2..45eb97ef2 100644
--- a/interface/include/tfm_mailbox.h
+++ b/interface/include/multi_core/tfm_mailbox.h
diff --git a/interface/include/tfm_multi_core_api.h b/interface/include/multi_core/tfm_multi_core_api.h
index 752cf963b..752cf963b 100644
--- a/interface/include/tfm_multi_core_api.h
+++ b/interface/include/multi_core/tfm_multi_core_api.h
diff --git a/interface/include/tfm_ns_mailbox.h b/interface/include/multi_core/tfm_ns_mailbox.h
index 6b64443fa..6b64443fa 100644
--- a/interface/include/tfm_ns_mailbox.h
+++ b/interface/include/multi_core/tfm_ns_mailbox.h
diff --git a/interface/src/tfm_multi_core_ns_api.c b/interface/src/multi_core/tfm_multi_core_ns_api.c
index ce9233c65..ce9233c65 100644
--- a/interface/src/tfm_multi_core_ns_api.c
+++ b/interface/src/multi_core/tfm_multi_core_ns_api.c
diff --git a/interface/src/tfm_multi_core_psa_ns_api.c b/interface/src/multi_core/tfm_multi_core_psa_ns_api.c
index 91d393540..91d393540 100644
--- a/interface/src/tfm_multi_core_psa_ns_api.c
+++ b/interface/src/multi_core/tfm_multi_core_psa_ns_api.c
diff --git a/interface/src/tfm_ns_mailbox.c b/interface/src/multi_core/tfm_ns_mailbox.c
index 2096b6e52..2096b6e52 100644
--- a/interface/src/tfm_ns_mailbox.c
+++ b/interface/src/multi_core/tfm_ns_mailbox.c
diff --git a/interface/src/tfm_ns_mailbox_rtos_api.c b/interface/src/multi_core/tfm_ns_mailbox_rtos_api.c
index f7d23d2bc..f7d23d2bc 100644
--- a/interface/src/tfm_ns_mailbox_rtos_api.c
+++ b/interface/src/multi_core/tfm_ns_mailbox_rtos_api.c