diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2020-01-06 12:38:29 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-01-14 22:12:17 +0000 |
commit | a6a835bdb1f263fd696f02fc1773d1fedbdd93f6 (patch) | |
tree | 1bfe3bd0e87b5a57aee463c524ef4a4873ca9624 /ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf | |
parent | e3756ba90a35af6e75c0bc7754524582554041a6 (diff) | |
download | edk2-a6a835bdb1f263fd696f02fc1773d1fedbdd93f6.zip edk2-a6a835bdb1f263fd696f02fc1773d1fedbdd93f6.tar.gz edk2-a6a835bdb1f263fd696f02fc1773d1fedbdd93f6.tar.bz2 |
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>
Diffstat (limited to 'ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf')
-rw-r--r-- | ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf b/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf index f2ac45d..104c7da 100644 --- a/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf +++ b/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf @@ -62,6 +62,7 @@ [FixedPcd]
gArmTokenSpaceGuid.PcdFvBaseAddress
gArmTokenSpaceGuid.PcdFvSize
+ gArmTokenSpaceGuid.PcdVFPEnabled
gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase
gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize
|