2 header file for NULL named library for level 3 shell command functions.
4 Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved. <BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef _UEFI_SHELL_LEVEL3_COMMANDS_LIB_H_
10 #define _UEFI_SHELL_LEVEL3_COMMANDS_LIB_H_
14 #include <Guid/ShellLibHiiGuid.h>
16 #include <Protocol/Shell.h>
17 #include <Protocol/ShellParameters.h>
18 #include <Protocol/DevicePath.h>
19 #include <Protocol/LoadedImage.h>
20 #include <Protocol/UnicodeCollation.h>
22 #include <Library/BaseLib.h>
23 #include <Library/BaseMemoryLib.h>
24 #include <Library/DebugLib.h>
25 #include <Library/MemoryAllocationLib.h>
26 #include <Library/PcdLib.h>
27 #include <Library/ShellCommandLib.h>
28 #include <Library/ShellLib.h>
29 #include <Library/UefiLib.h>
30 #include <Library/UefiRuntimeServicesTableLib.h>
31 #include <Library/UefiBootServicesTableLib.h>
32 #include <Library/HiiLib.h>
33 #include <Library/FileHandleLib.h>
35 extern EFI_HII_HANDLE gShellLevel3HiiHandle
;
38 Function for 'type' command.
40 @param[in] ImageHandle Handle to the Image (NULL if Internal).
41 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
46 IN EFI_HANDLE ImageHandle
,
47 IN EFI_SYSTEM_TABLE
*SystemTable
51 Function for 'touch' command.
53 @param[in] ImageHandle Handle to the Image (NULL if Internal).
54 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
58 ShellCommandRunTouch (
59 IN EFI_HANDLE ImageHandle
,
60 IN EFI_SYSTEM_TABLE
*SystemTable
64 Function for 'ver' command.
66 @param[in] ImageHandle Handle to the Image (NULL if Internal).
67 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
72 IN EFI_HANDLE ImageHandle
,
73 IN EFI_SYSTEM_TABLE
*SystemTable
77 Function for 'alias' command.
79 @param[in] ImageHandle Handle to the Image (NULL if Internal).
80 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
84 ShellCommandRunAlias (
85 IN EFI_HANDLE ImageHandle
,
86 IN EFI_SYSTEM_TABLE
*SystemTable
90 Function for 'cls' command.
92 @param[in] ImageHandle Handle to the Image (NULL if Internal).
93 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
98 IN EFI_HANDLE ImageHandle
,
99 IN EFI_SYSTEM_TABLE
*SystemTable
103 Function for 'echo' command.
105 @param[in] ImageHandle Handle to the Image (NULL if Internal).
106 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
110 ShellCommandRunEcho (
111 IN EFI_HANDLE ImageHandle
,
112 IN EFI_SYSTEM_TABLE
*SystemTable
116 Function for 'pause' command.
118 @param[in] ImageHandle Handle to the Image (NULL if Internal).
119 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
123 ShellCommandRunPause (
124 IN EFI_HANDLE ImageHandle
,
125 IN EFI_SYSTEM_TABLE
*SystemTable
129 Function for 'getmtc' command.
131 @param[in] ImageHandle Handle to the Image (NULL if Internal).
132 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
136 ShellCommandRunGetMtc (
137 IN EFI_HANDLE ImageHandle
,
138 IN EFI_SYSTEM_TABLE
*SystemTable
142 Function for 'help' command.
144 @param[in] ImageHandle Handle to the Image (NULL if Internal).
145 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
149 ShellCommandRunHelp (
150 IN EFI_HANDLE ImageHandle
,
151 IN EFI_SYSTEM_TABLE
*SystemTable