aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2021-04-07 15:58:53 +0800
committerDavid Hu <david.hu@arm.com>2021-04-29 08:56:18 +0200
commitc686ecbe98e674d2e60a938fcc18ee5104f9ec9d (patch)
tree3f9225a56aba4fa162cb353e8c6a82c54af20b7e /docs
parent5079a041bfb366594cdf6c72f173921ab34b2a92 (diff)
downloadtrusted-firmware-m-c686ecbe98e674d2e60a938fcc18ee5104f9ec9d.tar.gz
Interface: Remove NS specific implementation of test interface
Remove some test interface files to decouple TF-M from NS speific implementation. Those files will be moved to tf-m-tests. Those files include NS client identification management and NS mailbox test utilities. Change-Id: I963ccae2b50d6124e3ac84547d91b09b28fddfd5 Signed-off-by: David Hu <david.hu@arm.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/technical_references/tfm_ns_client_identification.rst21
1 files changed, 2 insertions, 19 deletions
diff --git a/docs/technical_references/tfm_ns_client_identification.rst b/docs/technical_references/tfm_ns_client_identification.rst
index 44fd3435a..4ef8e90d0 100644
--- a/docs/technical_references/tfm_ns_client_identification.rst
+++ b/docs/technical_references/tfm_ns_client_identification.rst
@@ -15,24 +15,7 @@ Thread Context Management for Armv8-M TrustZone APIs, as described
However TF-M needs an extra API, to assign a client ID to the TZ context created
as a result of the
``TZ_MemoryId_t TZ_AllocModuleContext_S (TZ_ModuleId_t module)`` call.
-
-To do this, the
-``enum tfm_status_e tfm_register_client_id (int32_t ns_client_id)`` have to be
-called from an SVC handler, with the client ID of the currently running client.
-
-In the current implementation of TF-M, an SVC call is provided for the NS
-clients to be called at the beginning of their main function.
-
-``SVC(SVC_TFM_NSPM_REGISTER_CLIENT_ID);``
-
-The SVC call handler of the above SVC maps the name of the current thread to a
-hardcoded client id, and sends it to the TF-M core via the earlier discussed
-API.
-
-The mapping is implemented in ``interface/src/tfm_nspm_svc_handler.c``.
-
-The system integrators **may** implement the non-secure ID mapping based on
-their application/threat model.
+See ``interface/include/ext/tz_context.h`` for details of API declarations.
In case the NS OS doesn't use the Thread Context Management for Armv8-M
TrustZone APIs, then TF-M considers the NS SW as a single client, and assigns a
@@ -40,4 +23,4 @@ client ID to it automatically.
--------------
-*Copyright (c) 2018-2020, Arm Limited. All rights reserved.*
+*Copyright (c) 2018-2021, Arm Limited. All rights reserved.*