arm-trusted-firmware/lib/el3_runtime
Andre Przywara c5a3ebbd3a refactor(context-mgmt): move FEAT_HCX save/restore into C
At the moment we save and restore the HCRX_EL2 register in assembly, and
just depend on the build time flags.
To allow runtime checking, and to avoid too much code in assembly, move
that over to C, and use the new combined build/runtime feature check.

This also allows to drop the assert, since this should now be covered by
the different FEAT_STATE_x options.

Change-Id: I3e20b9ba17121d423cd08edc20bbf4e7ae7c0178
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2023-01-11 16:02:58 +00:00
..
aarch32 refactor(context mgmt): add cm_prepare_el3_exit_ns function 2022-04-12 17:42:11 +02:00
aarch64 refactor(context-mgmt): move FEAT_HCX save/restore into C 2023-01-11 16:02:58 +00:00
cpu_data_array.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00