From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.27850.1649672047375397921 for ; Mon, 11 Apr 2022 03:14:08 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=mZ+095oS; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: gang.c.chen@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649672047; x=1681208047; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WKyBAOvvSNaEWxmZKIp/K82odq8wvebC91b3Itfmtos=; b=mZ+095oSzyTj6coh6DWjSkXIMEzWfBxixnv7DhKvkUVpJvcFyDghz4zb ru6R3m/7WhZO4vCJqX0XikeRado643dwsntOwoerqRPNCrRPAWaqLYvuj Bs+e89rzUduaY6K/vFau/vyzvJJu/24yW3Q+f+aSlb5diZrNQNiZCLFsV 9UOZj39tSwkpk+l11tfUQVer9k4QvzFf0SfOOvNVw0H0BdMiAGYoAFwYu YoazpgntJ1RCMKD7MG16SnLKH5yD+O42FJl8WFQuV4TlUTA3nzCZUHwEE HDq7oFtZ2IgrtDQW1rq3d2RpBRzPWNKnq6wL2mpeZlL0URGtcg8MvbEsf Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10313"; a="259677092" X-IronPort-AV: E=Sophos;i="5.90,251,1643702400"; d="scan'208";a="259677092" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2022 03:14:06 -0700 X-IronPort-AV: E=Sophos;i="5.90,251,1643702400"; d="scan'208";a="572060693" Received: from gchen29.sh.intel.com ([10.239.154.135]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2022 03:14:04 -0700 From: "Chen, Gang C" To: devel@edk2.groups.io Cc: guomin.jiang@intel.com, dandan.bi@intel.com, di.zhang@intel.com, Jian J Wang , Liming Gao Subject: [PATCH 1/2] MdeModulePkg/dec: update the PcdCpuStackGuard property Date: Mon, 11 Apr 2022 18:13:49 +0800 Message-Id: <20220411101350.697997-2-gang.c.chen@intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220411101350.697997-1-gang.c.chen@intel.com> References: <20220411101350.697997-1-gang.c.chen@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Update the PcdCpuStackGuard from PcdsFixedAtBuild to PcdsDynamicEx for the requirement to set different value in FSP API mode and FSP Dispatch mode. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3897 Cc: Jian J Wang Cc: Liming Gao Cc: devel@edk2.groups.io Signed-off-by: Gang Chen --- MdeModulePkg/MdeModulePkg.dec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 463e889e9a..72e7e2eced 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1070,13 +1070,6 @@ # @Prompt The Heap Guard feature mask gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPropertyMask|0x0|UINT8|0x30001054 - ## Indicates if UEFI Stack Guard will be enabled. - # If enabled, stack overflow in UEFI can be caught, preventing chaotic consequences.

- # TRUE - UEFI Stack Guard will be enabled.
- # FALSE - UEFI Stack Guard will be disabled.
- # @Prompt Enable UEFI Stack Guard. - gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard|FALSE|BOOLEAN|0x30001055 - [PcdsFixedAtBuild, PcdsPatchableInModule] ## Dynamic type PCD can be registered callback function for Pcd setting action. # PcdMaxPeiPcdCallBackNumberPerPcdEntry indicates the maximum number of callback function @@ -2079,6 +2072,13 @@ # @Prompt Enable PCIe Resizable BAR Capability support. gEfiMdeModulePkgTokenSpaceGuid.PcdPcieResizableBarSupport|FALSE|BOOLEAN|0x10000024 + ## Indicates if UEFI Stack Guard will be enabled. + # If enabled, stack overflow in UEFI can be caught, preventing chaotic consequences.

+ # TRUE - UEFI Stack Guard will be enabled.
+ # FALSE - UEFI Stack Guard will be disabled.
+ # @Prompt Enable UEFI Stack Guard. + gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard|FALSE|BOOLEAN|0x00010025 + [PcdsPatchableInModule] ## Specify memory size with page number for PEI code when # Loading Module at Fixed Address feature is enabled. -- 2.35.1