feat: add spm_deactivate_interrupt helper function
This ABI is needed by SP to perform End-Of-Interrupt sequence i.e.,
priority drop and de-activation on its behalf by SPM.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I6c5403b4591589f29da7b77f69f422b9eb386efd
diff --git a/spm/common/spm_helpers.h b/spm/common/spm_helpers.h
index 10f7316..25c6493 100644
--- a/spm/common/spm_helpers.h
+++ b/spm/common/spm_helpers.h
@@ -13,6 +13,7 @@
/* Should match with IDs defined in SPM/Hafnium */
#define SPM_INTERRUPT_ENABLE (0xFF03)
#define SPM_INTERRUPT_GET (0xFF04)
+#define SPM_INTERRUPT_DEACTIVATE (0xFF08)
#define SPM_DEBUG_LOG (0xBD000000)
/*
@@ -21,6 +22,7 @@
uint32_t spm_interrupt_get(void);
int64_t spm_interrupt_enable(uint32_t int_id, bool enable, enum interrupt_pin pin);
+int64_t spm_interrupt_deactivate(uint32_t vint_id);
void spm_debug_log(char c);
#endif /* SPMC_H */