summaryrefslogtreecommitdiff
path: root/include/services
diff options
context:
space:
mode:
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>2017-10-02 12:10:54 +0100
committerJeenu Viswambharan <jeenu.viswambharan@arm.com>2017-11-13 08:38:51 +0000
commit55a1266ec87b39b5b77341760a40a9a93f590286 (patch)
tree1f1c48959706405a167c100a4f2bc660c047a7c8 /include/services
parent0baec2abde8827de529f12acacd3e35031f9dd48 (diff)
SDEI: Add API for explicit dispatch
This allows for other EL3 components to schedule an SDEI event dispatch to Normal world upon the next ERET. The API usage constrains are set out in the SDEI dispatcher documentation. Documentation to follow. Change-Id: Id534bae0fd85afc94523490098c81f85c4e8f019 Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
Diffstat (limited to 'include/services')
-rw-r--r--include/services/sdei.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/services/sdei.h b/include/services/sdei.h
index 72eb6d7d..b07e93b1 100644
--- a/include/services/sdei.h
+++ b/include/services/sdei.h
@@ -175,4 +175,7 @@ uint64_t sdei_smc_handler(uint32_t smc_fid,
void sdei_init(void);
+/* Public API to dispatch an event to Normal world */
+int sdei_dispatch_event(int ev_num, unsigned int preempted_sec_state);
+
#endif /* __SDEI_H__ */