]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h
d519c1d400fc3956a79c2a975e3a7ecc2b0eead4
[mirror_edk2.git] / ShellPkg / Library / UefiHandleParsingLib / UefiHandleParsingLib.h
1 /** @file
2 Provides interface to advanced shell functionality for parsing both handle and protocol database.
3
4 Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #if !defined (_UEFI_HANDLE_PARSING_LIB_INTERNAL_H_)
16 #define _UEFI_HANDLE_PARSING_LIB_INTERNAL_H_
17
18 #include <Uefi.h>
19
20 #include <Guid/FileInfo.h>
21 #include <Guid/ConsoleInDevice.h>
22 #include <Guid/ConsoleOutDevice.h>
23 #include <Guid/StandardErrorDevice.h>
24 #include <Guid/GlobalVariable.h>
25 #include <Guid/Gpt.h>
26 #include <Guid/FileSystemInfo.h>
27
28 #include <Protocol/SimpleFileSystem.h>
29 #include <Protocol/LoadedImage.h>
30 #include <Protocol/EfiShellInterface.h>
31 #include <Protocol/EfiShellEnvironment2.h>
32 #include <Protocol/EfiShell.h>
33 #include <Protocol/EfiShellParameters.h>
34 #include <Protocol/DevicePathToText.h>
35 #include <Protocol/DriverBinding.h>
36 #include <Protocol/DriverConfiguration2.h>
37 #include <Protocol/DriverConfiguration.h>
38 #include <Protocol/DriverDiagnostics2.h>
39 #include <Protocol/DriverDiagnostics.h>
40 #include <Protocol/ComponentName2.h>
41 #include <Protocol/ComponentName.h>
42 #include <Protocol/PlatformDriverOverride.h>
43 #include <Protocol/DevicePathUtilities.h>
44 #include <Protocol/DevicePathFromText.h>
45 #include <Protocol/BusSpecificDriverOverride.h>
46 #include <Protocol/PlatformToDriverConfiguration.h>
47 #include <Protocol/DriverSupportedEfiVersion.h>
48 #include <Protocol/SimpleTextInEx.h>
49 #include <Protocol/SimplePointer.h>
50 #include <Protocol/SerialIo.h>
51 #include <Protocol/AbsolutePointer.h>
52 #include <Protocol/GraphicsOutput.h>
53 #include <Protocol/EdidDiscovered.h>
54 #include <Protocol/EdidActive.h>
55 #include <Protocol/EdidOverride.h>
56 #include <Protocol/LoadFile.h>
57 #include <Protocol/LoadFile2.h>
58 #include <Protocol/TapeIo.h>
59 #include <Protocol/DiskIo.h>
60 #include <Protocol/BlockIo.h>
61 #include <Protocol/UnicodeCollation.h>
62 #include <Protocol/PciRootBridgeIo.h>
63 #include <Protocol/PciIo.h>
64 #include <Protocol/ScsiPassThru.h>
65 #include <Protocol/ScsiPassThruExt.h>
66 #include <Protocol/ScsiIo.h>
67 #include <Protocol/IScsiInitiatorName.h>
68 #include <Protocol/UsbIo.h>
69 #include <Protocol/UsbHostController.h>
70 #include <Protocol/Usb2HostController.h>
71 #include <Protocol/DebugSupport.h>
72 #include <Protocol/DebugPort.h>
73 #include <Protocol/Decompress.h>
74 #include <Protocol/AcpiTable.h>
75 #include <Protocol/Ebc.h>
76 #include <Protocol/SimpleNetwork.h>
77 #include <Protocol/NetworkInterfaceIdentifier.h>
78 #include <Protocol/PxeBaseCode.h>
79 #include <Protocol/PxeBaseCodeCallBack.h>
80 #include <Protocol/Bis.h>
81 #include <Protocol/ManagedNetwork.h>
82 #include <Protocol/Arp.h>
83 #include <Protocol/Dhcp4.h>
84 #include <Protocol/Tcp4.h>
85 #include <Protocol/Ip4.h>
86 #include <Protocol/Ip4Config.h>
87 #include <Protocol/Udp4.h>
88 #include <Protocol/Mtftp4.h>
89 #include <Protocol/AuthenticationInfo.h>
90 #include <Protocol/Hash.h>
91 #include <Protocol/HiiFont.h>
92 #include <Protocol/HiiString.h>
93 #include <Protocol/HiiImage.h>
94 #include <Protocol/HiiDatabase.h>
95 #include <Protocol/HiiConfigRouting.h>
96 #include <Protocol/HiiConfigAccess.h>
97 #include <Protocol/FormBrowser2.h>
98 #include <Protocol/DeviceIo.h>
99 #include <Protocol/UgaDraw.h>
100 #include <Protocol/UgaIo.h>
101 #include <Protocol/DriverConfiguration.h>
102 #include <Protocol/DriverConfiguration2.h>
103 #include <Protocol/DevicePathUtilities.h>
104 //#include <Protocol/FirmwareVolume.h>
105 //#include <Protocol/FirmwareVolume2.h>
106
107 #include <Library/HandleParsingLib.h>
108 #include <Library/UefiBootServicesTableLib.h>
109 #include <Library/BaseLib.h>
110 #include <Library/BaseMemoryLib.h>
111 #include <Library/DebugLib.h>
112 #include <Library/MemoryAllocationLib.h>
113 #include <Library/DevicePathLib.h>
114 #include <Library/PcdLib.h>
115 #include <Library/PrintLib.h>
116 #include <Library/UefiLib.h>
117 #include <Library/HiiLib.h>
118 #include <Library/ShellLib.h>
119
120 typedef struct {
121 LIST_ENTRY Link;
122 EFI_HANDLE TheHandle;
123 UINTN TheIndex;
124 }HANDLE_LIST;
125
126 typedef struct {
127 HANDLE_LIST List;
128 UINTN NextIndex;
129 } HANDLE_INDEX_LIST;
130
131 typedef
132 CHAR16 *
133 (EFIAPI *DUMP_PROTOCOL_INFO)(
134 IN CONST EFI_HANDLE TheHandle,
135 IN CONST BOOLEAN Verbose
136 );
137
138
139 typedef struct {
140 EFI_STRING_ID StringId;
141 EFI_GUID *GuidId;
142 DUMP_PROTOCOL_INFO DumpInfo;
143 } PROTOCOL_INFO_BLOCK;
144
145 #endif
146