SPM: Remove secure_utilities.h
- Move the enum of excution number into spm_api.h
- Move the 'tfm_is_one_bit_set' declaration and 'ERROR_MSG' macro into
tfm_utils.h
- Remove the secure_utilities.h and change the include accordingly.
- Remove 'tfm_core.h'.
Change-Id: I312e1d6c18d31e630b853494107a20ec0acdb2fb
Signed-off-by: Summer Qin <summer.qin@arm.com>
diff --git a/secure_fw/spm/include/spm_api.h b/secure_fw/spm/include/spm_api.h
index 1102804..1825a33 100644
--- a/secure_fw/spm/include/spm_api.h
+++ b/secure_fw/spm/include/spm_api.h
@@ -53,6 +53,12 @@
#define TFM_HANDLE_STATUS_CONNECT_ERROR 2
#ifndef TFM_PSA_API
+
+#define EXC_NUM_THREAD_MODE (0)
+#define EXC_NUM_SVCALL (11)
+#define EXC_NUM_PENDSV (14)
+#define EXC_NUM_SYSTICK (15)
+
/**
* \brief Holds the iovec parameters that are passed to a service
*