]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg/ArmPlatformLibQemu: Ensure that VFP is on before running C code
authorArd Biesheuvel <ardb@kernel.org>
Thu, 5 Jan 2023 13:43:14 +0000 (14:43 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Jan 2023 17:37:39 +0000 (17:37 +0000)
commit5ee17c5418bd4e0b26686bff14b71b3d83438a30
tree88e46ec293e1c486037f73a74411c8d012014904
parent717f35a9f2d883a74998f7deb3d2cdf95bddf039
ArmVirtPkg/ArmPlatformLibQemu: Ensure that VFP is on before running C code

Now that we build the early code without strict alignment and without
suppressing the use of SIMD registers, ensure that the VFP unit is on
before entering C code.

While at it, simplyify the mov_i macro, which is only used for 32-bit
quantities.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: dann frazier <dann.frazier@canonical.com>
ArmVirtPkg/Library/ArmPlatformLibQemu/AArch64/ArmPlatformHelper.S