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