mirror of https://github.com/acidanthera/audk.git
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:
parent
aec7465689
commit
24f4547c5c
|
@ -2,7 +2,7 @@
|
|||
# Clanton Peak CRB platform with 32-bit DXE for 4MB/8MB flash devices.
|
||||
#
|
||||
# This package provides Clanton Peak CRB platform specific modules.
|
||||
# Copyright (c) 2013 - 2018 Intel Corporation.
|
||||
# Copyright (c) 2013 - 2019 Intel Corporation.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
|
@ -448,6 +448,11 @@
|
|||
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"QUARKREC.Cap"
|
||||
!endif
|
||||
|
||||
#
|
||||
# Quark does not support LFENCE. Use CPUID as speculation barrier
|
||||
#
|
||||
gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType|0x02
|
||||
|
||||
[PcdsPatchableInModule]
|
||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue