]> git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/CryptoPkg.dsc
c5a7d4a549b3ffad6d52026892cfec487494fd57
[mirror_edk2.git] / CryptoPkg / CryptoPkg.dsc
1 ## @file
2 # Cryptographic Library Package for UEFI Security Implementation.
3 #
4 # Copyright (c) 2009 - 2010, 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 ################################################################################
16 #
17 # Defines Section - statements that will be processed to create a Makefile.
18 #
19 ################################################################################
20 [Defines]
21 PLATFORM_NAME = CryptoPkg
22 PLATFORM_GUID = E1063286-6C8C-4c25-AEF0-67A9A5B6E6B6
23 PLATFORM_VERSION = 0.91
24 DSC_SPECIFICATION = 0x00010005
25 OUTPUT_DIRECTORY = Build/CryptoPkg
26 SUPPORTED_ARCHITECTURES = IA32|X64|IPF|EBC
27 BUILD_TARGETS = DEBUG|RELEASE
28 SKUID_IDENTIFIER = DEFAULT
29
30 ################################################################################
31 #
32 # Library Class section - list of all Library Classes needed by this Platform.
33 #
34 ################################################################################
35 [LibraryClasses]
36 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
37 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
38 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
39 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
40 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
41 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
42 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
43 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
44 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
45 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
46 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
47 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
48 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
49
50 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
51 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
52
53 [LibraryClasses.common.PEIM]
54 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
55
56 [LibraryClasses.common.DXE_DRIVER]
57 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
58
59 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
60 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
61
62 [LibraryClasses.common.DXE_SAL_DRIVER]
63 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
64
65 [LibraryClasses.common.UEFI_DRIVER]
66 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
67
68 [LibraryClasses.common.UEFI_APPLICATION]
69 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
70
71 ################################################################################
72 #
73 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
74 #
75 ################################################################################
76 [PcdsFeatureFlag]
77 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE
78 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE
79 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
80 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
81
82 [PcdsFixedAtBuild]
83 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
84 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
85 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
86
87 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
88 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
89 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
90 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
91 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0
92 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
93 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
94
95 ###################################################################################################
96 #
97 # Components Section - list of the modules and components that will be processed by compilation
98 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
99 #
100 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
101 # into firmware volume images. This section is just a list of modules to compile from
102 # source into UEFI-compliant binaries.
103 # It is the FDF file that contains information on combining binary files into firmware
104 # volume images, whose concept is beyond UEFI and is described in PI specification.
105 # Binary modules do not need to be listed in this section, as they should be
106 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
107 # Logo (Logo.bmp), and etc.
108 # There may also be modules listed in this section that are not required in the FDF file,
109 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
110 # generated for it, but the binary will not be put into any firmware volume.
111 #
112 ###################################################################################################
113 [Components]
114 CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
115 CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
116 CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
117
118 CryptoPkg/Application/Cryptest/Cryptest.inf
119
120 CryptoPkg/CryptRuntimeDxe/CryptRuntimeDxe.inf
121
122 [Components.IPF]
123 CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf