From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3BDC320945BA1 for ; Mon, 25 Sep 2017 04:15:03 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2017 04:18:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,435,1500966000"; d="scan'208";a="315845787" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 25 Sep 2017 04:18:13 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 25 Sep 2017 04:18:13 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 25 Sep 2017 04:18:13 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Mon, 25 Sep 2017 19:18:11 +0800 From: "Zeng, Star" To: "Gao, Liming" , "edk2-devel@lists.01.org" CC: "Dong, Eric" , "Zeng, Star" Thread-Topic: [Patch 11/11] MdeModulePkg: Update Ppi/Protocol/Guid usage in INF files Thread-Index: AQHTNe5rRPI4FGKza0qTM/r26M2vg6LFdAAQ Date: Mon, 25 Sep 2017 11:18:10 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B979AF8@shsmsx102.ccr.corp.intel.com> References: <1506337584-9588-1-git-send-email-liming.gao@intel.com> <1506337584-9588-12-git-send-email-liming.gao@intel.com> In-Reply-To: <1506337584-9588-12-git-send-email-liming.gao@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch 11/11] MdeModulePkg: Update Ppi/Protocol/Guid usage in INF files X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2017 11:15:03 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng -----Original Message----- From: Gao, Liming=20 Sent: Monday, September 25, 2017 7:06 PM To: edk2-devel@lists.01.org Cc: Zeng, Star ; Dong, Eric Subject: [Patch 11/11] MdeModulePkg: Update Ppi/Protocol/Guid usage in INF = files Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao Cc: Star Zeng Cc: Eric Dong --- MdeModulePkg/Core/Dxe/DxeMain.inf | 2 +- MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf | 2 +- .../BootMaintenanceManagerUiLib.inf | 4 +--- MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf | 8 +++++-= -- MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf | 8 +++++-= -- MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf | 10 +++++-= ---- MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf | 2 +- MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf | 2 +- MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf | 4 ++-- MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf | 2 +- 10 files changed, 23 insertions(+), 21 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/DxeMain.inf b/MdeModulePkg/Core/Dxe/DxeM= ain.inf index 30d5984..e29d6c8 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain.inf +++ b/MdeModulePkg/Core/Dxe/DxeMain.inf @@ -107,7 +107,7 @@ ## CONSUMES ## Event ## PRODUCES ## Event gEfiEventExitBootServicesGuid - gEfiHobMemoryAllocModuleGuid ## CONSUMES ##= HOB + gEfiHobMemoryAllocModuleGuid ## SOMETIMES_CONSUMES ##= HOB gEfiFirmwareFileSystem2Guid ## CONSUMES ##= GUID # Used to compare with FV's file system guid and get the FV's file sy= stem format gEfiFirmwareFileSystem3Guid ## CONSUMES ##= GUID # Used to compare with FV's file system guid and get the FV's file sy= stem format gAprioriGuid ## SOMETIMES_CONSUMES ##= File diff --git a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf b/MdeModulePkg/Core/= PiSmmCore/PiSmmCore.inf index 95e34bd..49ae6fb 100644 --- a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf +++ b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf @@ -109,7 +109,7 @@ gEdkiiMemoryProfileGuid ## SOMETIMES_PRODUCES ## GUID # Install protocol gEdkiiSmmMemoryProfileGuid - gEdkiiPiSmmMemoryAttributesTableGuid ## SOMETIMES_PRODUCES ##= SystemTable + gEdkiiPiSmmMemoryAttributesTableGuid ## PRODUCES ## SystemTab= le ## SOMETIMES_CONSUMES ## SystemTable gLoadFixedAddressConfigurationTableGuid ## SOMETIMES_PRODUCES ## GUID # Install protocol diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenan= ceManagerUiLib.inf b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootM= aintenanceManagerUiLib.inf index 1c0c0e1..def923b 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManag= erUiLib.inf +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceMa +++ nagerUiLib.inf @@ -79,9 +79,7 @@ ## SOMETIMES_CONSUMES ## V= ariable:L"ConIn" (The device path of console in device) ## SOMETIMES_CONSUMES ## V= ariable:L"ConOut" (The device path of console out device) ## SOMETIMES_CONSUMES ## V= ariable:L"ErrOut" (The device path of error out device) - gEfiFileSystemVolumeLabelInfoIdGuid ## CONSUMES ## GUID (Indic= ate the information type is volume) - gEfiFileInfoGuid ## CONSUMES ## GUID (Indic= ate the information type is file) - gEfiIfrTianoGuid ## CONSUMES ## GUID (Exten= ded IFR Guid Opcode) + gEfiIfrTianoGuid ## SOMETIMES_CONSUMES ## G= UID (Extended IFR Guid Opcode) gEfiIfrFrontPageGuid ## CONSUMES ## GUID gEfiIfrBootMaintenanceGuid ## CONSUMES ## GUID =20 diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf b/MdeM= odulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf index a6cf54c..a7c3699 100644 --- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf +++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf @@ -66,15 +66,17 @@ =20 [Protocols] gEsrtManagementProtocolGuid ## CONSUMES - gEfiFirmwareManagementProtocolGuid ## SOMETIMES_CONSUMES + gEfiFirmwareManagementProtocolGuid ## CONSUMES gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES =20 [Guids] gEfiFmpCapsuleGuid ## SOMETIMES_CONSUMES ## GUID gWindowsUxCapsuleGuid ## SOMETIMES_CONSUMES ## GUID gEfiSystemResourceTableGuid ## SOMETIMES_CONSUMES ## GUID - gEfiCapsuleReportGuid ## CONSUMES ## Variable - gEfiCapsuleVendorGuid ## CONSUMES ## Variable + ## SOMETIMES_CONSUMES ## Variable:L"CapsuleMax" + ## SOMETIMES_PRODUCES ## Variable:L"CapsuleMax" + gEfiCapsuleReportGuid + gEfiCapsuleVendorGuid ## SOMETIMES_CONSUMES ## Variabl= e:L"CapsuleUpdateData" gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event =20 [Depex] diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf= b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf index 25b7d51..4191675 100644 --- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf +++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf @@ -69,15 +69,17 @@ =20 [Protocols] gEsrtManagementProtocolGuid ## CONSUMES - gEfiFirmwareManagementProtocolGuid ## SOMETIMES_CONSUMES + gEfiFirmwareManagementProtocolGuid ## CONSUMES gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES =20 [Guids] gEfiFmpCapsuleGuid ## SOMETIMES_CONSUMES ## GUID gWindowsUxCapsuleGuid ## SOMETIMES_CONSUMES ## GUID gEfiSystemResourceTableGuid ## SOMETIMES_CONSUMES ## GUID - gEfiCapsuleReportGuid ## CONSUMES ## Variable - gEfiCapsuleVendorGuid ## CONSUMES ## Variable + ## SOMETIMES_CONSUMES ## Variable:L"CapsuleMax" + ## SOMETIMES_PRODUCES ## Variable:L"CapsuleMax" + gEfiCapsuleReportGuid + gEfiCapsuleVendorGuid ## SOMETIMES_CONSUMES ## Variabl= e:L"CapsuleUpdateData" gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event =20 diff --git a/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf b/Mde= ModulePkg/Library/FileExplorerLib/FileExplorerLib.inf index c292aa2..75071d9 100644 --- a/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf +++ b/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf @@ -50,14 +50,14 @@ UefiHiiServicesLib =20 [Guids] - gEfiFileSystemVolumeLabelInfoIdGuid ## CONSUMES ## GUID (Indic= ate the information type is volume) - gEfiIfrTianoGuid ## CONSUMES ## GUID (Exten= ded IFR Guid Opcode) + gEfiFileSystemVolumeLabelInfoIdGuid ## SOMETIMES_CONSUMES ## G= UID (Indicate the information type is volume) + gEfiIfrTianoGuid ## SOMETIMES_CONSUMES ## G= UID (Extended IFR Guid Opcode) =20 [Protocols] - gEfiSimpleFileSystemProtocolGuid ## CONSUMES - gEfiHiiConfigAccessProtocolGuid ## CONSUMES + gEfiSimpleFileSystemProtocolGuid ## SOMETIMES_CONSUMES + gEfiHiiConfigAccessProtocolGuid ## PRODUCES gEfiFormBrowser2ProtocolGuid ## CONSUMES - gEfiDevicePathToTextProtocolGuid ## CONSUMES + gEfiDevicePathToTextProtocolGuid ## PRODUCES =20 [Depex.common.DXE_DRIVER] gEfiFormBrowser2ProtocolGuid AND gEfiHiiDatabaseProtocolGuid \ No newlin= e at end of file diff --git a/MdeModulePkg/Library/UefiSortLib/UefiSortLib.= inf b/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf index 32c02b0..4c3d5e0 100644 --- a/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf +++ b/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf @@ -42,6 +42,6 @@ DevicePathLib =20 [Protocols] - gEfiUnicodeCollation2ProtocolGuid ## CONSUMES + gEfiUnicodeCollation2ProtocolGuid ## SOMETIMES_CON= SUMES gEfiDevicePathProtocolGuid ## CONSUMES =20 diff --git a/MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf b/MdeModulePkg/Univ= ersal/EsrtDxe/EsrtDxe.inf index 2c66f15..06b3a08 100644 --- a/MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf +++ b/MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf @@ -58,7 +58,7 @@ [Protocols] gEfiFirmwareManagementProtocolGuid ## SOMETIMES_CONSUMES gEsrtManagementProtocolGuid ## PRODUCES - gEdkiiVariableLockProtocolGuid ## CONSUMES + gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES =20 [Pcd] gEfiMdeModulePkgTokenSpaceGuid.PcdMaxFmpEsrtCacheNum ##= CONSUMES diff --git a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf b/M= deModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf index 7f8f6cb..c5553a3 100644 --- a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf +++ b/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf @@ -1,7 +1,7 @@ ## @file # This driver produces security2 and security architectural protocol base= d on SecurityManagementLib. # -# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2017, Intel Corporation. All rights=20 +reserved.
# This program and the accompanying materials # are licensed and made a= vailable under the terms and conditions of the BSD License # which accomp= anies this distribution. The full text of the license may be found at @@ -5= 1,7 +51,7 @@ gEfiSecurityArchProtocolGuid ## PRODUCES gEfiSecurity2ArchProtocolGuid ## PRODUCES gEfiDeferredImageLoadProtocolGuid ## PRODUCES - gEfiDxeSmmReadyToLockProtocolGuid ## CONSUMES + gEfiDxeSmmReadyToLockProtocolGuid ## NOTIFY =20 [Depex] TRUE diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf b/M= deModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf index fefaefe..f7b53ea 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf +++ b/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf @@ -77,7 +77,7 @@ ## NOTIFY gEdkiiFormDisplayEngineProtocolGuid gEdkiiFormBrowserExProtocolGuid ## PRODUCES - gEfiRegularExpressionProtocolGuid ## CONSUMES + gEfiRegularExpressionProtocolGuid ## SOMETIMES_CONSUMES =20 [FeaturePcd] gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport = ## CONSUMES -- 2.8.0.windows.1