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