2 header file for NULL named library for level 3 shell command functions.
4 Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved. <BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _UEFI_SHELL_LEVEL3_COMMANDS_LIB_H_
16 #define _UEFI_SHELL_LEVEL3_COMMANDS_LIB_H_
19 #include <ShellBase.h>
21 #include <Guid/ShellLibHiiGuid.h>
23 #include <Protocol/EfiShell.h>
24 #include <Protocol/EfiShellParameters.h>
25 #include <Protocol/DevicePath.h>
26 #include <Protocol/LoadedImage.h>
27 #include <Protocol/UnicodeCollation.h>
28 #include <Protocol/DevicePathToText.h>
30 #include <Library/BaseLib.h>
31 #include <Library/BaseMemoryLib.h>
32 #include <Library/DebugLib.h>
33 #include <Library/MemoryAllocationLib.h>
34 #include <Library/PcdLib.h>
35 #include <Library/ShellCommandLib.h>
36 #include <Library/ShellLib.h>
37 #include <Library/UefiLib.h>
38 #include <Library/UefiRuntimeServicesTableLib.h>
39 #include <Library/UefiBootServicesTableLib.h>
40 #include <Library/HiiLib.h>
41 #include <Library/FileHandleLib.h>
43 extern EFI_HANDLE gShellLevel3HiiHandle
;
46 Function for 'type' command.
48 @param[in] ImageHandle Handle to the Image (NULL if Internal).
49 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
54 IN EFI_HANDLE ImageHandle
,
55 IN EFI_SYSTEM_TABLE
*SystemTable
59 Function for 'touch' command.
61 @param[in] ImageHandle Handle to the Image (NULL if Internal).
62 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
66 ShellCommandRunTouch (
67 IN EFI_HANDLE ImageHandle
,
68 IN EFI_SYSTEM_TABLE
*SystemTable
72 Function for 'ver' command.
74 @param[in] ImageHandle Handle to the Image (NULL if Internal).
75 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
80 IN EFI_HANDLE ImageHandle
,
81 IN EFI_SYSTEM_TABLE
*SystemTable
85 Function for 'alias' command.
87 @param[in] ImageHandle Handle to the Image (NULL if Internal).
88 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
92 ShellCommandRunAlias (
93 IN EFI_HANDLE ImageHandle
,
94 IN EFI_SYSTEM_TABLE
*SystemTable
98 Function for 'cls' command.
100 @param[in] ImageHandle Handle to the Image (NULL if Internal).
101 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
106 IN EFI_HANDLE ImageHandle
,
107 IN EFI_SYSTEM_TABLE
*SystemTable
111 Function for 'echo' command.
113 @param[in] ImageHandle Handle to the Image (NULL if Internal).
114 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
118 ShellCommandRunEcho (
119 IN EFI_HANDLE ImageHandle
,
120 IN EFI_SYSTEM_TABLE
*SystemTable
124 Function for 'pause' command.
126 @param[in] ImageHandle Handle to the Image (NULL if Internal).
127 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
131 ShellCommandRunPause (
132 IN EFI_HANDLE ImageHandle
,
133 IN EFI_SYSTEM_TABLE
*SystemTable
137 Function for 'getmtc' command.
139 @param[in] ImageHandle Handle to the Image (NULL if Internal).
140 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
144 ShellCommandRunGetMtc (
145 IN EFI_HANDLE ImageHandle
,
146 IN EFI_SYSTEM_TABLE
*SystemTable
150 Function for 'help' command.
152 @param[in] ImageHandle Handle to the Image (NULL if Internal).
153 @param[in] SystemTable Pointer to the System Table (NULL if Internal).
157 ShellCommandRunHelp (
158 IN EFI_HANDLE ImageHandle
,
159 IN EFI_SYSTEM_TABLE
*SystemTable