arm-trusted-firmware/services
Jayanth Dodderi Chidanand 42e35d2f8c refactor(cm): convert el1-ctx assembly offset entries to c structure
Currently the EL1 part of the context structure (el1_sysregs_t),
is coupled with feature flags reducing the context memory allocation
for platforms, that don't enable/support all the architectural
features at once.

Similar to the el2 context optimization commit-"d6af234" this patch
further improves this section by converting the assembly context-offset
entries into a c structure. It relies on garbage collection of the
linker removing unreferenced structures from memory, as well as aiding
in readability and future maintenance. Additionally, it eliminates
the #ifs usage in 'context_mgmt.c' source file.

Change-Id: If6075931cec994bc89231241337eccc7042c5ede
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
2024-07-26 17:08:12 +01:00
..
arm_arch_svc chore: simplify the macro names in ENABLE_FEAT mechanism 2024-05-02 08:53:01 -05:00
el3 refactor(smccc): move pmf to vendor el3 calls 2024-05-06 09:42:11 -05:00
oem/chromeos feat(cros_widevine): add ChromeOS widevine SMC handler 2024-02-02 16:41:21 +08:00
spd refactor(cm): convert el1-ctx assembly offset entries to c structure 2024-07-26 17:08:12 +01:00
std_svc refactor(cm): convert el1-ctx assembly offset entries to c structure 2024-07-26 17:08:12 +01:00