VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.h@ 80924

Last change on this file since 80924 was 80721, checked in by vboxsync, 6 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

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

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette