From f999350bcfc334af58fe76a4baad8d8f881bd0bd Mon Sep 17 00:00:00 2001 From: eric_tian Date: Mon, 23 Feb 2009 05:35:08 +0000 Subject: retire gEfiFirmwareVolumeDispatcherProtocolGuid as its original design is used to signify such FV need to be dispatched or not. Currently our code has not such usage model, so Mike recommended us to retire this guid git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7593 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c | 12 ------------ .../Library/GenericBdsLib/GenericBdsLib.inf | 3 +-- 2 files changed, 1 insertion(+), 14 deletions(-) (limited to 'IntelFrameworkModulePkg') diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c index f80f36ffc8..08ddc90ef6 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c @@ -1114,18 +1114,6 @@ BdsLibEnumerateAllBootOption ( &FvHandleBuffer ); for (Index = 0; Index < FvHandleCount; Index++) { - // - // Only care the dispatched FV. If no dispatch protocol on the FV, it is not dispatched, then skip it. - // - Status = gBS->HandleProtocol ( - FvHandleBuffer[Index], - &gEfiFirmwareVolumeDispatchProtocolGuid, - (VOID **) &Fv - ); - if (EFI_ERROR (Status)) { - continue; - } - gBS->HandleProtocol ( FvHandleBuffer[Index], &gEfiFirmwareVolume2ProtocolGuid, diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf b/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf index 4921ab990f..871216dea4 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf @@ -87,7 +87,7 @@ gPerformanceProtocolGuid ## SOMETIMES_PRODUCES ## Variable:L"PerfDataMemAddr" (The ACPI address of performance data) gEfiUartDevicePathGuid ## CONSUMES ## GUID (Identify the device path for UARD device) gEfiSasDevicePathGuid ## CONSUMES ## GUID (Identify the device path for SAS device) - + [Protocols] gEfiSimpleFileSystemProtocolGuid # PROTOCOL CONSUMES gEfiSimpleTextOutProtocolGuid # PROTOCOL CONSUMES @@ -102,7 +102,6 @@ gEfiLegacyBiosProtocolGuid # PROTOCOL SOMETIMES_CONSUMES gEfiCpuArchProtocolGuid # PROTOCOL CONSUMES gEfiDevicePathProtocolGuid # PROTOCOL CONSUMES - gEfiFirmwareVolumeDispatchProtocolGuid # PROTOCOL CONSUMES gEfiAcpiS3SaveProtocolGuid # PROTOCOL CONSUMES gEfiGraphicsOutputProtocolGuid # PROTOCOL SOMETIMES_CONSUMES ## not gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport gEfiUgaDrawProtocolGuid # PROTOCOL SOMETIMES_CONSUMES ## gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport -- cgit v1.2.3