VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h@ 75265

Last change on this file since 75265 was 58459, checked in by vboxsync, 9 years ago

EFI/Firmware: 'svn merge /vendor/edk2/UDK2010.SR1 /vendor/edk2/current .', reverting and removing files+dirs listed in ReadMe.vbox, resolving conflicts with help from ../UDK2014.SP1/. This is a raw untested merge.

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1/** @file
2 Provides interface to shell internal functions for shell commands.
3
4 Copyright (c) 2006 - 2014, 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
9
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.
12
13**/
14
15#ifndef _UEFI_COMMAND_LIB_INTERNAL_HEADER_
16#define _UEFI_COMMAND_LIB_INTERNAL_HEADER_
17
18#include <Uefi.h>
19#include <ShellBase.h>
20
21#include <Guid/FileInfo.h>
22
23#include <Protocol/SimpleFileSystem.h>
24#include <Protocol/LoadedImage.h>
25#include <Protocol/EfiShellInterface.h>
26#include <Protocol/EfiShellEnvironment2.h>
27#include <Protocol/EfiShell.h>
28#include <Protocol/EfiShellParameters.h>
29#include <Protocol/UnicodeCollation.h>
30#include <Protocol/BlockIo.h>
31#include <Protocol/EfiShellDynamicCommand.h>
32
33#include <Library/DevicePathLib.h>
34#include <Library/SortLib.h>
35#include <Library/HandleParsingLib.h>
36#include <Library/BaseLib.h>
37#include <Library/BaseMemoryLib.h>
38#include <Library/DebugLib.h>
39#include <Library/MemoryAllocationLib.h>
40#include <Library/PcdLib.h>
41#include <Library/ShellCommandLib.h>
42#include <Library/PrintLib.h>
43#include <Library/ShellLib.h>
44#include <Library/HiiLib.h>
45#include <Library/UefiBootServicesTableLib.h>
46
47typedef struct{
48 LIST_ENTRY Link;
49 CHAR16 *CommandString;
50 SHELL_GET_MAN_FILENAME GetManFileName;
51 SHELL_RUN_COMMAND CommandHandler;
52 BOOLEAN LastError;
53 EFI_HANDLE HiiHandle;
54 EFI_STRING_ID ManFormatHelp;
55} SHELL_COMMAND_INTERNAL_LIST_ENTRY;
56
57typedef struct {
58 LIST_ENTRY Link;
59 SCRIPT_FILE *Data;
60} SCRIPT_FILE_LIST;
61
62typedef struct {
63 EFI_FILE_PROTOCOL *FileHandle;
64 CHAR16 *Path;
65} SHELL_COMMAND_FILE_HANDLE;
66
67
68#endif //_UEFI_COMMAND_LIB_INTERNAL_HEADER_
69
Note: See TracBrowser for help on using the repository browser.

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