QuarkPlatformPkg: Set PcdSpeculationBarrierType to CPUID

Set PcdSpeculationBarrierType to use CPUID instead of the
default LFENCE in the BaseLib function SpeculationBarrier().
LFENCE requires SSE2, and Quark platforms do not support
SSE2.

Cc: Kelly Steele <kelly.steele@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Michael Kubacki <michael.a.kubacki@intel.com>
This commit is contained in:
Michael D Kinney
2019-04-29 16:22:09 -07:00
parent aec7465689
commit 24f4547c5c
2 changed files with 11 additions and 1 deletions

View File

@@ -406,6 +406,11 @@
gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
#
# Quark does not support LFENCE. Use CPUID as speculation barrier
#
gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType|0x02
[PcdsPatchableInModule]
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0