mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 10:08:47 +00:00
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>
This commit is contained in:
parent
fb2072b03d
commit
cb55615c50
2 changed files with 8 additions and 8 deletions
|
@ -72,7 +72,7 @@
|
|||
#define CTX_SPSR_EL1 U(0x0)
|
||||
#define CTX_ELR_EL1 U(0x8)
|
||||
#define CTX_SCTLR_EL1 U(0x10)
|
||||
#define CTX_ACTLR_EL1 U(0x18)
|
||||
#define CTX_TCR_EL1 U(0x18)
|
||||
#define CTX_CPACR_EL1 U(0x20)
|
||||
#define CTX_CSSELR_EL1 U(0x28)
|
||||
#define CTX_SP_EL1 U(0x30)
|
||||
|
@ -81,7 +81,7 @@
|
|||
#define CTX_TTBR1_EL1 U(0x48)
|
||||
#define CTX_MAIR_EL1 U(0x50)
|
||||
#define CTX_AMAIR_EL1 U(0x58)
|
||||
#define CTX_TCR_EL1 U(0x60)
|
||||
#define CTX_ACTLR_EL1 U(0x60)
|
||||
#define CTX_TPIDR_EL1 U(0x68)
|
||||
#define CTX_TPIDR_EL0 U(0x70)
|
||||
#define CTX_TPIDRRO_EL0 U(0x78)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue