TianoCore EDK2 master
Loading...
Searching...
No Matches
UefiShellLevel2CommandsLib.h
Go to the documentation of this file.
1
17#ifndef _UEFI_SHELL_LEVEL2_COMMANDS_LIB_H_
18#define _UEFI_SHELL_LEVEL2_COMMANDS_LIB_H_
19
20#include <Uefi.h>
21
22#include <Guid/GlobalVariable.h>
24
25#include <Protocol/Shell.h>
27#include <Protocol/DevicePath.h>
30
31#include <Library/BaseLib.h>
33#include <Library/DebugLib.h>
35#include <Library/PcdLib.h>
37#include <Library/ShellLib.h>
38#include <Library/UefiLib.h>
41#include <Library/HiiLib.h>
42#include <Library/SortLib.h>
44
45extern CONST CHAR16 mFileName[];
46extern EFI_HII_HANDLE gShellLevel2HiiHandle;
47
55EFIAPI
57 IN EFI_HANDLE ImageHandle,
58 IN EFI_SYSTEM_TABLE *SystemTable
59 );
60
68EFIAPI
70 IN EFI_HANDLE ImageHandle,
71 IN EFI_SYSTEM_TABLE *SystemTable
72 );
73
81EFIAPI
83 IN EFI_HANDLE ImageHandle,
84 IN EFI_SYSTEM_TABLE *SystemTable
85 );
86
94EFIAPI
96 IN EFI_HANDLE ImageHandle,
97 IN EFI_SYSTEM_TABLE *SystemTable
98 );
99
107EFIAPI
109 IN EFI_HANDLE ImageHandle,
110 IN EFI_SYSTEM_TABLE *SystemTable
111 );
112
120EFIAPI
122 IN EFI_HANDLE ImageHandle,
123 IN EFI_SYSTEM_TABLE *SystemTable
124 );
125
133EFIAPI
135 IN EFI_HANDLE ImageHandle,
136 IN EFI_SYSTEM_TABLE *SystemTable
137 );
138
146EFIAPI
148 IN EFI_HANDLE ImageHandle,
149 IN EFI_SYSTEM_TABLE *SystemTable
150 );
151
159EFIAPI
161 IN EFI_HANDLE ImageHandle,
162 IN EFI_SYSTEM_TABLE *SystemTable
163 );
164
172EFIAPI
174 IN EFI_HANDLE ImageHandle,
175 IN EFI_SYSTEM_TABLE *SystemTable
176 );
177
185EFIAPI
187 IN EFI_HANDLE ImageHandle,
188 IN EFI_SYSTEM_TABLE *SystemTable
189 );
190
198EFIAPI
200 IN EFI_HANDLE ImageHandle,
201 IN EFI_SYSTEM_TABLE *SystemTable
202 );
203
211EFIAPI
213 IN EFI_HANDLE ImageHandle,
214 IN EFI_SYSTEM_TABLE *SystemTable
215 );
216
224EFIAPI
226 IN EFI_HANDLE ImageHandle,
227 IN EFI_SYSTEM_TABLE *SystemTable
228 );
229
237EFIAPI
239 IN EFI_HANDLE ImageHandle,
240 IN EFI_SYSTEM_TABLE *SystemTable
241 );
242
259CHAR16 *
261 IN CONST CHAR16 *Path
262 );
263
273 IN CONST CHAR16 *Path
274 );
275
287INTN
288StrniCmp (
289 IN CONST CHAR16 *Source,
290 IN CONST CHAR16 *Target,
291 IN CONST UINTN Count
292 );
293
306 IN CONST CHAR16 *OriginalString,
307 OUT CHAR16 **CleanString
308 );
309
317EFIAPI
319 IN EFI_HANDLE ImageHandle,
320 IN EFI_SYSTEM_TABLE *SystemTable
321 );
322
338 IN CONST CHAR16 *Source,
339 IN CONST CHAR16 *Dest,
340 OUT VOID **Resp,
341 IN BOOLEAN SilentMode,
342 IN CONST CHAR16 *CmdName
343 );
344
359 IN CONST BOOLEAN Quiet
360 );
361
362#endif
UINT64 UINTN
INT64 INTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
SHELL_STATUS
Definition: Shell.h:21
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
VOID * EFI_HII_HANDLE
SHELL_STATUS EFIAPI ShellCommandRunReset(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Reset.c:28
SHELL_STATUS EFIAPI ShellCommandRunSet(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Set.c:56
SHELL_STATUS EFIAPI ShellCommandRunTime(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: TimeDate.c:409
CHAR16 * GetFullyQualifiedPath(IN CONST CHAR16 *Path)
SHELL_STATUS EFIAPI ShellCommandRunTimeZone(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: TimeDate.c:821
SHELL_STATUS EFIAPI ShellCommandRunMkDir(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: MkDir.c:20
SHELL_STATUS EFIAPI ShellCommandRunMap(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Map.c:1113
SHELL_STATUS CascadeDelete(IN EFI_SHELL_FILE_INFO *Node, IN CONST BOOLEAN Quiet)
Definition: Rm.c:66
SHELL_STATUS EFIAPI ShellCommandRunMv(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Mv.c:751
INTN StrniCmp(IN CONST CHAR16 *Source, IN CONST CHAR16 *Target, IN CONST UINTN Count)
SHELL_STATUS EFIAPI ShellCommandRunCd(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Cd.c:173
EFI_STATUS VerifyIntermediateDirectories(IN CONST CHAR16 *Path)
EFI_STATUS ShellLevel2StripQuotes(IN CONST CHAR16 *OriginalString, OUT CHAR16 **CleanString)
SHELL_STATUS EFIAPI ShellCommandRunRm(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Rm.c:279
SHELL_STATUS EFIAPI ShellCommandRunDate(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: TimeDate.c:177
SHELL_STATUS EFIAPI ShellCommandRunVol(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Vol.c:215
SHELL_STATUS EFIAPI ShellCommandRunCp(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Cp.c:658
SHELL_STATUS EFIAPI ShellCommandRunLoad(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Load.c:193
SHELL_STATUS EFIAPI ShellCommandRunParse(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Parse.c:245
SHELL_STATUS CopySingleFile(IN CONST CHAR16 *Source, IN CONST CHAR16 *Dest, OUT VOID **Resp, IN BOOLEAN SilentMode, IN CONST CHAR16 *CmdName)
Definition: Cp.c:54
SHELL_STATUS EFIAPI ShellCommandRunAttrib(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Attrib.c:34
SHELL_STATUS EFIAPI ShellCommandRunLs(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition: Ls.c:722