arm-trusted-firmware/lib/psci
Zelalem Aweke 8b95e84870 refactor(context mgmt): add cm_prepare_el3_exit_ns function
As part of the RFC:
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/13651,
this patch adds the 'cm_prepare_el3_exit_ns' function. The function is
a wrapper to 'cm_prepare_el3_exit' function for Non-secure state.

When EL2 sysregs context exists (CTX_INCLUDE_EL2_REGS is
enabled) EL1 and EL2 sysreg values are restored from the context
instead of directly updating the registers.

Signed-off-by: Zelalem Aweke <zelalem.aweke@arm.com>
Change-Id: I9b071030576bb05500d54090e2a03b3f125d1653
2022-04-12 17:42:11 +02:00
..
aarch32 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
aarch64 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
psci_common.c fix(psci): correct parent_node type in messages 2022-02-15 18:09:51 +01:00
psci_lib.mk mem_protect: Add mem_protect API 2017-09-25 13:32:20 +01:00
psci_main.c Unify type of "cpu_idx" across PSCI module. 2020-01-10 17:11:51 +00:00
psci_mem_protect.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
psci_off.c Unify type of "cpu_idx" across PSCI module. 2020-01-10 17:11:51 +00:00
psci_on.c refactor(context mgmt): add cm_prepare_el3_exit_ns function 2022-04-12 17:42:11 +02:00
psci_private.h PSCI: fix limit of 256 CPUs caused by cast to unsigned char 2020-12-22 07:39:51 +00:00
psci_setup.c feat(psci): require validate_power_state to expose CPU_SUSPEND 2021-10-15 14:13:54 +02:00
psci_stat.c Unify type of "cpu_idx" across PSCI module. 2020-01-10 17:11:51 +00:00
psci_suspend.c refactor(context mgmt): add cm_prepare_el3_exit_ns function 2022-04-12 17:42:11 +02:00
psci_system_off.c Don't return error information from console_flush 2020-10-09 10:21:50 -05:00