]>
Commit | Line | Data |
---|---|---|
a405b86d | 1 | /** @file\r |
2 | Provides interface to shell internal functions for shell commands.\r | |
3 | \r | |
cf812a20 | 4 | Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved. <BR>\r |
9b7143c9 | 5 | (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r |
a405b86d | 6 | This program and the accompanying materials\r |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef _UEFI_COMMAND_LIB_INTERNAL_HEADER_\r | |
17 | #define _UEFI_COMMAND_LIB_INTERNAL_HEADER_\r | |
18 | \r | |
19 | #include <Uefi.h>\r | |
20 | #include <ShellBase.h>\r | |
21 | \r | |
22 | #include <Guid/FileInfo.h>\r | |
23 | \r | |
24 | #include <Protocol/SimpleFileSystem.h>\r | |
25 | #include <Protocol/LoadedImage.h>\r | |
26 | #include <Protocol/EfiShellInterface.h>\r | |
27 | #include <Protocol/EfiShellEnvironment2.h>\r | |
28 | #include <Protocol/EfiShell.h>\r | |
29 | #include <Protocol/EfiShellParameters.h>\r | |
30 | #include <Protocol/UnicodeCollation.h>\r | |
31 | #include <Protocol/BlockIo.h>\r | |
cf812a20 | 32 | #include <Protocol/EfiShellDynamicCommand.h>\r |
a405b86d | 33 | \r |
34 | #include <Library/DevicePathLib.h>\r | |
35 | #include <Library/SortLib.h>\r | |
36 | #include <Library/HandleParsingLib.h>\r | |
37 | #include <Library/BaseLib.h>\r | |
38 | #include <Library/BaseMemoryLib.h>\r | |
39 | #include <Library/DebugLib.h>\r | |
40 | #include <Library/MemoryAllocationLib.h>\r | |
41 | #include <Library/PcdLib.h>\r | |
8d095e78 | 42 | #include <Library/ShellCommandLib.h>\r |
a405b86d | 43 | #include <Library/PrintLib.h>\r |
44 | #include <Library/ShellLib.h>\r | |
45 | #include <Library/HiiLib.h>\r | |
46 | #include <Library/UefiBootServicesTableLib.h>\r | |
9b7143c9 | 47 | #include <Library/UefiLib.h>\r |
a405b86d | 48 | \r |
49 | typedef struct{\r | |
50 | LIST_ENTRY Link;\r | |
51 | CHAR16 *CommandString;\r | |
52 | SHELL_GET_MAN_FILENAME GetManFileName;\r | |
53 | SHELL_RUN_COMMAND CommandHandler;\r | |
54 | BOOLEAN LastError;\r | |
55 | EFI_HANDLE HiiHandle;\r | |
56 | EFI_STRING_ID ManFormatHelp;\r | |
57 | } SHELL_COMMAND_INTERNAL_LIST_ENTRY;\r | |
58 | \r | |
59 | typedef struct {\r | |
60 | LIST_ENTRY Link;\r | |
61 | SCRIPT_FILE *Data;\r | |
62 | } SCRIPT_FILE_LIST;\r | |
63 | \r | |
a405b86d | 64 | typedef struct {\r |
65 | EFI_FILE_PROTOCOL *FileHandle;\r | |
66 | CHAR16 *Path;\r | |
67 | } SHELL_COMMAND_FILE_HANDLE;\r | |
68 | \r | |
69 | \r | |
70 | #endif //_UEFI_COMMAND_LIB_INTERNAL_HEADER_\r | |
71 | \r |