summaryrefslogtreecommitdiff
path: root/include/bl31
diff options
context:
space:
mode:
authorDan Handley <dan.handley@arm.com>2014-04-23 15:22:18 +0100
committerDan Handley <dan.handley@arm.com>2014-05-06 13:45:27 +0100
commitc5945735a9705675201d2799654348425f28f551 (patch)
treec75076350834b5c52886c7b60e6fa2abd374bab0 /include/bl31
parent5b827a8fb6ea5cddf2cc80d724b58350457afc54 (diff)
Move PSCI global functions out of private header
Move the PSCI global functions out of psci_private.h and into psci.h to allow the standard service to only depend on psci.h. Change-Id: I8306924a3814b46e70c1dcc12524c7aefe06eed1
Diffstat (limited to 'include/bl31')
-rw-r--r--include/bl31/services/psci.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/bl31/services/psci.h b/include/bl31/services/psci.h
index e290793..351453f 100644
--- a/include/bl31/services/psci.h
+++ b/include/bl31/services/psci.h
@@ -191,6 +191,19 @@ extern void psci_register_spd_pm_hook(const spd_pm_ops *);
extern int psci_get_suspend_stateid(unsigned long mpidr);
extern int psci_get_suspend_afflvl(unsigned long mpidr);
+extern uint64_t psci_smc_handler(uint32_t smc_fid,
+ uint64_t x1,
+ uint64_t x2,
+ uint64_t x3,
+ uint64_t x4,
+ void *cookie,
+ void *handle,
+ uint64_t flags);
+
+/* PSCI setup function */
+extern int32_t psci_setup(void);
+
+
#endif /*__ASSEMBLY__*/