diff options
author | Kevin Peng <kevin.peng@arm.com> | 2021-03-10 17:11:32 +0800 |
---|---|---|
committer | Kevin Peng <kevin.peng@arm.com> | 2021-03-16 16:24:16 +0800 |
commit | b774fecd8ab20db2581a1410ebd4a3995b2765cb (patch) | |
tree | eabe6c2ba94cfa040155b1c6828b620d8dc30d05 /secure_fw/include | |
parent | c6976260439e9fcf9ba02b39b7041d98c82aa20b (diff) | |
download | trusted-firmware-m-b774fecd8ab20db2581a1410ebd4a3995b2765cb.tar.gz |
SPM: Remove *TFM* IRQ APIs for IPC Model
The following two APIs are intended to be replaced by the
PSA API equivalence:
- tfm_spm_enable_irq
- tfm_spm_disable_irq
Change-Id: Id27a15b9fcf7dcaf0fe6e767ed170b07a867809b
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.h | 2 | ||||
-rw-r--r-- | secure_fw/include/tfm/tfm_spm_services.h | 2 |
2 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 18743e0d46..74ad157fac 100644 --- a/secure_fw/include/tfm/tfm_core_svc.h +++ b/secure_fw/include/tfm/tfm_core_svc.h @@ -19,8 +19,10 @@ typedef enum { TFM_SVC_GET_BOOT_DATA, TFM_SVC_DEPRIV_REQ, TFM_SVC_DEPRIV_RET, +#ifndef TFM_PSA_API TFM_SVC_ENABLE_IRQ, TFM_SVC_DISABLE_IRQ, +#endif TFM_SVC_PSA_WAIT, TFM_SVC_PSA_EOI, TFM_SVC_HANDLER_MODE, diff --git a/secure_fw/include/tfm/tfm_spm_services.h b/secure_fw/include/tfm/tfm_spm_services.h index 69e66cd4dd..c1f4238969 100644 --- a/secure_fw/include/tfm/tfm_spm_services.h +++ b/secure_fw/include/tfm/tfm_spm_services.h @@ -21,7 +21,9 @@ enum tfm_spm_request_type_t { */ int32_t tfm_spm_request_reset_vote(void); +#ifndef TFM_PSA_API void tfm_enable_irq(psa_signal_t irq_signal); void tfm_disable_irq(psa_signal_t irq_signal); +#endif #endif /* __TFM_SPM_SERVICES_H__ */ |