]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/SecurityPkg.dsc
Enable TPM measurement lib to measure all PE image from a FV unmeasured by TcgPei
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
1 ## @file
2 # Security Module Package for All Architectures.
3 #
4 # Copyright (c) 2009 - 2012, 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 [Defines]
16 PLATFORM_NAME = SecurityPkg
17 PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F
18 PLATFORM_VERSION = 0.92
19 DSC_SPECIFICATION = 0x00010005
20 OUTPUT_DIRECTORY = Build/SecurityPkg
21 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC
22 BUILD_TARGETS = DEBUG|RELEASE
23 SKUID_IDENTIFIER = DEFAULT
24
25 [LibraryClasses]
26 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
27 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
28 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
29 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
30 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
31 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
32 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
33 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
34 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
35
36 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
37 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
38 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
39 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
40 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
41 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
42 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
43 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
44 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
45 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
46 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
47 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
48 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
49 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
50 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
51 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
52 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
53
54 [LibraryClasses.common.PEIM]
55 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
56 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
57 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
58 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
59 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
60 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
61
62 [LibraryClasses.common.DXE_DRIVER]
63 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
64 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
65 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
66
67 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
68 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
69 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
70
71 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
72 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
73
74 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
75 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
76
77 [LibraryClasses.IPF.DXE_SAL_DRIVER]
78 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
79 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
80
81 [LibraryClasses.common.DXE_SMM_DRIVER]
82 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
83 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
84 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
85 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
86
87 [Components]
88 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf
89 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
90 SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
91 SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf
92 SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf
93 SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf
94 SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf
95
96 #
97 # Application
98 #
99 SecurityPkg/Application/VariableInfo/VariableInfo.inf
100
101 #
102 # TPM
103 #
104 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
105 SecurityPkg/Tcg/TcgPei/TcgPei.inf
106 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
107 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
108 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
109 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
110 <LibraryClasses>
111 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
112 }
113 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
114 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
115
116 [Components.IA32, Components.X64]
117 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
118 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf
119 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf
120
121 [Components.IPF]
122 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf
123
124 [Components.EBC]
125 # Build only
126 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
127
128 [BuildOptions]
129 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
130 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
131