]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | Main file for NULL named library for Profile1 shell command functions.\r | |
3 | \r | |
4 | Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r | |
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 | |
15 | #ifndef _UEFI_SHELL_DRIVER1_COMMANDS_LIB_H_\r | |
16 | #define _UEFI_SHELL_DRIVER1_COMMANDS_LIB_H_\r | |
17 | \r | |
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 | |
24 | #include <Guid/ShellLibHiiGuid.h>\r | |
25 | \r | |
26 | #include <IndustryStandard/Pci.h>\r | |
27 | \r | |
28 | #include <Protocol/EfiShell.h>\r | |
29 | #include <Protocol/EfiShellParameters.h>\r | |
30 | #include <Protocol/DevicePath.h>\r | |
31 | #include <Protocol/LoadedImage.h>\r | |
32 | #include <Protocol/UnicodeCollation.h>\r | |
33 | #include <Protocol/DriverDiagnostics2.h>\r | |
34 | #include <Protocol/DriverDiagnostics.h>\r | |
35 | #include <Protocol/PlatformDriverOverride.h>\r | |
36 | #include <Protocol/BusSpecificDriverOverride.h>\r | |
37 | #include <Protocol/PlatformToDriverConfiguration.h>\r | |
38 | #include <Protocol/DriverSupportedEfiVersion.h>\r | |
39 | #include <Protocol/DriverFamilyOverride.h>\r | |
40 | #include <Protocol/DriverHealth.h>\r | |
41 | #include <Protocol/PciIo.h>\r | |
42 | #include <Protocol/PciRootBridgeIo.h>\r | |
43 | \r | |
44 | #include <Library/BaseLib.h>\r | |
45 | #include <Library/BaseMemoryLib.h>\r | |
46 | #include <Library/DebugLib.h>\r | |
47 | #include <Library/MemoryAllocationLib.h>\r | |
48 | #include <Library/PcdLib.h>\r | |
49 | #include <Library/ShellCommandLib.h>\r | |
50 | #include <Library/ShellLib.h>\r | |
51 | #include <Library/SortLib.h>\r | |
52 | #include <Library/UefiLib.h>\r | |
53 | #include <Library/UefiRuntimeServicesTableLib.h>\r | |
54 | #include <Library/UefiBootServicesTableLib.h>\r | |
55 | #include <Library/HiiLib.h>\r | |
56 | #include <Library/FileHandleLib.h>\r | |
57 | #include <Library/DevicePathLib.h>\r | |
58 | #include <Library/PrintLib.h>\r | |
59 | #include <Library/HandleParsingLib.h>\r | |
60 | #include <Library/PeCoffGetEntryPointLib.h>\r | |
61 | #include <Library/HandleParsingLib.h>\r | |
62 | \r | |
63 | \r | |
64 | extern EFI_HANDLE gShellDriver1HiiHandle;\r | |
65 | extern BOOLEAN gInReconnect;\r | |
66 | \r | |
67 | /**\r | |
68 | Function for 'connect' command.\r | |
69 | \r | |
70 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
71 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
72 | **/\r | |
73 | SHELL_STATUS\r | |
74 | EFIAPI\r | |
75 | ShellCommandRunConnect (\r | |
76 | IN EFI_HANDLE ImageHandle,\r | |
77 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
78 | );\r | |
79 | \r | |
80 | /**\r | |
81 | Function for 'devices' command.\r | |
82 | \r | |
83 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
84 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
85 | **/\r | |
86 | SHELL_STATUS\r | |
87 | EFIAPI\r | |
88 | ShellCommandRunDevices (\r | |
89 | IN EFI_HANDLE ImageHandle,\r | |
90 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
91 | );\r | |
92 | \r | |
93 | /**\r | |
94 | Function for 'openinfo' command.\r | |
95 | \r | |
96 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
97 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
98 | **/\r | |
99 | SHELL_STATUS\r | |
100 | EFIAPI\r | |
101 | ShellCommandRunOpenInfo (\r | |
102 | IN EFI_HANDLE ImageHandle,\r | |
103 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
104 | );\r | |
105 | \r | |
106 | /**\r | |
107 | Function for 'devtree' command.\r | |
108 | \r | |
109 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
110 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
111 | **/\r | |
112 | SHELL_STATUS\r | |
113 | EFIAPI\r | |
114 | ShellCommandRunDevTree (\r | |
115 | IN EFI_HANDLE ImageHandle,\r | |
116 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
117 | );\r | |
118 | \r | |
119 | /**\r | |
120 | Function for 'dh' command.\r | |
121 | \r | |
122 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
123 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
124 | **/\r | |
125 | SHELL_STATUS\r | |
126 | EFIAPI\r | |
127 | ShellCommandRunDh (\r | |
128 | IN EFI_HANDLE ImageHandle,\r | |
129 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
130 | );\r | |
131 | \r | |
132 | /**\r | |
133 | Function for 'disconnect' command.\r | |
134 | \r | |
135 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
136 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
137 | **/\r | |
138 | SHELL_STATUS\r | |
139 | EFIAPI\r | |
140 | ShellCommandRunDisconnect (\r | |
141 | IN EFI_HANDLE ImageHandle,\r | |
142 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
143 | );\r | |
144 | \r | |
145 | /**\r | |
146 | Function for 'drivers' command.\r | |
147 | \r | |
148 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
149 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
150 | **/\r | |
151 | SHELL_STATUS\r | |
152 | EFIAPI\r | |
153 | ShellCommandRunDrivers (\r | |
154 | IN EFI_HANDLE ImageHandle,\r | |
155 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
156 | );\r | |
157 | \r | |
158 | /**\r | |
159 | Function for 'drvcfg' command.\r | |
160 | \r | |
161 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
162 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
163 | **/\r | |
164 | SHELL_STATUS\r | |
165 | EFIAPI\r | |
166 | ShellCommandRunDrvCfg (\r | |
167 | IN EFI_HANDLE ImageHandle,\r | |
168 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
169 | );\r | |
170 | \r | |
171 | /**\r | |
172 | Function for 'drvdiag' command.\r | |
173 | \r | |
174 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
175 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
176 | **/\r | |
177 | SHELL_STATUS\r | |
178 | EFIAPI\r | |
179 | ShellCommandRunDrvDiag (\r | |
180 | IN EFI_HANDLE ImageHandle,\r | |
181 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
182 | );\r | |
183 | \r | |
184 | /**\r | |
185 | Function for 'reconnect' command.\r | |
186 | \r | |
187 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
188 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
189 | **/\r | |
190 | SHELL_STATUS\r | |
191 | EFIAPI\r | |
192 | ShellCommandRunReconnect (\r | |
193 | IN EFI_HANDLE ImageHandle,\r | |
194 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
195 | );\r | |
196 | \r | |
197 | /**\r | |
198 | Function for 'unload' command.\r | |
199 | \r | |
200 | @param[in] ImageHandle Handle to the Image (NULL if Internal).\r | |
201 | @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r | |
202 | **/\r | |
203 | SHELL_STATUS\r | |
204 | EFIAPI\r | |
205 | ShellCommandRunUnload (\r | |
206 | IN EFI_HANDLE ImageHandle,\r | |
207 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
208 | );\r | |
209 | \r | |
210 | #endif\r | |
211 | \r |