audk/ArmPlatformPkg/PrePeiCore
Ard Biesheuvel a6a835bdb1 ArmPlatformPkg/PrePeiCore: enable VFP at startup
While the alternative PEI-less SEC implementation in PrePi already
takes the EnableVFP PCD into account, the PrePeiCore code does not,
and so we may end up triggering synchronous exception when code
attempts to use FP or SIMD registers, which is permitted on AARCH64
by the spec.

So enable the VFP as early as feasible if the associated PCD is set.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2020-01-14 22:12:17 +00:00
..
AArch64 ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
Arm ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
MainMPCore.c ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
MainUniCore.c ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PrePeiCore.c ArmPlatformPkg/PrePeiCore: enable VFP at startup 2020-01-14 22:12:17 +00:00
PrePeiCore.h ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PrePeiCoreMPCore.inf ArmPlatformPkg/PrePeiCore: enable VFP at startup 2020-01-14 22:12:17 +00:00
PrePeiCoreUniCore.inf ArmPlatformPkg/PrePeiCore: enable VFP at startup 2020-01-14 22:12:17 +00:00