diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-06-07 10:02:25 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-10 08:44:48 +0000 |
commit | 5bea69123349ef3c02e5d8a49ceaae971975ba90 (patch) | |
tree | bb6c5a070f568ccd6df91b7cf12f47d37697a90c /ArmPlatformPkg/PrePeiCore/PrePeiCore.h | |
parent | ab069d580111ccc64d6b0c9697b7c5fd6e1507ce (diff) | |
download | edk2-5bea69123349ef3c02e5d8a49ceaae971975ba90.tar.gz edk2-5bea69123349ef3c02e5d8a49ceaae971975ba90.tar.bz2 edk2-5bea69123349ef3c02e5d8a49ceaae971975ba90.zip |
ArmVirtPkg/PrePi: Enable VFP before calling into C code
When building ArmVirtQemuKernel with CLANGDWARF (which does not require
a GCC workaround where -mgeneral-regs-only is needed to ensure
-mstrict-align works as expected), the C code invoked from the PrePi
startup code may contain instructions that access the FP/SIMD register
file. This means that the FP/SIMD must be enabled before making such
calls, and this is currently not the case. So fix that, by moving the
call to ArmEnableVFP() early into the asm startup code.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'ArmPlatformPkg/PrePeiCore/PrePeiCore.h')
0 files changed, 0 insertions, 0 deletions