Skip to content

Commit

Permalink
Platform/Intel: Add SmmProfile enable/disable control for QSP
Browse files Browse the repository at this point in the history
Add PcdCpuSmmProfileEnable & PcdCpuSmmRestrictedMemoryAccess for
the SmmProfile enable/disable control for QSP.

Signed-off-by: Jiaxin Wu <[email protected]>
  • Loading branch information
jiaxinwu committed Sep 2, 2024
1 parent 41fa580 commit 7608d54
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
######################################
# Edk2 Configuration
######################################
#
# For X64, PcdCpuSmmRestrictedMemoryAccess must be FALSE if PcdCpuSmmProfileEnable is TRUE.
#
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmProfileEnable|FALSE
gEfiMdeModulePkgTokenSpaceGuid.PcdBrowerGrayOutReadOnlyMenu|TRUE
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
!if $(PEI_ARCH) == "IA32" && $(DXE_ARCH) == "X64"
Expand Down Expand Up @@ -203,6 +207,7 @@
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmCodeAccessCheckEnable |TRUE
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmRestrictedMemoryAccess|TRUE

[PcdsPatchableInModule.common]
######################################
Expand Down

0 comments on commit 7608d54

Please sign in to comment.