]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(el3_runtime): introduce save_x30 macro
authorManish Pandey <manish.pandey2@arm.com>
Wed, 11 Jan 2023 21:41:07 +0000 (21:41 +0000)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 13 Feb 2023 10:45:46 +0000 (10:45 +0000)
commitd87c0e277fcc6b07112c0ee6d1aecbc2200055a5
tree26194f272300fb57e1bc8d0ab0a55c0a8d9ad105
parent6264643a0711faef346cbbb6e3d928a198aeaf31
refactor(el3_runtime): introduce save_x30 macro

Most of the macros/routine in vector entry need a free scratch register.
Introduce a macro "save_x30" and call it right at the begining of vector
entries where x30 is used. It is more exlicit and less error prone

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I617f3d41a120739e5e3fe1c421c79ceb70c1188e
bl31/aarch64/runtime_exceptions.S
include/arch/aarch64/el2_common_macros.S
include/arch/aarch64/el3_common_macros.S