arm-trusted-firmware/bl31
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
..
aarch64 feat(el3-runtime): introduce system register trap handler 2022-12-21 10:25:25 +00:00
bl31.ld.S Merge "refactor(bl31): introduce vendor extend rodata section" into integration 2022-08-16 02:12:01 +02:00
bl31.mk feat(el3-runtime): introduce system register trap handler 2022-12-21 10:25:25 +00:00
bl31_context_mgmt.c feat(rme): add context management changes for FEAT_RME 2021-10-05 18:41:35 +02:00
bl31_main.c refactor(context-mgmt): move FEAT_HCX save/restore into C 2023-01-11 16:02:58 +00:00
bl31_traps.c feat(fvp): emulate trapped RNDR 2022-12-21 12:59:36 +00:00
ehf.c fix(bl31): allow use of EHF with S-EL2 SPMC 2022-08-30 08:29:25 -07:00
interrupt_mgmt.c Use correct type when reading SCR register 2020-01-28 11:10:48 +00:00