]> git.baikalelectronics.ru Git - arm-tf.git/commit
el3_runtime: Rearrange context offset of EL1 sys registers
authorManish V Badarkhe <Manish.Badarkhe@arm.com>
Tue, 28 Jul 2020 06:22:30 +0000 (07:22 +0100)
committerManish V Badarkhe <Manish.Badarkhe@arm.com>
Tue, 18 Aug 2020 09:49:27 +0000 (10:49 +0100)
commitcb55615c506d6bff3f1a9223182e190abbbf6fc5
treeb010184a2bd7fc1fc9fdf6c9cbbf6d1d80f6ca86
parentfb2072b03d4ef872b30e1c9691ed401b9d124fe1
el3_runtime: Rearrange context offset of EL1 sys registers

SCTLR and TCR registers of EL1 plays role in enabling/disabling of
page table walk for lower ELs (EL0 and EL1).
Hence re-arranged EL1 context offsets to have SCTLR and TCR registers
values one after another in the stack so that these registers values
can be saved and restored using stp and ldp instruction respectively.

Change-Id: Iaa28fd9eba82a60932b6b6d85ec8857a9acd5f8b
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
include/lib/el3_runtime/aarch64/context.h
lib/el3_runtime/aarch64/context.S