]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/ShellPkg.dsc
pointer verification (not NULL) and buffer overrun fixes.
[mirror_edk2.git] / ShellPkg / ShellPkg.dsc
1 ## @file
2 # Shell Package
3 #
4 # Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 [Defines]
17 PLATFORM_NAME = Shell
18 PLATFORM_GUID = E1DC9BF8-7013-4c99-9437-795DAA45F3BD
19 PLATFORM_VERSION = 0.50
20 DSC_SPECIFICATION = 0x00010006
21 OUTPUT_DIRECTORY = Build/Shell
22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC
23 BUILD_TARGETS = DEBUG|RELEASE
24 SKUID_IDENTIFIER = DEFAULT
25
26 [LibraryClasses.common]
27 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
28 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
29 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
30 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
31 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
32 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
33 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
34 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
35 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
36 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
37 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
38 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
39 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
40 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
41 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
42
43 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
44 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
45 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
46 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
47 SortLib|ShellPkg/Library/BaseSortLib/BaseSortLib.inf
48 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
49
50 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
51
52 [PcdsFixedAtBuild.common]
53
54 [Components.common]
55 ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
56 ShellPkg/Library/UefiShellLib/UefiShellLib.inf
57 ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
58 ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
59 ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
60
61 ShellPkg/Application/Shell/Shell.inf {
62 <LibraryClasses>
63 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
64 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
65 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
66 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
67 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
68 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
69 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
70 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
71 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
72 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
73 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
74 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
75 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
76 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
77
78 <PcdsFixedAtBuild>
79 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
80 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
81 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000
82 }
83
84
85 ShellPkg/Application/ShellCTestApp/ShellCTestApp.inf {
86 <LibraryClasses>
87 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
88 }
89 ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.inf {
90 <LibraryClasses>
91 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
92 }
93 ShellPkg/Application/ShellExecTestApp/SA.inf