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>
1 parent fb2072b commit cb55615c506d6bff3f1a9223182e190abbbf6fc5
@Manish V Badarkhe Manish V Badarkhe authored on 28 Jul 2020
Showing 2 changed files
View
include/lib/el3_runtime/aarch64/context.h
View
lib/el3_runtime/aarch64/context.S