]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/SecurityPkg.dsc
Enhance TPM driver to protect TPM physical presence flags.
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
1 ## @file
2 # Security Module Package for All Architectures.
3 #
4 # Copyright (c) 2009 - 2013, 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 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
54
55 [LibraryClasses.common.PEIM]
56 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
57 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
58 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
59 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
60 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
61 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
62
63 [LibraryClasses.common.DXE_DRIVER]
64 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
65 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
66 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
67
68 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
69 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
70 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
71
72 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
73 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
74
75 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
76 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
77
78 [LibraryClasses.IPF.DXE_SAL_DRIVER]
79 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
80 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
81
82 [LibraryClasses.common.DXE_SMM_DRIVER]
83 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
84 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
85 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
86 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
87
88 [Components]
89 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf
90 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
91 SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
92 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
93 SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf
94 SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.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/Library/TpmCommLib/TpmCommLib.inf
106
107 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
108 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
109
110 [Components.IA32, Components.X64, Components.IPF]
111 SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf
112 SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf
113 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
114 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
115
116 #
117 # TPM
118 #
119 SecurityPkg/Tcg/TcgPei/TcgPei.inf
120 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
121 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
122 <LibraryClasses>
123 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
124 }
125
126 [Components.IA32, Components.X64]
127 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf
128 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf
129 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
130
131 [Components.IPF]
132 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf
133
134 [BuildOptions]
135 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
136 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
137