• Soby Mathew's avatar
    Rework internal API to save non-secure entry point info · 78879b9a
    Soby Mathew authored
    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
    78879b9a
psci_afflvl_on.c 13.3 KB