VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h@ 80721

Last change on this file since 80721 was 80721, checked in by vboxsync, 5 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: 1.8 KB
Line 
1/** @file
2 Provides interface to shell internal functions for shell commands.
3
4 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved. <BR>
5 (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef _UEFI_COMMAND_LIB_INTERNAL_HEADER_
11#define _UEFI_COMMAND_LIB_INTERNAL_HEADER_
12
13#include <Uefi.h>
14
15#include <Guid/FileInfo.h>
16#include <Guid/GlobalVariable.h>
17
18#include <Protocol/SimpleFileSystem.h>
19#include <Protocol/LoadedImage.h>
20#include <Protocol/EfiShellInterface.h>
21#include <Protocol/EfiShellEnvironment2.h>
22#include <Protocol/Shell.h>
23#include <Protocol/ShellParameters.h>
24#include <Protocol/UnicodeCollation.h>
25#include <Protocol/BlockIo.h>
26#include <Protocol/ShellDynamicCommand.h>
27
28#include <Library/DevicePathLib.h>
29#include <Library/SortLib.h>
30#include <Library/HandleParsingLib.h>
31#include <Library/BaseLib.h>
32#include <Library/BaseMemoryLib.h>
33#include <Library/DebugLib.h>
34#include <Library/MemoryAllocationLib.h>
35#include <Library/PcdLib.h>
36#include <Library/ShellCommandLib.h>
37#include <Library/PrintLib.h>
38#include <Library/ShellLib.h>
39#include <Library/HiiLib.h>
40#include <Library/UefiBootServicesTableLib.h>
41#include <Library/UefiLib.h>
42
43typedef struct{
44 LIST_ENTRY Link;
45 CHAR16 *CommandString;
46 SHELL_GET_MAN_FILENAME GetManFileName;
47 SHELL_RUN_COMMAND CommandHandler;
48 BOOLEAN LastError;
49 EFI_HANDLE HiiHandle;
50 EFI_STRING_ID ManFormatHelp;
51} SHELL_COMMAND_INTERNAL_LIST_ENTRY;
52
53typedef struct {
54 LIST_ENTRY Link;
55 SCRIPT_FILE *Data;
56} SCRIPT_FILE_LIST;
57
58typedef struct {
59 EFI_FILE_PROTOCOL *FileHandle;
60 CHAR16 *Path;
61} SHELL_COMMAND_FILE_HANDLE;
62
63
64#endif //_UEFI_COMMAND_LIB_INTERNAL_HEADER_
65
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