arm-trusted-firmware/lib
Jeenu Viswambharan ef653d93cc AArch64: Refactor GP register restore to separate function
At present, the function that restores general purpose registers also
does ERET. Refactor the restore code to restore general purpose
registers without ERET to complement the save function.

The macro save_x18_to_x29_sp_el0 was used only once, and is therefore
removed, and its contents expanded inline for readability.

No functional changes, but with this patch:

  - The SMC return path will incur an branch-return and an additional
    register load.

  - The unknown SMC path restores registers x0 to x3.

Change-Id: I7a1a63e17f34f9cde810685d70a0ad13ca3b7c50
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
2018-05-04 08:32:42 +01:00
..
aarch32 ARMv7: division support for missing __aeabi_*divmod 2017-11-08 14:42:07 +01:00
aarch64 misc_helpers: fix zero_normalmem() for BL2_AT_EL3 2018-02-01 13:17:29 +09:00
compiler-rt Import ctzdi2.c from LLVM compiler-rt 2017-07-26 09:28:23 +01:00
coreboot coreboot: Add support for CBMEM console 2018-01-19 15:21:12 -08:00
cpus Check presence of fix for errata 835769 in Cortex-A53 2018-04-12 12:12:56 +01:00
el3_runtime AArch64: Refactor GP register restore to separate function 2018-05-04 08:32:42 +01:00
extensions Merge pull request #1282 from robertovargas-arm/misra-changes 2018-02-28 18:53:30 +00:00
libfdt Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
locks Clean usage of void pointers to access symbols 2018-03-27 13:20:27 +01:00
optee optee: print header info before validate 2018-02-08 02:17:24 +09:00
pmf Merge pull request #1313 from jonathanwright-ARM/jw/MISRA-switch-statements 2018-03-29 13:20:05 +01:00
psci Merge pull request #1313 from jonathanwright-ARM/jw/MISRA-switch-statements 2018-03-29 13:20:05 +01:00
semihosting Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stack_protector Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stdlib stdlib: remove comparison with EOF macro to comply with MISRA 2018-03-15 13:32:54 +00:00
utils Add mem_region utility functions 2017-09-25 13:32:20 +01:00
xlat_tables xlat: Set AP[1] to 1 when it is RES1 2018-04-26 12:59:08 +01:00
xlat_tables_v2 xlat: Set AP[1] to 1 when it is RES1 2018-04-26 12:59:08 +01:00
zlib zlib: Fix build error when LOG_LEVEL=50 2018-02-08 09:36:48 +01:00