]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.h
Update all the code to consume the ConvertDevicePathToText, ConvertDevicePathNodeToTe...
[mirror_edk2.git] / ShellPkg / Library / UefiShellLevel3CommandsLib / UefiShellLevel3CommandsLib.h
... / ...
CommitLineData
1/** @file\r
2 header file for NULL named library for level 3 shell command functions.\r
3\r
4 Copyright (c) 2009 - 2011, 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_LEVEL3_COMMANDS_LIB_H_\r
16#define _UEFI_SHELL_LEVEL3_COMMANDS_LIB_H_\r
17\r
18#include <Uefi.h>\r
19#include <ShellBase.h>\r
20\r
21#include <Guid/ShellLibHiiGuid.h>\r
22\r
23#include <Protocol/EfiShell.h>\r
24#include <Protocol/EfiShellParameters.h>\r
25#include <Protocol/DevicePath.h>\r
26#include <Protocol/LoadedImage.h>\r
27#include <Protocol/UnicodeCollation.h>\r
28\r
29#include <Library/BaseLib.h>\r
30#include <Library/BaseMemoryLib.h>\r
31#include <Library/DebugLib.h>\r
32#include <Library/MemoryAllocationLib.h>\r
33#include <Library/PcdLib.h>\r
34#include <Library/ShellCommandLib.h>\r
35#include <Library/ShellLib.h>\r
36#include <Library/UefiLib.h>\r
37#include <Library/UefiRuntimeServicesTableLib.h>\r
38#include <Library/UefiBootServicesTableLib.h>\r
39#include <Library/HiiLib.h>\r
40#include <Library/FileHandleLib.h>\r
41\r
42extern EFI_HANDLE gShellLevel3HiiHandle;\r
43\r
44/**\r
45 Function for 'type' command.\r
46\r
47 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
48 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
49**/\r
50SHELL_STATUS\r
51EFIAPI\r
52ShellCommandRunType (\r
53 IN EFI_HANDLE ImageHandle,\r
54 IN EFI_SYSTEM_TABLE *SystemTable\r
55 );\r
56\r
57/**\r
58 Function for 'touch' command.\r
59\r
60 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
61 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
62**/\r
63SHELL_STATUS\r
64EFIAPI\r
65ShellCommandRunTouch (\r
66 IN EFI_HANDLE ImageHandle,\r
67 IN EFI_SYSTEM_TABLE *SystemTable\r
68 );\r
69\r
70/**\r
71 Function for 'ver' command.\r
72\r
73 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
74 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
75**/\r
76SHELL_STATUS\r
77EFIAPI\r
78ShellCommandRunVer (\r
79 IN EFI_HANDLE ImageHandle,\r
80 IN EFI_SYSTEM_TABLE *SystemTable\r
81 );\r
82\r
83/**\r
84 Function for 'alias' command.\r
85\r
86 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
87 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
88**/\r
89SHELL_STATUS\r
90EFIAPI\r
91ShellCommandRunAlias (\r
92 IN EFI_HANDLE ImageHandle,\r
93 IN EFI_SYSTEM_TABLE *SystemTable\r
94 );\r
95\r
96/**\r
97 Function for 'cls' command.\r
98\r
99 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
100 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
101**/\r
102SHELL_STATUS\r
103EFIAPI\r
104ShellCommandRunCls (\r
105 IN EFI_HANDLE ImageHandle,\r
106 IN EFI_SYSTEM_TABLE *SystemTable\r
107 );\r
108\r
109/**\r
110 Function for 'echo' command.\r
111\r
112 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
113 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
114**/\r
115SHELL_STATUS\r
116EFIAPI\r
117ShellCommandRunEcho (\r
118 IN EFI_HANDLE ImageHandle,\r
119 IN EFI_SYSTEM_TABLE *SystemTable\r
120 );\r
121\r
122/**\r
123 Function for 'pause' command.\r
124\r
125 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
126 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
127**/\r
128SHELL_STATUS\r
129EFIAPI\r
130ShellCommandRunPause (\r
131 IN EFI_HANDLE ImageHandle,\r
132 IN EFI_SYSTEM_TABLE *SystemTable\r
133 );\r
134\r
135/**\r
136 Function for 'getmtc' command.\r
137\r
138 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
139 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
140**/\r
141SHELL_STATUS\r
142EFIAPI\r
143ShellCommandRunGetMtc (\r
144 IN EFI_HANDLE ImageHandle,\r
145 IN EFI_SYSTEM_TABLE *SystemTable\r
146 );\r
147\r
148/**\r
149 Function for 'help' command.\r
150\r
151 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
152 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
153**/\r
154SHELL_STATUS\r
155EFIAPI\r
156ShellCommandRunHelp (\r
157 IN EFI_HANDLE ImageHandle,\r
158 IN EFI_SYSTEM_TABLE *SystemTable\r
159 );\r
160\r
161#endif\r
162\r