- Aug 06, 2019
-
-
This patch modifes the documentation in the following ways: * Contributing, glossary and maintainers files, are moved into the the documentation directory * The table of contents in index.rst.in are updated accordingly * Coding_guide, contributing, maintainers and readme documetns, are updated accordingly Change-Id: I40ea47f7f154142f1f02f4492ad53c3533109bb0 Signed-off-by:
Galanakis, Minos <minos.galanakis@arm.com>
-
Edison Ai authored
Merges the necessary secure partition data for IPC model into library model. Prepare a common partition data structure for optimization. Change-Id: I88939faa337588f14f351c284e5a9d625af37fa5 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
- Aug 05, 2019
-
-
Antonio De Angelis authored
This patch adds support for the arm-none-eabi-gcc toolchain version 8.3.1. Change-Id: I1d8302e6463aa49f5f1e236ea27fdc0f27b0ee44 Signed-off-by:
Antonio de Angelis <antonio.deangelis@arm.com>
-
- Aug 01, 2019
-
-
Summer Qin authored
This function could be called in SVCall functions, it searches for the next running thread if the 'Running Head' thread status has been set to non-running. Performing a searching in SVCall is unnecessary and costs more expensive SVCall execution time. Reset the searching start head to thread list and return in this case, let scheduler in PendSV handles the searching. Change-Id: Idc795496f1fcb03e139e2d37d9ab46bf52c9b1e1 Signed-off-by:
Summer Qin <summer.qin@arm.com>
-
Summer Qin authored
The patch inlcudes the following changes: -Create message with type instead of PSA_IPC_CALL in tfm_svcall_psa_call(); -Change the condition to check whether message handle refers to a request message instead of PSA_IPC_CALL; -Move the request message logic into default block in tfm_svcall_psa_reply(). Change-Id: I0c59b5f55c4a46feb05c674d5cb3bce666779171 Signed-off-by:
Summer Qin <summer.qin@arm.com>
-
- Jul 31, 2019
-
-
Change-Id: I6bf7edbee908a0cf0340c4af13467322413d4f1c Signed-off-by:
Tamas Kaman <tamas.kaman@arm.com>
-
Antonio De Angelis authored
This patch optimises the bitcount routines used in the TF-M core. Change-Id: Ia95424713fc5eeb4ccad03ae4aa2bdd500f396d4 Signed-off-by:
Antonio de Angelis <antonio.deangelis@arm.com>
-
Adds include of Utils.cmake to FindPlantUML.cmake. Solves the building error `Unknown CMake command win_fix_dir_sep`. Change-Id: Iaed5a6cc92e96832e668f32065d73d28d59033e5 Signed-off-by:
Tudor Cretu <tudor.cretu@arm.com>
-
- Jul 30, 2019
-
-
Both MPC and PPC driver needs initialization before any other API is called. This was missing in several cases which caused AN524 platform init to fail. Change-Id: I034d8959f3bda46446f907cd775b44538d90f954 Signed-off-by:
Tamas Kaman <tamas.kaman@arm.com>
-
- Jul 29, 2019
-
-
Mate Toth-Pal authored
This commit modifies template files related to the SPM DB so that instead of generating code that initialises the DB, a C structure initialiser is generated directly for the DB. Change-Id: I88c2cd077a15101d24559027a73716a2f0a5c185 Signed-off-by:
Mate Toth-Pal <mate.toth-pal@arm.com>
-
- Jul 26, 2019
-
-
Miklos Balint authored
Explicitly cast void * to sfn_t to avoid compile error Signed-off-by:
Miklos Balint <miklos.balint@arm.com> Change-Id: I961293538e0f1f8a6f12eb3d7f6c743c0455e0ef
-
- Jul 24, 2019
-
-
Summer Qin authored
Replace PSA_IS_HANDLE_VALID with PSA_HANDLE_IS_VALID which is defined in PSA FF for checking the validity of connection handle. Change-Id: I11be7d4fd5ecf0125fa422ce9a9ec759a0a41b61 Signed-off-by:
Summer Qin <summer.qin@arm.com>
-
Summer Qin authored
Replace TFM_PSA_HANDLE_IS_VALID with PSA_HANDLE_IS_VALID which is defined in PSA FF for checking the validity of connection. Change-Id: Ib95b60dfe8f644fc7164cd51cb02897b5691ea15 Signed-off-by:
Summer Qin <summer.qin@arm.com>
-
Summer Qin authored
Update PSA Client and Secure Partition APIs and some related files: - Add psa_panic() to indicate an internal fault in a secure partition. - Introduce a message type parameter to the psa_call() function which is delivered as part of the psa_msg_t data to the RoT Service. - Change 'minor version' to 'version'. - Add PSA_HANDLE_IS_VALID() and PSA_HANDLE_TO_ERROR() macros. - Move the definition of PSA_MAX_IOVEC and PSA_IPC_CALL from psa/service.h to psa/client.h. - Change the error code returned by psa_get() when the message could not be delivered. It now returns PSA_ERROR_DOES_NOT_EXIST. Change-Id: Ia717f591c80484699f4f491d1ed6dbc4fd7c050f Signed-off-by:
Summer Qin <summer.qin@arm.com>
-
- Jul 23, 2019
-
-
Antonio De Angelis authored
This patch refactors the NS interface source code to provide an easier paradigm for integration by marking the NS interface function as weak in order for integrators to provide their own implementation to fulfill their requirements. Change-Id: Id8231cf91773d6850149a028e1b639432540efa0 Signed-off-by:
Antonio de Angelis <antonio.deangelis@arm.com>
-
Edison Ai authored
Change tfm_core_set_secure_exception_priorities() return type from 'int' to 'int32_t'. Change-Id: I4ad925efecd6cf6c3c3e05c72a2282a502aad485 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
- Jul 22, 2019
-
-
Antonio De Angelis authored
This patch updates the interface to be able to use Mbed Crypto 1.1.0. Also the build instructions are updated. Change-Id: Ic8edbda056fdb590eda03e4a6d069b11dfcc9769 Signed-off-by:
Antonio de Angelis <antonio.deangelis@arm.com>
-
Edison Ai authored
Change tfm_core_set_secure_exception_priorities() return type from void to int to fix build error. Change-Id: I4deaa47ecf77d8b4b4f52bfddfd881fd22196eb9 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
This commit adds a draft design proposal about implicit casting of enumeration in TF-M. Change-Id: Iac475ae3a88b7648da431ab475c7384e472a8a2a Signed-off-by:
Hugues de Valon <hugues.devalon@arm.com>
-
Mate Toth-Pal authored
Change-Id: I88bcdfa5d333ff936a002c8d822f52c68e497371 Signed-off-by:
Mate Toth-Pal <mate.toth-pal@arm.com>
-
Mate Toth-Pal authored
Change-Id: I3e4abf0e3f47e6b11fd9cdc967a3e59821dcc0d8 Signed-off-by:
Mate Toth-Pal <mate.toth-pal@arm.com>
-
Mate Toth-Pal authored
Move tfm_utils source and header to the core folder, so that the utilities can be used from library model as well. Change-Id: I17f70e4e7f377c76c583571fac6aa12c9bb4afd0 Signed-off-by:
Mate Toth-Pal <mate.toth-pal@arm.com>
-
Jamie Fox authored
Removes the deprecated test case from the CoreIPC build config, so that this build contains no test code. Change-Id: Id78f7d13f078cb2dbed65ac7ed7f56c2605d29db Signed-off-by:
Jamie Fox <jamie.fox@arm.com>
-
Edison Ai authored
The ConfigCoreIPC.cmake is only used for config core to IPC model without enabling any test. Change-Id: Ifb7c2202ef311724cca5ccc2a62f09056691f4a4 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
- Jul 19, 2019
-
-
Edison Ai authored
Update the manifest file of IRQ test service according to PSA FF. Change-Id: Ia60cbcc451ecd11e6898fb89b0d4e60315b1470d Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
Edison Ai authored
- Use the SID and service version defined in sid.h. - Use signal defined in signal files. - Remove manual definitions. - Remove unused header files. Change-Id: I4dcc8ef09c1ab45177ae018b8f396b40cd75c15f Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
Edison Ai authored
- Use the SID and service version defined in sid.h. - Use signal defined in tfm_crypto.h. - Remove manual definitions in tfm_crypto_defs.h. - Remove tfm_crypto_signal.h. Change-Id: I465fbd867e57d82ca61ad23054d019a9656faf77 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
Edison Ai authored
- Use the SID and service version defined in sid.h. - Use signal defined in tfm_secure_storage.h. - Remove manual definitions in tfm_sst_defs.h. - Remove tfm_sst_signal.h. Change-Id: Iccedbb1a8947847e5c7c33b341b8302e334fec27 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
Edison Ai authored
- Use the SID and service version defined in sid.h. - Use signal defined in tfm_initial_attestation.h. - Remove tfm_attest_defs.h and tfm_attest_signal.h. Change-Id: I36a5be19c8d89ca1e9dfb5978438bb0e66f3cde7 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
Edison Ai authored
According to PSA FF, the header file for service ID need be created by tools: - Add template file for the generated header file. - The SID macro definitions derived from manifest files that map from RoT Service names with "_SID" postfix to Service IDs. - The version macro definitions derived from manifest files that map from RoT Service names with "_VERSION" postfix to minor_version. - Add the 'sid.h' in the generated file list. Change-Id: If53d3db0048db5d643fa33067efdd8692b186d60 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
Change-Id: I0f8c44fe4c9096c414649a67c997b0c31ecc7912 Signed-off-by:
Mate Toth-Pal <mate.toth-pal@arm.com>
-
Edison Ai authored
Remove "tfm_irq_signal_defs.h" which used to include the IRQ signal definition for SPM and add the generate manifest header file to the related file directly. Change-Id: I80fe339271aa8634b8500050bcecc59de415ba86 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
Edison Ai authored
Remove 'tfm_spm_signal_defs.h' which used to include the service signal value for SPM and add the generate manifest header file to the related file directly. Change-Id: I49e32e3053b6e73571db5b1f07149ab2a9087d22 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
Edison Ai authored
Add BUILD_DWARF_VERSION to indicate which DWARF version to use. Set it to a special value when building, such as: "-DBUILD_DWARF_VERSION=2". Change-Id: I20370cac9588dba7636d2ec404f7c674ef6bdd16 Signed-off-by:
Edison Ai <edison.ai@arm.com>
-
Ken Liu authored
Rename 'design_docs' to 'design_documents'. Change-Id: I2a8d3d7b5601ecfba14b92e299f9d079c253d144 Signed-off-by:
Ken Liu <ken.liu@arm.com>
-
- Jul 18, 2019
-
-
Antonio De Angelis authored
This patch adds the design document for the TF-M Crypto service. Change-Id: I60ee575a9891c1bf4915345199a328120a276e12 Signed-off-by:
Antonio de Angelis <antonio.deangelis@arm.com>
-
This patch fixes implicit casting in the tfm_ns_lock_dispatch function. Change-Id: I9f3db6e850f22c608c26b45a481cb3c910d2abd6 Signed-off-by:
Hugues de Valon <hugues.devalon@arm.com>
-
This patch fixes the following things: * avoid implicit casting by using matching types or casting * avoid implicit casting between enum tfm_buffer_share_region_e and uint32_t types by replacing the enumerated type with uint32_t and its constants with preprocessor constants * make explicit that the return value of a function is not used * remove function return type if not needed * replace preprocessor if condition by ifdef if only definition is checked * replace enumerated types not used by preprocessor constants Change-Id: Ib718937f89631cae2212de1fc748c48461b683d0 Signed-off-by:
Hugues de Valon <hugues.devalon@arm.com>
-
Summer Qin authored
tfm_thrd_activate_schedule() is only used in core, so won't trigger SVC number 'TFM_SVC_SCHEDULE'. Change-Id: I86a8fba34456058dc227df5b3c3dd7728dfc835a Signed-off-by:
Summer Qin <summer.qin@arm.com>
-
Edison Ai authored
- Move every member of 'PARTITION_DECLARE' in a new line to make it more clear. - Remove unused more line and partition from 'tfm_service_list.inc'. - Use partition id value in tfm_partition_defs.inc. Change-Id: I5e9e429400234d3306eecebb4d1a8ced92dbfe6d Signed-off-by:
Edison Ai <edison.ai@arm.com>
-