From nobody Sun May 5 07:49:24 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+46497+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+46497+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1566948500; cv=none; d=zoho.com; s=zohoarc; b=oQCEKwDezdjU/5UD+kQ3rH9MzMXSz7G8Vt+w2We38RteNzv88CNT3WTJ0LIo2qEJsgACjBbQJsfqrm6QfN8uyNfY8fy4/0czZMt2D3EC4JXv6a9oEB2U0MR5SRckMvmplsxToY9arLjm0b3xlRKohteD6LIssBVmHWTMc7wjIWg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566948500; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=wEmV8h4k9AydGj8ZuNP/nD1zC0fXcySEGHf/hCub3vs=; b=dXSRpYpBHQWJ9Ag1XyPYE/DrGL0+qVzQKOcXmXfBuF45/UHD8AdRmxyKv0vhekyAbmwkiGSKtiBMOCxJ/G6ikiEY0kyChdqi+t/1PPLa9rBiq7GdsRYvs6mA0166s1xg/UFPL8MSFltrduPg4lOqSpLR4DM4NMi9Y5MBUFpuyGA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+46497+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 1566948500878294.9477338052815; Tue, 27 Aug 2019 16:28:20 -0700 (PDT) Return-Path: X-Received: from mga12.intel.com (mga12.intel.com []) by groups.io with SMTP; Tue, 27 Aug 2019 16:28:20 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2019 16:28:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,439,1559545200"; d="scan'208";a="355931041" X-Received: from ray-dev.ccr.corp.intel.com ([10.239.9.9]) by orsmga005.jf.intel.com with ESMTP; 27 Aug 2019 16:28:19 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Hao A Wu Subject: [edk2-devel] [PATCH 1/2] PcAtChipsetPkg: add PcdRealTimeClockUpdateTimeout Date: Wed, 28 Aug 2019 07:27:24 +0800 Message-Id: <20190827232725.233124-2-ray.ni@intel.com> In-Reply-To: <20190827232725.233124-1-ray.ni@intel.com> References: <20190827232725.233124-1-ray.ni@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,ray.ni@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1566948500; bh=xFyxUCbm0IFeP89r59UZz9dbBECERPwG/nndIqVQ5aU=; h=Cc:Date:From:Reply-To:Subject:To; b=Fr2w3do127WYk2VTgDZ2eRRoPdd7mqCM3Q+JZAC3K5nLJ78U6zbF9osfabpdw6xa5k0 pJzl9L0Vb55UEtW2sdL7DIddQz7UMnmQpTvN3ByRKnl0YwMyuAXI8snPrt2tQQsc4y8t2 wfL4mDcvz5ksf9r6810q1rBIAj5BetmlRHE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" PcdRealTimeClockUpdateTimeout is now defined in MdeModulePkg.dec. This is the only reason that causes PcAtChipsetPkg depends on MdeModulePkg. Move the PCD from MdeModulePkg.dec to PcAtChipsetPkg.dec removes such dependency. Signed-off-by: Ray Ni Cc: Hao A Wu Reviewed-by: Hao A Wu --- PcAtChipsetPkg/PcAtChipsetPkg.dec | 6 +++++- .../PcatRealTimeClockRuntimeDxe.inf | 5 ++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dec b/PcAtChipsetPkg/PcAtChipset= Pkg.dec index d99d91496b..aad53b07c8 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.dec +++ b/PcAtChipsetPkg/PcAtChipsetPkg.dec @@ -4,7 +4,7 @@ # This package is designed to public interfaces and implementation which f= ollows # PcAt defacto standard. # -# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.
# Copyright (c) 2017, AMD Inc. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -138,5 +138,9 @@ [PcdsFixedAtBuild, PcdsPatchableInModule] # @Prompt RTC Target Register address gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|0x71|UINT8|0x0000001F =20 + ## RTC Update Timeout Value(microsecond). + # @Prompt RTC Update Timeout Value. + gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT3= 2|0x00000020 + [UserExtensions.TianoCore."ExtraFiles"] PcAtChipsetPkgExtra.uni diff --git a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRu= ntimeDxe.inf b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClock= RuntimeDxe.inf index 9a0948be70..c73ee98105 100644 --- a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDx= e.inf +++ b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDx= e.inf @@ -4,7 +4,7 @@ # This driver provides GetTime, SetTime, GetWakeupTime, SetWakeupTime serv= ices to Runtime Service Table. # It will install a tagging protocol with gEfiRealTimeClockArchProtocolGui= d. # -# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
# Copyright (c) 2017, AMD Inc. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -33,7 +33,6 @@ [Sources] =20 [Packages] MdePkg/MdePkg.dec - MdeModulePkg/MdeModulePkg.dec PcAtChipsetPkg/PcAtChipsetPkg.dec =20 [LibraryClasses] @@ -68,7 +67,7 @@ [FixedPcd] gPcAtChipsetPkgTokenSpaceGuid.PcdInitialValueRtcRegisterD ## CONSUMES =20 [Pcd] - gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout ## CONSUMES + gPcAtChipsetPkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout ## CONSUMES gPcAtChipsetPkgTokenSpaceGuid.PcdMinimalValidYear ## CONSUMES gPcAtChipsetPkgTokenSpaceGuid.PcdMaximalValidYear ## CONSUMES gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister ## 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 (#46497): https://edk2.groups.io/g/devel/message/46497 Mute This Topic: https://groups.io/mt/33051694/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- From nobody Sun May 5 07:49:24 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+46498+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+46498+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1566948502; cv=none; d=zoho.com; s=zohoarc; b=ZUcdrXXL96qKiDkKwfAJBmPv5Y7m30o/1QlIfSpVaWuvmYNNP63l4JMkt+CwjXApLcL5WX/3BH6PeLU3wvTH5SRLt6d4Y0UcOMPaOU9+SGeyUXkujl+l7ZpGPJBxK/1tc5nKetKOKxXldyu+i2lBec4zpNO+cN/9gxi5+RHNgd4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566948502; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=iohSa4BCfwVB4qgktbcIx9nQDaYodLF17x4MRwTjK0U=; b=WLRZ2Ezuf87LT5KNfik8JFYliP/Vj/awdEbO3hg068z3TbUA/hI2wvlUmpoekq99INEDhoIjckWQEmtwNLlgl9p+JI2XyGg77SM5M9sN1ErHwFcO+QNqCvZnbFkrBYVl39aodYTPBsUMUsLUBJjKr8UKlYvssR2VQ7eAvTWRbNI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+46498+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 1566948502314181.1312201805406; Tue, 27 Aug 2019 16:28:22 -0700 (PDT) Return-Path: X-Received: from mga12.intel.com (mga12.intel.com []) by groups.io with SMTP; Tue, 27 Aug 2019 16:28:21 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2019 16:28:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,439,1559545200"; d="scan'208";a="355931045" X-Received: from ray-dev.ccr.corp.intel.com ([10.239.9.9]) by orsmga005.jf.intel.com with ESMTP; 27 Aug 2019 16:28:20 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Hao A Wu , Jian J Wang Subject: [edk2-devel] [PATCH 2/2] MdeModulePkg: Remove PcdRealTimeClockUpdateTimeout Date: Wed, 28 Aug 2019 07:27:25 +0800 Message-Id: <20190827232725.233124-3-ray.ni@intel.com> In-Reply-To: <20190827232725.233124-1-ray.ni@intel.com> References: <20190827232725.233124-1-ray.ni@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,ray.ni@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1566948501; bh=aM1Y2mYbrjyVej4XrdarIm+pXq19HzY1EgKiIYr7dMI=; h=Cc:Date:From:Reply-To:Subject:To; b=D1WKqIy/hLzrdcD0NhKaEva8DkaCfK2nwc3gqJ0iICW54Yue1DXzSn8AeUWNdijCK8x NLoA2aKpIJs6Y81h0FTuBkW+6iMTfoCd4dVU8ExYd4D7fG62GQoKb8nHQaJE/AOOOnTDc tAScE82jyuwfp2nuzEjOhKGHqRrBWQ+GiQk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" The PCD is moved to PcAtChipsetPkg so remove it from MdeModulePkg. Signed-off-by: Ray Ni Cc: Hao A Wu Cc: Jian J Wang Reviewed-by: Hao A Wu --- MdeModulePkg/MdeModulePkg.dec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 19935c88fa..17beb45235 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1128,10 +1128,6 @@ [PcdsFixedAtBuild, PcdsPatchableInModule] # @Prompt Maximum number of PEI performance log entries. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries16|0|UINT16= |0x00010035 =20 - ## RTC Update Timeout Value(microsecond). - # @Prompt RTC Update Timeout Value. - gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT= 32|0x00010034 - ## Indicates the 16550 serial port registers are in MMIO space, or in I/= O space. Default is I/O space.

# TRUE - 16550 serial port registers are in MMIO space.
# FALSE - 16550 serial port registers are in I/O space.
--=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 (#46498): https://edk2.groups.io/g/devel/message/46498 Mute This Topic: https://groups.io/mt/33051695/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-