Rework internal API to save non-secure entry point info
This patch replaces the internal psci_save_ns_entry() API with a
psci_get_ns_ep_info() API. The new function splits the work done by the
previous one such that it populates and returns an 'entry_point_info_t'
structure with the information to enter the normal world upon completion
of the CPU_SUSPEND or CPU_ON call. This information is used to populate
the non-secure context structure separately.

This allows the new internal API `psci_get_ns_ep_info` to return error
and enable the code to return safely.

Change-Id: Ifd87430a4a3168eac0ebac712f59c93cbad1b231
1 parent 2f5aade commit 78879b9a5e5c31b80830046007c9955a6fcf0dd1
@Soby Mathew Soby Mathew authored on 6 Jan 2015
Showing 5 changed files
View
services/std_svc/psci/psci_afflvl_on.c
View
services/std_svc/psci/psci_afflvl_suspend.c
View
services/std_svc/psci/psci_common.c
View
services/std_svc/psci/psci_main.c
View
services/std_svc/psci/psci_private.h