]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h
Refine the select language logic.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDriver1CommandsLib / UefiShellDriver1CommandsLib.h
CommitLineData
4ba49616 1/** @file\r
2 Main file for NULL named library for Profile1 shell command functions.\r
3\r
863986b3 4 Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR>\r
4ba49616 5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
a1d4bfcc 15#ifndef _UEFI_SHELL_DRIVER1_COMMANDS_LIB_H_\r
361a8267 16#define _UEFI_SHELL_DRIVER1_COMMANDS_LIB_H_\r
17\r
4ba49616 18#include <Uefi.h>\r
19#include <ShellBase.h>\r
20\r
21#include <Guid/GlobalVariable.h>\r
22#include <Guid/ConsoleInDevice.h>\r
23#include <Guid/ConsoleOutDevice.h>\r
bca163ff 24#include <Guid/ShellLibHiiGuid.h>\r
4ba49616 25\r
26#include <Protocol/EfiShell.h>\r
27#include <Protocol/EfiShellParameters.h>\r
28#include <Protocol/DevicePath.h>\r
29#include <Protocol/LoadedImage.h>\r
30#include <Protocol/UnicodeCollation.h>\r
4ba49616 31#include <Protocol/DriverDiagnostics2.h>\r
32#include <Protocol/DriverDiagnostics.h>\r
33#include <Protocol/PlatformDriverOverride.h>\r
34#include <Protocol/BusSpecificDriverOverride.h>\r
35#include <Protocol/PlatformToDriverConfiguration.h>\r
36#include <Protocol/DriverSupportedEfiVersion.h>\r
37#include <Protocol/DriverFamilyOverride.h>\r
38#include <Protocol/DriverHealth.h>\r
39\r
40#include <Library/BaseLib.h>\r
41#include <Library/BaseMemoryLib.h>\r
42#include <Library/DebugLib.h>\r
43#include <Library/MemoryAllocationLib.h>\r
44#include <Library/PcdLib.h>\r
45#include <Library/ShellCommandLib.h>\r
46#include <Library/ShellLib.h>\r
47#include <Library/SortLib.h>\r
48#include <Library/UefiLib.h>\r
49#include <Library/UefiRuntimeServicesTableLib.h>\r
50#include <Library/UefiBootServicesTableLib.h>\r
51#include <Library/HiiLib.h>\r
52#include <Library/FileHandleLib.h>\r
53#include <Library/DevicePathLib.h>\r
54#include <Library/PrintLib.h>\r
55#include <Library/HandleParsingLib.h>\r
56#include <Library/PeCoffGetEntryPointLib.h>\r
a71003f2 57#include <Library/HandleParsingLib.h>\r
4ba49616 58\r
59\r
60extern EFI_HANDLE gShellDriver1HiiHandle;\r
6878e7a7 61extern BOOLEAN gInReconnect;\r
4ba49616 62\r
63/**\r
64 Function for 'connect' command.\r
65\r
66 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
67 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
68**/\r
69SHELL_STATUS\r
70EFIAPI\r
71ShellCommandRunConnect (\r
72 IN EFI_HANDLE ImageHandle,\r
73 IN EFI_SYSTEM_TABLE *SystemTable\r
74 );\r
75\r
76/**\r
77 Function for 'devices' command.\r
78\r
79 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
80 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
81**/\r
82SHELL_STATUS\r
83EFIAPI\r
84ShellCommandRunDevices (\r
85 IN EFI_HANDLE ImageHandle,\r
86 IN EFI_SYSTEM_TABLE *SystemTable\r
87 );\r
88\r
89/**\r
90 Function for 'openinfo' command.\r
91\r
92 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
93 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
94**/\r
95SHELL_STATUS\r
96EFIAPI\r
97ShellCommandRunOpenInfo (\r
98 IN EFI_HANDLE ImageHandle,\r
99 IN EFI_SYSTEM_TABLE *SystemTable\r
100 );\r
101\r
102/**\r
103 Function for 'devtree' command.\r
104\r
105 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
106 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
107**/\r
108SHELL_STATUS\r
109EFIAPI\r
110ShellCommandRunDevTree (\r
111 IN EFI_HANDLE ImageHandle,\r
112 IN EFI_SYSTEM_TABLE *SystemTable\r
113 );\r
114\r
115/**\r
116 Function for 'dh' command.\r
117\r
118 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
119 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
120**/\r
121SHELL_STATUS\r
122EFIAPI\r
123ShellCommandRunDh (\r
124 IN EFI_HANDLE ImageHandle,\r
125 IN EFI_SYSTEM_TABLE *SystemTable\r
126 );\r
127\r
128/**\r
129 Function for 'disconnect' command.\r
130\r
131 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
132 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
133**/\r
134SHELL_STATUS\r
135EFIAPI\r
136ShellCommandRunDisconnect (\r
137 IN EFI_HANDLE ImageHandle,\r
138 IN EFI_SYSTEM_TABLE *SystemTable\r
139 );\r
140\r
141/**\r
142 Function for 'drivers' command.\r
143\r
144 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
145 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
146**/\r
147SHELL_STATUS\r
148EFIAPI\r
149ShellCommandRunDrivers (\r
150 IN EFI_HANDLE ImageHandle,\r
151 IN EFI_SYSTEM_TABLE *SystemTable\r
152 );\r
153\r
154/**\r
155 Function for 'drvcfg' command.\r
156\r
157 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
158 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
159**/\r
160SHELL_STATUS\r
161EFIAPI\r
162ShellCommandRunDrvCfg (\r
163 IN EFI_HANDLE ImageHandle,\r
164 IN EFI_SYSTEM_TABLE *SystemTable\r
165 );\r
166\r
167/**\r
168 Function for 'drvdiag' command.\r
169\r
170 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
171 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
172**/\r
173SHELL_STATUS\r
174EFIAPI\r
175ShellCommandRunDrvDiag (\r
176 IN EFI_HANDLE ImageHandle,\r
177 IN EFI_SYSTEM_TABLE *SystemTable\r
178 );\r
179\r
180/**\r
181 Function for 'reconnect' command.\r
182\r
183 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
184 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
185**/\r
186SHELL_STATUS\r
187EFIAPI\r
188ShellCommandRunReconnect (\r
189 IN EFI_HANDLE ImageHandle,\r
190 IN EFI_SYSTEM_TABLE *SystemTable\r
191 );\r
192\r
193/**\r
194 Function for 'unload' command.\r
195\r
196 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
197 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
198**/\r
199SHELL_STATUS\r
200EFIAPI\r
201ShellCommandRunUnload (\r
202 IN EFI_HANDLE ImageHandle,\r
203 IN EFI_SYSTEM_TABLE *SystemTable\r
204 );\r
205\r
361a8267 206#endif\r
207\r