mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 14:44:28 +02:00
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.
|
# Clanton Peak CRB platform with 32-bit DXE for 4MB/8MB flash devices.
|
||||||
#
|
#
|
||||||
# This package provides Clanton Peak CRB platform specific modules.
|
# 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
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
#
|
#
|
||||||
@ -448,6 +448,11 @@
|
|||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"QUARKREC.Cap"
|
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"QUARKREC.Cap"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# Quark does not support LFENCE. Use CPUID as speculation barrier
|
||||||
|
#
|
||||||
|
gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType|0x02
|
||||||
|
|
||||||
[PcdsPatchableInModule]
|
[PcdsPatchableInModule]
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
|
||||||
|
@ -406,6 +406,11 @@
|
|||||||
|
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
|
gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
|
||||||
|
|
||||||
|
#
|
||||||
|
# Quark does not support LFENCE. Use CPUID as speculation barrier
|
||||||
|
#
|
||||||
|
gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType|0x02
|
||||||
|
|
||||||
[PcdsPatchableInModule]
|
[PcdsPatchableInModule]
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user