1 ## @file 2 # Provides interface to advanced shell functionality for parsing both handle and protocol database. 3 # Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved. <BR> 4 # (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR> 5 # (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR> 6 # 7 # This program and the accompanying materials 8 # are licensed and made available under the terms and conditions of the BSD License 9 # which accompanies this distribution. The full text of the license may be found at 10 # http://opensource.org/licenses/bsd-license.php 11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 13 # 14 # 15 ## 16 17 [Defines] 18 INF_VERSION = 0x00010006 19 BASE_NAME = UefiHandleParsingLib 20 FILE_GUID = 3CDC7177-CC2A-4678-BA8F-1A936A093FA4 21 MODULE_TYPE = UEFI_DRIVER 22 VERSION_STRING = 1.0 23 LIBRARY_CLASS = HandleParsingLib|UEFI_APPLICATION UEFI_DRIVER DXE_RUNTIME_DRIVER 24 CONSTRUCTOR = HandleParsingLibConstructor 25 DESTRUCTOR = HandleParsingLibDestructor 26 27 # 28 # VALID_ARCHITECTURES = IA32 X64 IPF EBC 29 # 30 31 [Sources.common] 32 UefiHandleParsingLib.c 33 UefiHandleParsingLib.h 34 UefiHandleParsingLib.uni 35 36 [Packages] 37 MdePkg/MdePkg.dec 38 MdeModulePkg/MdeModulePkg.dec 39 ShellPkg/ShellPkg.dec 40 41 [LibraryClasses] 42 UefiBootServicesTableLib 43 MemoryAllocationLib 44 DevicePathLib 45 BaseLib 46 BaseMemoryLib 47 DebugLib 48 FileHandleLib 49 PrintLib 50 UefiLib 51 HiiLib 52 SortLib 53 54 [Protocols] 55 gEfiSimpleFileSystemProtocolGuid ## CONSUMES 56 57 # shell 2.0 58 gEfiShellProtocolGuid ## SOMETIMES_CONSUMES 59 gEfiShellParametersProtocolGuid ## SOMETIMES_CONSUMES 60 61 # 'old' shell 62 gEfiShellEnvironment2Guid ## SOMETIMES_CONSUMES 63 gEfiShellInterfaceGuid ## SOMETIMES_CONSUMES 64 65 gEfiUnicodeCollation2ProtocolGuid ## CONSUMES 66 gEfiDevicePathToTextProtocolGuid ## CONSUMES 67 gEfiBusSpecificDriverOverrideProtocolGuid ## CONSUMES 68 gEfiDevicePathUtilitiesProtocolGuid ## CONSUMES 69 gEfiDevicePathFromTextProtocolGuid ## CONSUMES 70 gEfiPlatformDriverOverrideProtocolGuid ## CONSUMES 71 gEfiSimpleTextInProtocolGuid ## CONSUMES 72 gEfiPlatformToDriverConfigurationProtocolGuid ## CONSUMES 73 gEfiDriverSupportedEfiVersionProtocolGuid ## CONSUMES 74 gEfiLoadedImageProtocolGuid ## CONSUMES 75 gEfiDevicePathProtocolGuid ## CONSUMES 76 gEfiLoadedImageDevicePathProtocolGuid ## CONSUMES 77 gEfiSimpleTextOutProtocolGuid ## UNDEFINED 78 gEfiSimplePointerProtocolGuid ## UNDEFINED 79 gEfiAbsolutePointerProtocolGuid ## UNDEFINED 80 gEfiSerialIoProtocolGuid ## UNDEFINED 81 gEfiEdidDiscoveredProtocolGuid ## UNDEFINED 82 gEfiEdidActiveProtocolGuid ## UNDEFINED 83 gEfiEdidOverrideProtocolGuid ## UNDEFINED 84 gEfiLoadFileProtocolGuid ## UNDEFINED 85 gEfiLoadFile2ProtocolGuid ## UNDEFINED 86 gEfiTapeIoProtocolGuid ## UNDEFINED 87 gEfiDiskIoProtocolGuid ## UNDEFINED 88 gEfiBlockIoProtocolGuid ## UNDEFINED 89 gEfiUnicodeCollationProtocolGuid ## UNDEFINED 90 gEfiPciRootBridgeIoProtocolGuid ## UNDEFINED 91 gEfiPciIoProtocolGuid ## UNDEFINED 92 gEfiScsiPassThruProtocolGuid ## UNDEFINED 93 gEfiScsiIoProtocolGuid ## UNDEFINED 94 gEfiExtScsiPassThruProtocolGuid ## UNDEFINED 95 gEfiIScsiInitiatorNameProtocolGuid ## UNDEFINED 96 gEfiUsbIoProtocolGuid ## UNDEFINED 97 gEfiUsbHcProtocolGuid ## UNDEFINED 98 gEfiUsb2HcProtocolGuid ## UNDEFINED 99 gEfiDebugSupportProtocolGuid ## UNDEFINED 100 gEfiDebugPortProtocolGuid ## UNDEFINED 101 gEfiDecompressProtocolGuid ## UNDEFINED 102 gEfiAcpiTableProtocolGuid ## UNDEFINED 103 gEfiEbcProtocolGuid ## UNDEFINED 104 gEfiSimpleNetworkProtocolGuid ## UNDEFINED 105 gEfiNetworkInterfaceIdentifierProtocolGuid ## UNDEFINED 106 gEfiNetworkInterfaceIdentifierProtocolGuid_31 ## UNDEFINED 107 gEfiPxeBaseCodeProtocolGuid ## UNDEFINED 108 gEfiPxeBaseCodeCallbackProtocolGuid ## UNDEFINED 109 gEfiBisProtocolGuid ## UNDEFINED 110 gEfiManagedNetworkServiceBindingProtocolGuid ## UNDEFINED 111 gEfiManagedNetworkProtocolGuid ## UNDEFINED 112 gEfiArpServiceBindingProtocolGuid ## UNDEFINED 113 gEfiArpProtocolGuid ## UNDEFINED 114 gEfiDhcp4ServiceBindingProtocolGuid ## UNDEFINED 115 gEfiDhcp4ProtocolGuid ## UNDEFINED 116 gEfiTcp4ServiceBindingProtocolGuid ## UNDEFINED 117 gEfiTcp4ProtocolGuid ## UNDEFINED 118 gEfiIp4ServiceBindingProtocolGuid ## UNDEFINED 119 gEfiIp4ProtocolGuid ## UNDEFINED 120 gEfiIp4ConfigProtocolGuid ## UNDEFINED 121 gEfiIp4Config2ProtocolGuid ## UNDEFINED 122 gEfiUdp4ServiceBindingProtocolGuid ## UNDEFINED 123 gEfiUdp4ProtocolGuid ## UNDEFINED 124 gEfiMtftp4ServiceBindingProtocolGuid ## UNDEFINED 125 gEfiMtftp4ProtocolGuid ## UNDEFINED 126 gEfiAuthenticationInfoProtocolGuid ## UNDEFINED 127 gEfiHashServiceBindingProtocolGuid ## UNDEFINED 128 gEfiHashProtocolGuid ## UNDEFINED 129 gEfiHiiFontProtocolGuid ## UNDEFINED 130 gEfiHiiStringProtocolGuid ## UNDEFINED 131 gEfiHiiImageProtocolGuid ## UNDEFINED 132 gEfiHiiConfigRoutingProtocolGuid ## UNDEFINED 133 gEfiHiiConfigAccessProtocolGuid ## UNDEFINED 134 gEfiFormBrowser2ProtocolGuid ## UNDEFINED 135 gEfiDeviceIoProtocolGuid ## UNDEFINED 136 gEfiUgaDrawProtocolGuid ## UNDEFINED 137 gEfiUgaIoProtocolGuid ## UNDEFINED 138 gEfiDriverConfigurationProtocolGuid ## UNDEFINED 139 gEfiDriverConfiguration2ProtocolGuid ## UNDEFINED 140 gEfiSimpleTextInputExProtocolGuid ## UNDEFINED 141 gEfiIp6ServiceBindingProtocolGuid ## UNDEFINED 142 gEfiIp6ProtocolGuid ## UNDEFINED 143 gEfiIp6ConfigProtocolGuid ## UNDEFINED 144 gEfiMtftp6ServiceBindingProtocolGuid ## UNDEFINED 145 gEfiMtftp6ProtocolGuid ## UNDEFINED 146 gEfiDhcp6ServiceBindingProtocolGuid ## UNDEFINED 147 gEfiDhcp6ProtocolGuid ## UNDEFINED 148 gEfiUdp6ServiceBindingProtocolGuid ## UNDEFINED 149 gEfiUdp6ProtocolGuid ## UNDEFINED 150 gEfiTcp6ServiceBindingProtocolGuid ## UNDEFINED 151 gEfiTcp6ProtocolGuid ## UNDEFINED 152 gEfiVlanConfigProtocolGuid ## UNDEFINED 153 gEfiEapProtocolGuid ## UNDEFINED 154 gEfiEapManagementProtocolGuid ## UNDEFINED 155 gEfiFtp4ServiceBindingProtocolGuid ## UNDEFINED 156 gEfiFtp4ProtocolGuid ## UNDEFINED 157 gEfiIpSecConfigProtocolGuid ## UNDEFINED 158 gEfiDriverHealthProtocolGuid ## UNDEFINED 159 gEfiDeferredImageLoadProtocolGuid ## UNDEFINED 160 gEfiUserCredentialProtocolGuid ## UNDEFINED 161 gEfiUserManagerProtocolGuid ## UNDEFINED 162 gEfiAtaPassThruProtocolGuid ## UNDEFINED 163 gEfiFirmwareManagementProtocolGuid ## UNDEFINED 164 gEfiIpSecProtocolGuid ## UNDEFINED 165 gEfiIpSec2ProtocolGuid ## UNDEFINED 166 gEfiKmsProtocolGuid ## UNDEFINED 167 gEfiBlockIo2ProtocolGuid ## UNDEFINED 168 gEfiStorageSecurityCommandProtocolGuid ## UNDEFINED 169 gEfiUserCredential2ProtocolGuid ## UNDEFINED 170 gPcdProtocolGuid ## UNDEFINED 171 gEfiTcgProtocolGuid ## UNDEFINED 172 gEfiHiiPackageListProtocolGuid ## UNDEFINED 173 gEfiDriverFamilyOverrideProtocolGuid ## UNDEFINED 174 gEfiIdeControllerInitProtocolGuid ## UNDEFINED 175 gEfiDiskIo2ProtocolGuid ## UNDEFINED 176 gEfiAdapterInformationProtocolGuid ## UNDEFINED 177 gEfiShellDynamicCommandProtocolGuid ## UNDEFINED 178 gEfiDiskInfoProtocolGuid ## UNDEFINED 179 gGetPcdInfoProtocolGuid ## UNDEFINED 180 gEfiBdsArchProtocolGuid ## UNDEFINED 181 gEfiCpuArchProtocolGuid ## UNDEFINED 182 gEfiMetronomeArchProtocolGuid ## UNDEFINED 183 gEfiMonotonicCounterArchProtocolGuid ## UNDEFINED 184 gEfiRealTimeClockArchProtocolGuid ## UNDEFINED 185 gEfiResetArchProtocolGuid ## UNDEFINED 186 gEfiRuntimeArchProtocolGuid ## UNDEFINED 187 gEfiSecurityArchProtocolGuid ## UNDEFINED 188 gEfiTimerArchProtocolGuid ## UNDEFINED 189 gEfiVariableWriteArchProtocolGuid ## UNDEFINED 190 gEfiVariableArchProtocolGuid ## UNDEFINED 191 gEfiSecurityPolicyProtocolGuid ## UNDEFINED 192 gEfiWatchdogTimerArchProtocolGuid ## UNDEFINED 193 gEfiStatusCodeRuntimeProtocolGuid ## UNDEFINED 194 gEfiSmbusHcProtocolGuid ## UNDEFINED 195 gEfiFirmwareVolume2ProtocolGuid ## UNDEFINED 196 gEfiFirmwareVolumeBlockProtocolGuid ## UNDEFINED 197 gEfiCapsuleArchProtocolGuid ## UNDEFINED 198 gEfiMpServiceProtocolGuid ## UNDEFINED 199 gEfiPciHostBridgeResourceAllocationProtocolGuid ## UNDEFINED 200 gEfiPciPlatformProtocolGuid ## UNDEFINED 201 gEfiPciOverrideProtocolGuid ## UNDEFINED 202 gEfiPciEnumerationCompleteProtocolGuid ## UNDEFINED 203 gEfiIncompatiblePciDeviceSupportProtocolGuid ## UNDEFINED 204 gEfiPciHotPlugInitProtocolGuid ## UNDEFINED 205 gEfiPciHotPlugRequestProtocolGuid ## UNDEFINED 206 gEfiSmbiosProtocolGuid ## UNDEFINED 207 gEfiS3SaveStateProtocolGuid ## UNDEFINED 208 gEfiS3SmmSaveStateProtocolGuid ## UNDEFINED 209 gEfiRscHandlerProtocolGuid ## UNDEFINED 210 gEfiSmmRscHandlerProtocolGuid ## UNDEFINED 211 gEfiAcpiSdtProtocolGuid ## UNDEFINED 212 gEfiSioProtocolGuid ## UNDEFINED 213 gEfiSmmCpuIo2ProtocolGuid ## UNDEFINED 214 gEfiSmmBase2ProtocolGuid ## UNDEFINED 215 gEfiSmmAccess2ProtocolGuid ## UNDEFINED 216 gEfiSmmControl2ProtocolGuid ## UNDEFINED 217 gEfiSmmConfigurationProtocolGuid ## UNDEFINED 218 gEfiSmmReadyToLockProtocolGuid ## UNDEFINED 219 gEfiDxeSmmReadyToLockProtocolGuid ## UNDEFINED 220 gEfiSmmCommunicationProtocolGuid ## UNDEFINED 221 gEfiSmmStatusCodeProtocolGuid ## UNDEFINED 222 gEfiSmmCpuProtocolGuid ## UNDEFINED 223 gEfiSmmPciRootBridgeIoProtocolGuid ## UNDEFINED 224 gEfiSmmSwDispatch2ProtocolGuid ## UNDEFINED 225 gEfiSmmSxDispatch2ProtocolGuid ## UNDEFINED 226 gEfiSmmPeriodicTimerDispatch2ProtocolGuid ## UNDEFINED 227 gEfiSmmUsbDispatch2ProtocolGuid ## UNDEFINED 228 gEfiSmmGpiDispatch2ProtocolGuid ## UNDEFINED 229 gEfiSmmStandbyButtonDispatch2ProtocolGuid ## UNDEFINED 230 gEfiSmmPowerButtonDispatch2ProtocolGuid ## UNDEFINED 231 gEfiSmmIoTrapDispatch2ProtocolGuid ## UNDEFINED 232 gEfiPcdProtocolGuid ## UNDEFINED 233 gEfiFirmwareVolumeBlock2ProtocolGuid ## UNDEFINED 234 gEfiCpuIo2ProtocolGuid ## UNDEFINED 235 gEfiLegacyRegion2ProtocolGuid ## UNDEFINED 236 gEfiSalMcaInitPmiProtocolGuid ## UNDEFINED 237 gEfiExtendedSalBootServiceProtocolGuid ## UNDEFINED 238 gEfiExtendedSalBaseIoServicesProtocolGuid ## UNDEFINED 239 gEfiExtendedSalStallServicesProtocolGuid ## UNDEFINED 240 gEfiExtendedSalRtcServicesProtocolGuid ## UNDEFINED 241 gEfiExtendedSalVariableServicesProtocolGuid ## UNDEFINED 242 gEfiExtendedSalMtcServicesProtocolGuid ## UNDEFINED 243 gEfiExtendedSalResetServicesProtocolGuid ## UNDEFINED 244 gEfiExtendedSalStatusCodeServicesProtocolGuid ## UNDEFINED 245 gEfiExtendedSalFvBlockServicesProtocolGuid ## UNDEFINED 246 gEfiExtendedSalMpServicesProtocolGuid ## UNDEFINED 247 gEfiExtendedSalPalServicesProtocolGuid ## UNDEFINED 248 gEfiExtendedSalBaseServicesProtocolGuid ## UNDEFINED 249 gEfiExtendedSalMcaServicesProtocolGuid ## UNDEFINED 250 gEfiExtendedSalPciServicesProtocolGuid ## UNDEFINED 251 gEfiExtendedSalCacheServicesProtocolGuid ## UNDEFINED 252 gEfiExtendedSalMcaLogServicesProtocolGuid ## UNDEFINED 253 gEfiSecurity2ArchProtocolGuid ## UNDEFINED 254 gEfiSmmEndOfDxeProtocolGuid ## UNDEFINED 255 gEfiIsaHcProtocolGuid ## UNDEFINED 256 gEfiIsaHcServiceBindingProtocolGuid ## UNDEFINED 257 gEfiSioControlProtocolGuid ## UNDEFINED 258 gEfiGetPcdInfoProtocolGuid ## UNDEFINED 259 gEfiI2cMasterProtocolGuid ## UNDEFINED 260 gEfiI2cIoProtocolGuid ## UNDEFINED 261 gEfiI2cEnumerateProtocolGuid ## UNDEFINED 262 gEfiI2cHostProtocolGuid ## UNDEFINED 263 gEfiI2cBusConfigurationManagementProtocolGuid ## UNDEFINED 264 gEfiTrEEProtocolGuid ## UNDEFINED 265 gEfiTcg2ProtocolGuid ## UNDEFINED 266 gEfiTimestampProtocolGuid ## UNDEFINED 267 gEfiRngProtocolGuid ## UNDEFINED 268 gEfiNvmExpressPassThruProtocolGuid ## UNDEFINED 269 gEfiHash2ServiceBindingProtocolGuid ## UNDEFINED 270 gEfiHash2ProtocolGuid ## UNDEFINED 271 gEfiBlockIoCryptoProtocolGuid ## UNDEFINED 272 gEfiSmartCardReaderProtocolGuid ## UNDEFINED 273 gEfiSmartCardEdgeProtocolGuid ## UNDEFINED 274 gEfiUsbFunctionIoProtocolGuid ## UNDEFINED 275 gEfiBluetoothHcProtocolGuid ## UNDEFINED 276 gEfiBluetoothIoServiceBindingProtocolGuid ## UNDEFINED 277 gEfiBluetoothIoProtocolGuid ## UNDEFINED 278 gEfiBluetoothConfigProtocolGuid ## UNDEFINED 279 gEfiRegularExpressionProtocolGuid ## UNDEFINED 280 gEfiBootManagerPolicyProtocolGuid ## UNDEFINED 281 gEfiConfigKeywordHandlerProtocolGuid ## UNDEFINED 282 gEfiWiFiProtocolGuid ## UNDEFINED 283 gEfiEapManagement2ProtocolGuid ## UNDEFINED 284 gEfiEapConfigurationProtocolGuid ## UNDEFINED 285 gEfiPkcs7VerifyProtocolGuid ## UNDEFINED 286 gEfiDns4ServiceBindingProtocolGuid ## UNDEFINED 287 gEfiDns4ProtocolGuid ## UNDEFINED 288 gEfiDns6ServiceBindingProtocolGuid ## UNDEFINED 289 gEfiDns6ProtocolGuid ## UNDEFINED 290 gEfiHttpServiceBindingProtocolGuid ## UNDEFINED 291 gEfiHttpProtocolGuid ## UNDEFINED 292 gEfiHttpUtilitiesProtocolGuid ## UNDEFINED 293 gEfiRestProtocolGuid ## UNDEFINED 294 295 [Guids] 296 gEfiFileInfoGuid ## CONSUMES ## GUID 297 gEfiShellEnvironment2ExtGuid ## CONSUMES ## GUID 298 gEfiPcAnsiGuid ## UNDEFINED 299 gEfiVT100Guid ## UNDEFINED 300 gEfiVT100PlusGuid ## UNDEFINED 301 gEfiVTUTF8Guid ## UNDEFINED 302 gEfiStandardErrorDeviceGuid ## UNDEFINED 303 gEfiConsoleInDeviceGuid ## UNDEFINED 304 gEfiConsoleOutDeviceGuid ## UNDEFINED 305 gEfiFileSystemInfoGuid ## UNDEFINED 306 gEfiGlobalVariableGuid ## UNDEFINED 307 gEfiPartTypeSystemPartGuid ## UNDEFINED 308 gEfiPartTypeLegacyMbrGuid ## UNDEFINED 309 gHandleParsingHiiGuid ## UNDEFINED 310 gEfiAdapterInfoMediaStateGuid ## SOMETIMES_CONSUMES ## GUID 311 gEfiAdapterInfoNetworkBootGuid ## SOMETIMES_CONSUMES ## GUID 312 gEfiAdapterInfoSanMacAddressGuid ## SOMETIMES_CONSUMES ## GUID 313 gEfiAdapterInfoUndiIpv6SupportGuid ## SOMETIMES_CONSUMES ## GUID 314 315 [Pcd.common] 316 gEfiShellPkgTokenSpaceGuid.PcdShellPrintBufferSize ## CONSUMES 317 gEfiShellPkgTokenSpaceGuid.PcdShellIncludeNtGuids ## CONSUMES