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