SCTLR and ACTLR are 32-bit for AArch32 and 64-bit for AArch64
authorDeepika Bhavnani <deepika.bhavnani@arm.com>
Tue, 3 Sep 2019 18:08:51 +0000 (21:08 +0300)
committerDeepika Bhavnani <deepika.bhavnani@arm.com>
Fri, 13 Sep 2019 20:51:02 +0000 (23:51 +0300)
commiteeb5a7b595ebe938c3cf720507c5474a8ea3153b
tree4045bcd89f224e5891a1952c4ce1bccce47eb872
parent42cdeb93080f2b54a75be14e4f5ee776872f3f0f
SCTLR and ACTLR are 32-bit for AArch32 and 64-bit for AArch64

AArch64 System register SCTLR_EL1[31:0] is architecturally mapped
to AArch32 System register SCTLR[31:0]
AArch64 System register ACTLR_EL1[31:0] is architecturally mapped
to AArch32 System register ACTLR[31:0].

`u_register_t` should be used when it's important to store the
contents of a register in its native size

Signed-off-by: Deepika Bhavnani <deepika.bhavnani@arm.com>
Change-Id: I0055422f8cc0454405e011f53c1c4ddcaceb5779
lib/el3_runtime/aarch64/context_mgmt.c