From: Jiewen Yao Date: Mon, 6 Feb 2017 17:00:45 +0000 (-0800) Subject: MdeModulePkg/dec: Add PcdSmiHandlerProfilePropertyMask. X-Git-Tag: edk2-stable201903~4585 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c5e7ba5776176ecfdda7b7dd8c2b3a7f855fee0b;hp=65fb940adb68fdc0108daf33036b5bebe6169f4b MdeModulePkg/dec: Add PcdSmiHandlerProfilePropertyMask. This PCD is linked by PiSmmCore to control if it enables SMI handler profile feature. Cc: Feng Tian Cc: Star Zeng Cc: Michael D Kinney Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao Reviewed-by: Star Zeng --- diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 1e5c24ad96..426634fbbd 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1050,6 +1050,12 @@ # @Expression 0x80000002 | (gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask & 0x7C) == 0 gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask|0x0|UINT8|0x30001041 + ## The mask is used to control SmiHandlerProfile behavior.

+ # BIT0 - Enable SmiHandlerProfile.
+ # @Prompt SmiHandlerProfile Property. + # @Expression 0x80000002 | (gEfiMdeModulePkgTokenSpaceGuid.PcdSmiHandlerProfilePropertyMask & 0xFE) == 0 + gEfiMdeModulePkgTokenSpaceGuid.PcdSmiHandlerProfilePropertyMask|0|UINT8|0x00000108 + ## This flag is to control which memory types of alloc info will be recorded by DxeCore & SmmCore.

# For SmmCore, only EfiRuntimeServicesCode and EfiRuntimeServicesData are valid.
#