From 3673214c6e0eb94de9e52221cca454a3ba5976ab Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Mon, 25 Sep 2017 19:06:24 +0800 Subject: 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 Reviewed-by: Star Zeng --- .../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 +- 5 files changed, 17 insertions(+), 15 deletions(-) (limited to 'MdeModulePkg/Library') diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf index 1c0c0e1aa1..def923b977 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf @@ -79,9 +79,7 @@ ## SOMETIMES_CONSUMES ## Variable:L"ConIn" (The device path of console in device) ## SOMETIMES_CONSUMES ## Variable:L"ConOut" (The device path of console out device) ## SOMETIMES_CONSUMES ## Variable:L"ErrOut" (The device path of error out device) - gEfiFileSystemVolumeLabelInfoIdGuid ## CONSUMES ## GUID (Indicate the information type is volume) - gEfiFileInfoGuid ## CONSUMES ## GUID (Indicate the information type is file) - gEfiIfrTianoGuid ## CONSUMES ## GUID (Extended IFR Guid Opcode) + gEfiIfrTianoGuid ## SOMETIMES_CONSUMES ## GUID (Extended IFR Guid Opcode) gEfiIfrFrontPageGuid ## CONSUMES ## GUID gEfiIfrBootMaintenanceGuid ## CONSUMES ## GUID diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf index a6cf54cb6b..a7c36993c4 100644 --- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf +++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf @@ -66,15 +66,17 @@ [Protocols] gEsrtManagementProtocolGuid ## CONSUMES - gEfiFirmwareManagementProtocolGuid ## SOMETIMES_CONSUMES + gEfiFirmwareManagementProtocolGuid ## CONSUMES gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES [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 ## Variable:L"CapsuleUpdateData" gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event [Depex] diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf index 25b7d51f57..41916755da 100644 --- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf +++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf @@ -69,15 +69,17 @@ [Protocols] gEsrtManagementProtocolGuid ## CONSUMES - gEfiFirmwareManagementProtocolGuid ## SOMETIMES_CONSUMES + gEfiFirmwareManagementProtocolGuid ## CONSUMES gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES [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 ## Variable:L"CapsuleUpdateData" gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event diff --git a/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf b/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf index c292aa2e49..75071d9541 100644 --- a/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf +++ b/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf @@ -50,14 +50,14 @@ UefiHiiServicesLib [Guids] - gEfiFileSystemVolumeLabelInfoIdGuid ## CONSUMES ## GUID (Indicate the information type is volume) - gEfiIfrTianoGuid ## CONSUMES ## GUID (Extended IFR Guid Opcode) + gEfiFileSystemVolumeLabelInfoIdGuid ## SOMETIMES_CONSUMES ## GUID (Indicate the information type is volume) + gEfiIfrTianoGuid ## SOMETIMES_CONSUMES ## GUID (Extended IFR Guid Opcode) [Protocols] - gEfiSimpleFileSystemProtocolGuid ## CONSUMES - gEfiHiiConfigAccessProtocolGuid ## CONSUMES + gEfiSimpleFileSystemProtocolGuid ## SOMETIMES_CONSUMES + gEfiHiiConfigAccessProtocolGuid ## PRODUCES gEfiFormBrowser2ProtocolGuid ## CONSUMES - gEfiDevicePathToTextProtocolGuid ## CONSUMES + gEfiDevicePathToTextProtocolGuid ## PRODUCES [Depex.common.DXE_DRIVER] gEfiFormBrowser2ProtocolGuid AND gEfiHiiDatabaseProtocolGuid \ No newline at end of file diff --git a/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf b/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf index 32c02b012f..4c3d5e0545 100644 --- a/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf +++ b/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf @@ -42,6 +42,6 @@ DevicePathLib [Protocols] - gEfiUnicodeCollation2ProtocolGuid ## CONSUMES + gEfiUnicodeCollation2ProtocolGuid ## SOMETIMES_CONSUMES gEfiDevicePathProtocolGuid ## CONSUMES -- cgit v1.2.3