summaryrefslogtreecommitdiff
path: root/include/lib/psci
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2016-05-05 14:11:23 +0100
committerSoby Mathew <soby.mathew@arm.com>2016-08-10 14:43:48 +0100
commit727e5238fa3e9220d6a2718fab3b1df22af1dc61 (patch)
treeac9260c77ac755b99c1727c836e1e314f8ce0505 /include/lib/psci
parente33b78a658bd54a815c780e17c2d0073db6f59db (diff)
AArch32: Add support to PSCI lib
This patch adds AArch32 support to PSCI library, as follows : * The `psci_helpers.S` is implemented for AArch32. * AArch32 version of internal helper function `psci_get_ns_ep_info()` is defined. * The PSCI Library is responsible for the Non Secure context initialization. Hence a library interface `psci_prepare_next_non_secure_ctx()` is introduced to enable EL3 runtime firmware to initialize the non secure context without invoking context management library APIs. Change-Id: I25595b0cc2dbfdf39dbf7c589b875cba33317b9d
Diffstat (limited to 'include/lib/psci')
-rw-r--r--include/lib/psci/psci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lib/psci/psci.h b/include/lib/psci/psci.h
index c3e9ef7e..a583fef7 100644
--- a/include/lib/psci/psci.h
+++ b/include/lib/psci/psci.h
@@ -359,6 +359,8 @@ u_register_t psci_smc_handler(uint32_t smc_fid,
int psci_setup(uintptr_t mailbox_ep);
void psci_warmboot_entrypoint(void);
void psci_register_spd_pm_hook(const spd_pm_ops_t *pm);
+void psci_prepare_next_non_secure_ctx(
+ struct entry_point_info *next_image_info);
#endif /*__ASSEMBLY__*/