From nobody Tue Nov 26 03:43:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62292+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62292+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594267544; cv=none; d=zohomail.com; s=zohoarc; b=X1OyrHZhmgNXfXB5edievODkbjhfTBte6mO7oONo3rc08k5OzGKhumuaGmi3mHq5i6E2HeucwJGrmXDDyCldCgNOdGCHkdXGx08a40PRAU8JZHNnlnCDcxiBAD6UxMArYzKBmKz9fqxrCqbG1DJJAAA9DC0eG6tNcr20bTqNcCY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594267544; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=5+Ag1daLd1IidwhTvJiR4UWfmvmyDsq1HN6p1qym9Fs=; b=Pos6gxCNgUBJdaDvrFVb5WDwYXxx2/Bk03KIKSNakQ5Qri7dHKNfPuULVNCHka2GsiQ01+wFFzohDs3AO//cfQ9rYowIaDOdbJ8mMx8+Y0taIGvrDnttKZBvfdfs0ns752dtseb0IAIbLJ/hPvI1h4hl0CZGOcIDGkz8j8+hBIo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62292+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594267544150799.9279153620952; Wed, 8 Jul 2020 21:05:44 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id lFRzYY1788612xVnQWJB1kT3; Wed, 08 Jul 2020 21:05:43 -0700 X-Received: from mga07.intel.com (mga07.intel.com []) by mx.groups.io with SMTP id smtpd.web11.4378.1594267536731145998 for ; Wed, 08 Jul 2020 21:05:42 -0700 IronPort-SDR: K9Loy4uPEoav+Ow2DJpdKtYOTlnuHSUJxUqYMuTlECG3jvNhsu9OmdQe/VKjBll9HhPApGO2Vj XHkmSM/WhCAA== X-IronPort-AV: E=McAfee;i="6000,8403,9676"; a="212851127" X-IronPort-AV: E=Sophos;i="5.75,330,1589266800"; d="scan'208";a="212851127" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2020 21:05:42 -0700 IronPort-SDR: HPNchMJVwc0tjFZujLDRG7fHvrt2LiWz346JLV3o3INRgitpyJaVAEFADH1NK2xuN+2KgZ+v0h AhtlEbt5Pw4g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,330,1589266800"; d="scan'208";a="280163967" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.255.230.8]) by orsmga003.jf.intel.com with ESMTP; 08 Jul 2020 21:05:41 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Liming Gao Subject: [edk2-devel] [Patch v2 15/16] MdePkg/Library/BaseStackCheckLib: Fix PCD type in INF Date: Wed, 8 Jul 2020 21:05:20 -0700 Message-Id: <20200709040521.3748-16-michael.d.kinney@intel.com> In-Reply-To: <20200709040521.3748-1-michael.d.kinney@intel.com> References: <20200709040521.3748-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,michael.d.kinney@intel.com X-Gm-Message-State: i2IYG9FDkymSYxOtNen5EEDzx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594267543; bh=V6ifFvSzJqlXyyN6sFO1SZtJ6M4mBC6eouj6sh4STr8=; h=Cc:Date:From:Reply-To:Subject:To; b=Jglr4YYC9X79kg5aovCN2Hzg96ROK94B3jIm9Kjw/8FdrEKAMo70IanzUXjbGltdSSx v6VR8CYiYnQ8xGbJAlRblgfB/ZrUf6sa7jgTOzI2UAgMIRmdsJcP4gB5FJBcGxz7Fs3lh 3W3/26Y9Y6wqmH85H/p9+LlQr6p485pOmxs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Update INF file to use a [Pcd] section instead of a [FixedPcd] section. [FixedPcd] should only be used in an INF file if the source code looks up the PCD value using the PcdLib FixedPcdGetxx() services. Using [FixedPcd] forces a platform to configure the PCD to type FixedAtBuild. In this case, PcdDebugPropertyMask supports PCD types FixedAtBuild and PatchableInModule. Without this change any platform that wants to use PcdDebugPropertyMask as type PatchableInModule breaks the build. Cc: Liming Gao Signed-off-by: Michael D Kinney Reviewed-by: Liming Gao --- MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf b/MdePk= g/Library/BaseStackCheckLib/BaseStackCheckLib.inf index 4ae3bd1a82..0dc3c4a83a 100644 --- a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf +++ b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf @@ -36,5 +36,5 @@ [LibraryClasses] BaseLib DebugLib =20 -[FixedPcd] +[Pcd] gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62292): https://edk2.groups.io/g/devel/message/62292 Mute This Topic: https://groups.io/mt/75391622/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-