Signed-off-by: lgao4 Reviewed-by: jcarsey git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12394 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			148 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			148 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /** @file
 | |
|   Provides interface to advanced shell functionality for parsing both handle and protocol database.
 | |
| 
 | |
|   Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
 | |
|   This program and the accompanying materials
 | |
|   are licensed and made available under the terms and conditions of the BSD License
 | |
|   which accompanies this distribution.  The full text of the license may be found at
 | |
|   http://opensource.org/licenses/bsd-license.php
 | |
| 
 | |
|   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 | |
|   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 | |
| 
 | |
| **/
 | |
| 
 | |
| #ifndef _UEFI_HANDLE_PARSING_LIB_INTERNAL_H_
 | |
| #define _UEFI_HANDLE_PARSING_LIB_INTERNAL_H_
 | |
| 
 | |
| #include <Uefi.h>
 | |
| 
 | |
| #include <Guid/FileInfo.h>
 | |
| #include <Guid/ConsoleInDevice.h>
 | |
| #include <Guid/ConsoleOutDevice.h>
 | |
| #include <Guid/StandardErrorDevice.h>
 | |
| #include <Guid/GlobalVariable.h>
 | |
| #include <Guid/Gpt.h>
 | |
| #include <Guid/FileSystemInfo.h>
 | |
| #include <Guid/ShellLibHiiGuid.h>
 | |
| 
 | |
| #include <Protocol/SimpleFileSystem.h>
 | |
| #include <Protocol/LoadedImage.h>
 | |
| #include <Protocol/EfiShellInterface.h>
 | |
| #include <Protocol/EfiShellEnvironment2.h>
 | |
| #include <Protocol/EfiShell.h>
 | |
| #include <Protocol/EfiShellParameters.h>
 | |
| #include <Protocol/DevicePathToText.h>
 | |
| #include <Protocol/DriverBinding.h>
 | |
| #include <Protocol/DriverConfiguration2.h>
 | |
| #include <Protocol/DriverConfiguration.h>
 | |
| #include <Protocol/DriverDiagnostics2.h>
 | |
| #include <Protocol/DriverDiagnostics.h>
 | |
| #include <Protocol/ComponentName2.h>
 | |
| #include <Protocol/ComponentName.h>
 | |
| #include <Protocol/PlatformDriverOverride.h>
 | |
| #include <Protocol/DevicePathUtilities.h>
 | |
| #include <Protocol/DevicePathFromText.h>
 | |
| #include <Protocol/BusSpecificDriverOverride.h>
 | |
| #include <Protocol/PlatformToDriverConfiguration.h>
 | |
| #include <Protocol/DriverSupportedEfiVersion.h>
 | |
| #include <Protocol/SimpleTextInEx.h>
 | |
| #include <Protocol/SimplePointer.h>
 | |
| #include <Protocol/SerialIo.h>
 | |
| #include <Protocol/AbsolutePointer.h>
 | |
| #include <Protocol/GraphicsOutput.h>
 | |
| #include <Protocol/EdidDiscovered.h>
 | |
| #include <Protocol/EdidActive.h>
 | |
| #include <Protocol/EdidOverride.h>
 | |
| #include <Protocol/LoadFile.h>
 | |
| #include <Protocol/LoadFile2.h>
 | |
| #include <Protocol/TapeIo.h>
 | |
| #include <Protocol/DiskIo.h>
 | |
| #include <Protocol/BlockIo.h>
 | |
| #include <Protocol/UnicodeCollation.h>
 | |
| #include <Protocol/PciRootBridgeIo.h>
 | |
| #include <Protocol/PciIo.h>
 | |
| #include <Protocol/ScsiPassThru.h>
 | |
| #include <Protocol/ScsiPassThruExt.h>
 | |
| #include <Protocol/ScsiIo.h>
 | |
| #include <Protocol/IScsiInitiatorName.h>
 | |
| #include <Protocol/UsbIo.h>
 | |
| #include <Protocol/UsbHostController.h>
 | |
| #include <Protocol/Usb2HostController.h>
 | |
| #include <Protocol/DebugSupport.h>
 | |
| #include <Protocol/DebugPort.h>
 | |
| #include <Protocol/Decompress.h>
 | |
| #include <Protocol/AcpiTable.h>
 | |
| #include <Protocol/Ebc.h>
 | |
| #include <Protocol/SimpleNetwork.h>
 | |
| #include <Protocol/NetworkInterfaceIdentifier.h>
 | |
| #include <Protocol/PxeBaseCode.h>
 | |
| #include <Protocol/PxeBaseCodeCallBack.h>
 | |
| #include <Protocol/Bis.h>
 | |
| #include <Protocol/ManagedNetwork.h>
 | |
| #include <Protocol/Arp.h>
 | |
| #include <Protocol/Dhcp4.h>
 | |
| #include <Protocol/Tcp4.h>
 | |
| #include <Protocol/Ip4.h>
 | |
| #include <Protocol/Ip4Config.h>
 | |
| #include <Protocol/Udp4.h>
 | |
| #include <Protocol/Mtftp4.h>
 | |
| #include <Protocol/AuthenticationInfo.h>
 | |
| #include <Protocol/Hash.h>
 | |
| #include <Protocol/HiiFont.h>
 | |
| #include <Protocol/HiiString.h>
 | |
| #include <Protocol/HiiImage.h>
 | |
| #include <Protocol/HiiDatabase.h>
 | |
| #include <Protocol/HiiConfigRouting.h>
 | |
| #include <Protocol/HiiConfigAccess.h>
 | |
| #include <Protocol/FormBrowser2.h>
 | |
| #include <Protocol/DeviceIo.h>
 | |
| #include <Protocol/UgaDraw.h>
 | |
| #include <Protocol/UgaIo.h>
 | |
| #include <Protocol/DriverConfiguration.h>
 | |
| #include <Protocol/DriverConfiguration2.h>
 | |
| #include <Protocol/DevicePathUtilities.h>
 | |
| //#include <Protocol/FirmwareVolume.h>
 | |
| //#include <Protocol/FirmwareVolume2.h>
 | |
| 
 | |
| #include <Library/HandleParsingLib.h>
 | |
| #include <Library/UefiBootServicesTableLib.h>
 | |
| #include <Library/BaseLib.h>
 | |
| #include <Library/BaseMemoryLib.h>
 | |
| #include <Library/DebugLib.h>
 | |
| #include <Library/MemoryAllocationLib.h>
 | |
| #include <Library/DevicePathLib.h>
 | |
| #include <Library/PcdLib.h>
 | |
| #include <Library/PrintLib.h>
 | |
| #include <Library/UefiLib.h>
 | |
| #include <Library/HiiLib.h>
 | |
| #include <Library/ShellLib.h>
 | |
| 
 | |
| typedef struct {
 | |
|   LIST_ENTRY  Link;
 | |
|   EFI_HANDLE  TheHandle;
 | |
|   UINTN       TheIndex;
 | |
| }HANDLE_LIST;
 | |
| 
 | |
| typedef struct {
 | |
|   HANDLE_LIST   List;
 | |
|   UINTN         NextIndex;
 | |
| } HANDLE_INDEX_LIST;
 | |
| 
 | |
| typedef
 | |
| CHAR16 *
 | |
| (EFIAPI *DUMP_PROTOCOL_INFO)(
 | |
|   IN CONST EFI_HANDLE TheHandle,
 | |
|   IN CONST BOOLEAN    Verbose
 | |
|   );
 | |
| 
 | |
| 
 | |
| typedef struct {
 | |
|   EFI_STRING_ID                 StringId;
 | |
|   EFI_GUID                      *GuidId;
 | |
|   DUMP_PROTOCOL_INFO            DumpInfo;
 | |
| } PROTOCOL_INFO_BLOCK;
 | |
| 
 | |
| #endif
 | |
| 
 |