SPM: Unify exception priority setting code
The exception priority setting code is spread into multiple
places while there is no significant difference between them.
Unify them together into one architecture function.
Change-Id: Iac15aff32065394b44f5318c66fb331842ec3b34
Signed-off-by: Ken Liu <Ken.Liu@arm.com>
diff --git a/docs/design_documents/enum_implicit_casting.rst b/docs/design_documents/enum_implicit_casting.rst
index 2d47520..01c8ce7 100644
--- a/docs/design_documents/enum_implicit_casting.rst
+++ b/docs/design_documents/enum_implicit_casting.rst
@@ -135,7 +135,6 @@
returning the enumeration constants, but implicitly casted to an integer type
like ``int32_t``.
- * ``int32_t tfm_core_set_secure_exception_priorities``
* ``int32_t check_address_range``
* ``int32_t has_access_to_region``
* ``int32_t tfm_core_check_sfn_parameters``
diff --git a/docs/design_documents/tfm_non-secure_interrupt_handling.rst b/docs/design_documents/tfm_non-secure_interrupt_handling.rst
index 3b0b143..6560a0c 100644
--- a/docs/design_documents/tfm_non-secure_interrupt_handling.rst
+++ b/docs/design_documents/tfm_non-secure_interrupt_handling.rst
@@ -40,7 +40,7 @@
.. code-block:: c
- static int32_t tfm_core_set_secure_exception_priorities(void);
+ static void tfm_arch_set_secure_exception_priorities(void);
.. Note::
@@ -154,13 +154,7 @@
--------------------
The priority of the Secure SVC and the Secure faults must be higher than any
-Secure exception in the system. Once this is done, the following fixme can be
-removed from ``secure_fw\core\tfm_core.c``:
-``tfm_core_set_secure_exception_priorities``:
-
-.. code-block:: c
-
- /* FixMe: Explicitly set secure fault and Secure SVC priority to highest */
+Secure exception in the system.
.. note::