aboutsummaryrefslogtreecommitdiff
path: root/secure_fw/include
diff options
context:
space:
mode:
authorKevin Peng <kevin.peng@arm.com>2021-01-05 15:06:05 +0800
committerKevin Peng <kevin.peng@arm.com>2021-03-16 16:24:16 +0800
commitf9a0eb0e0f5ba2ee25c77a31a7cff76ad502f63e (patch)
treedf8d42ec8219bdbe24b2a3365d3ce8963bd8f2e7 /secure_fw/include
parente23dc2283f9e50834e55f48e9b3a37fa9aca0aa3 (diff)
downloadtrusted-firmware-m-f9a0eb0e0f5ba2ee25c77a31a7cff76ad502f63e.tar.gz
SPM: Partial implementation of PSA interrupt control APIs
This patch implements two of the Secure Partition APIs for interrupt control defined by FF-M v1.1: - psa_irq_enable - psa_irq_disable Implement only these two for SLIH for the time being. Change-Id: Ia1103b2d70f1406e2ad0100d856f9e11568c2430 Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Diffstat (limited to 'secure_fw/include')
-rw-r--r--secure_fw/include/tfm/tfm_core_svc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/secure_fw/include/tfm/tfm_core_svc.h b/secure_fw/include/tfm/tfm_core_svc.h
index 8eed63e008..18743e0d46 100644
--- a/secure_fw/include/tfm/tfm_core_svc.h
+++ b/secure_fw/include/tfm/tfm_core_svc.h
@@ -46,6 +46,10 @@ typedef enum {
#if (TFM_SPM_LOG_LEVEL > TFM_SPM_LOG_LEVEL_SILENCE)
TFM_SVC_OUTPUT_UNPRIV_STRING,
#endif
+ /* Secure Partition API for interrupt control */
+ TFM_SVC_PSA_IRQ_ENABLE,
+ TFM_SVC_PSA_IRQ_DISABLE,
+
TFM_SVC_PLATFORM_BASE = 50 /* leave room for additional Core handlers */
} tfm_svc_number_t;