]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/ShellPkg.dec
ShellPkg: Verify DevicePathToText was successful before using the resultant pointer.
[mirror_edk2.git] / ShellPkg / ShellPkg.dec
CommitLineData
a405b86d 1## @file ShellPkg.dec\r
94b17fa1 2#\r
3# This Package provides all definitions for EFI and UEFI Shell\r
4#\r
53b1c0c1 5# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
94b17fa1 6#\r
94b17fa1 7# This program and the accompanying materials are licensed and made available under\r
8# the terms and conditions of the BSD License which accompanies this distribution.\r
9# The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
15##\r
16\r
94b17fa1 17[Defines]\r
18 DEC_SPECIFICATION = 0x00010005\r
19 PACKAGE_NAME = ShellPkg\r
20 PACKAGE_GUID = 9FB7587C-93F7-40a7-9C04-FD7BA94EE646\r
a405b86d 21 PACKAGE_VERSION = 0.40\r
94b17fa1 22\r
edd88d5a 23[Includes]\r
94b17fa1 24 Include\r
25\r
edd88d5a 26[LibraryClasses]\r
a405b86d 27 ## @libraryclass Provides most Shell APIs. Only available for Shell applications\r
94b17fa1 28 ShellLib|Include/Library/ShellLib.h\r
29\r
a405b86d 30 ## @libraryclass Provides shell internal support Only available for shell internal commands\r
31 ShellCommandLib|Include/Library/ShellCommandLib.h\r
32\r
33 ## @libraryclass provides EFI_FILE_HANDLE services used by Shell and ShellLib\r
d2b4564b 34 FileHandleLib|Include/Library/FileHandleLib.h\r
a405b86d 35\r
4983ca93 36 ## @libraryclass Allows for a shell application to have a C style entry point\r
b1f95a06 37 ShellCEntryLib|Include/Library/ShellCEntryLib.h\r
d2b4564b 38\r
4983ca93 39 ## @libraryclass Provides sorting functions\r
a405b86d 40 SortLib|Include/Library/SortLib.h\r
4983ca93 41\r
a405b86d 42 ## @libraryclass Provides advanced parsing functions\r
43 HandleParsingLib|Include/Library/HandleParsingLib.h\r
ab94587a 44 \r
45 ## @libraryclass Provides path manipulation functions\r
46 PathLib|Include/Library/PathLib.h\r
d2b4564b 47\r
edd88d5a 48[Guids]\r
94b17fa1 49 gEfiShellEnvironment2ExtGuid = {0xd2c18636, 0x40e5, 0x4eb5, {0xa3, 0x1b, 0x36, 0x69, 0x5f, 0xd4, 0x2c, 0x87}}\r
a405b86d 50 gEfiShellPkgTokenSpaceGuid = {0x171e9188, 0x31d3, 0x40f5, {0xb1, 0x0c, 0x53, 0x9b, 0x2d, 0xb9, 0x40, 0xcd}}\r
51 gShellVariableGuid = {0x158def5a, 0xf656, 0x419c, {0xb0, 0x27, 0x7a, 0x31, 0x92, 0xc0, 0x79, 0xd2}}\r
52 gShellMapGuid = {0x51271e13, 0x7de3, 0x43af, {0x8b, 0xc2, 0x71, 0xad, 0x3b, 0x82, 0x43, 0x25}}\r
53 gShellAliasGuid = {0x0053d9d6, 0x2659, 0x4599, {0xa2, 0x6b, 0xef, 0x45, 0x36, 0xe6, 0x31, 0xa9}}\r
54\r
edd88d5a 55[Protocols]\r
94b17fa1 56 gEfiShellProtocolGuid = {0x6302d008, 0x7f9b, 0x4f30, {0x87, 0xac, 0x60, 0xc9, 0xfe, 0xf5, 0xda, 0x4e}}\r
57 gEfiShellParametersProtocolGuid = {0x752f3136, 0x4e16, 0x4fdc, {0xa2, 0x2a, 0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca}}\r
58 gEfiShellEnvironment2Guid = {0x47c7b221, 0xc42a, 0x11d2, {0x8e, 0x57, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}\r
59 gEfiShellInterfaceGuid = {0x47c7b223, 0xc42a, 0x11d2, {0x8e, 0x57, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}\r
60\r
edd88d5a 61[PcdsFeatureFlag]\r
62 ## This flag is used to control whether the shell includes NT32 platform Guids\r
63 # and thereby prevents dependancy on that Pkg\r
64 gEfiShellPkgTokenSpaceGuid.PcdShellIncludeNtGuids|TRUE|BOOLEAN|0x0000000E\r
65\r
66 ## This flag is used to control HII required by the shell\r
67 gEfiShellPkgTokenSpaceGuid.PcdShellRequireHiiPlatform|TRUE|BOOLEAN|0x00000003\r
68\r
69 ## This flag is used to control HII required by the shell\r
70 gEfiShellPkgTokenSpaceGuid.PcdShellSupportFrameworkHii|FALSE|BOOLEAN|0x00000004\r
71 \r
72 ## This flag forces the shell to present a user console. Allows for earlier debugging of platforms.\r
73 gEfiShellPkgTokenSpaceGuid.PcdShellForceConsole|FALSE|BOOLEAN|0x0000000F\r
74\r
b1f95a06 75[PcdsFixedAtBuild]\r
d2b4564b 76 ## This flag is used to control initialization of the shell library\r
a405b86d 77 # This should be FALSE for compiling the shell application itself only.\r
02864f59 78 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|TRUE|BOOLEAN|0x00000005\r
79\r
a405b86d 80 ## This is the max buffer for ShellLib, FileHandleLib, and internal Shell printings.\r
81 gEfiShellPkgTokenSpaceGuid.PcdShellPrintBufferSize|16000|UINT16|0x0000000C\r
82\r
83 ## This flag is used to control the commands available in the shell\r
84 gEfiShellPkgTokenSpaceGuid.PcdShellSupportLevel|3|UINT8|0x00000001\r
85\r
86 ## This flag is used to control the profiles available in the shell\r
87 # don't forget to update the text file if you change this.\r
88 # bit 0 = Drivers1\r
89 # bit 1 = Debug1\r
90 # bit 2 = Install1\r
91 # bit 3 = Network1\r
92 gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask|0xFF|UINT8|0x0000000D\r
93\r
94 ## This is the character count for allocation for consistent mappings\r
95 gEfiShellPkgTokenSpaceGuid.PcdShellMapNameLength|50|UINT8|0x00000009\r
96\r
97 ## This determins how many bytes are read out of files at a time for file operations (type, copy, etc...)\r
98 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|1000|UINT16|0x0000000A\r
99\r
53b1c0c1 100[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
a405b86d 101 ## This flag is used to control the protocols produced by the shell\r
102 # If TRUE the shell will produce EFI_SHELL_ENVIRONMENT2 and EFI_SHELL_INTERFACE\r
103 gEfiShellPkgTokenSpaceGuid.PcdShellSupportOldProtocols|FALSE|BOOLEAN|0x00000002\r
104\r
105 ## this flag determins whether Page Break (-b) defaults to on or off in the shell\r
106 gEfiShellPkgTokenSpaceGuid.PcdShellPageBreakDefault|FALSE|BOOLEAN|0x00000006\r
02864f59 107\r
a405b86d 108 ## this flag determins whether insert mode for typing is default (FALSE means typeover)\r
109 gEfiShellPkgTokenSpaceGuid.PcdShellInsertModeDefault|TRUE|BOOLEAN|0x00000007\r
02864f59 110\r
a405b86d 111 ## this flag determins the default number of screens kept for history log.\r
112 # the spec defines 3 as the minimum\r
113 gEfiShellPkgTokenSpaceGuid.PcdShellScreenLogCount|3|UINT8|0x00000008