]> git.proxmox.com Git - mirror_edk2.git/blame - SignedCapsulePkg/SignedCapsulePkg.dsc
MdeModulePkg: Change the SMM debug lib instance
[mirror_edk2.git] / SignedCapsulePkg / SignedCapsulePkg.dsc
CommitLineData
b1067637
JY
1## @file\r
2# This package provides EDKII capsule related support.\r
3#\r
4# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
5#\r
fbf06957 6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
b1067637
JY
7#\r
8##\r
9\r
10[Defines]\r
11 PLATFORM_NAME = SignedCapsulePkg\r
12 PLATFORM_GUID = 164E16D7-B56A-416D-92FF-0A63983733F6\r
13 PLATFORM_VERSION = 0.96\r
14 DSC_SPECIFICATION = 0x00010005\r
15 OUTPUT_DIRECTORY = Build/SignedCapsulePkg\r
3b6c73f1 16 SUPPORTED_ARCHITECTURES = AARCH64|ARM|IA32|X64\r
b1067637
JY
17 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
18 SKUID_IDENTIFIER = DEFAULT\r
19\r
20[LibraryClasses]\r
21 #\r
22 # Entry point\r
23 #\r
24 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
25 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
26 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
27 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
28 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
29 #\r
30 # Basic\r
31 #\r
32 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
33 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
34 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
35 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
36 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
37 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
38 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
39 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
40 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
41 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
42 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
43 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r
44 #\r
45 # UEFI & PI\r
46 #\r
47 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
48 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
49 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
50 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
51 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
52 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
53 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
54 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
55 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
56 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
57 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
58 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
59 #\r
60 # Generic Modules\r
61 #\r
62 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
63 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
64 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
65 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
66 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
67 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
68 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
69 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
70 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
71 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
72 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
73 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
b1067637
JY
74 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
75 #\r
76 # Misc\r
77 #\r
78 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
79 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
80 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
81 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
82 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
83 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
84 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r
85 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf\r
86 SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf\r
87 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
88 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
89 PlatformBootManagerLib|MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManagerLibNull.inf\r
90 PciHostBridgeLib|MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf\r
91 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
92 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
93 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
94 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
95 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
96 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
97\r
98 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf\r
99 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf\r
100 PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf\r
101\r
3b6c73f1
LL
102[LibraryClasses.ARM]\r
103 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
104\r
105 #\r
106 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
107 # This library provides the instrinsic functions generate by a given compiler.\r
108 # And NULL mean link this library into all ARM images.\r
109 #\r
110 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
111\r
112 # Add support for GCC stack protector\r
113 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
114\r
b1067637
JY
115[LibraryClasses.common.PEI_CORE]\r
116 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
117 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
118\r
119[LibraryClasses.common.PEIM]\r
120 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
121 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
122 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
123 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
124\r
125[LibraryClasses.common.DXE_CORE]\r
126 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
127 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
128\r
129[LibraryClasses.common.DXE_DRIVER]\r
130 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
131 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
132 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
133\r
134 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf\r
135\r
136[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
137 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
138 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
139 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
140 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
141\r
142 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf\r
143\r
144[LibraryClasses.common.SMM_CORE]\r
145 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
146 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
147 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
148 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
149 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
150\r
151[LibraryClasses.common.DXE_SMM_DRIVER]\r
152 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
153 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
154 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
155 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
156 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
157 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
158\r
159[LibraryClasses.common.UEFI_DRIVER]\r
160 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
161 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
162 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
163 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
164\r
165[LibraryClasses.common.UEFI_APPLICATION]\r
166 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
167 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
168 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
169 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
170\r
171[PcdsFixedAtBuild]\r
172 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
173 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
174\r
175[PcdsDynamicExDefault]\r
176 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100\r
177\r
178###################################################################################################\r
179#\r
180# Components Section - list of the modules and components that will be processed by compilation\r
181# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
182#\r
183# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
184# into firmware volume images. This section is just a list of modules to compile from\r
185# source into UEFI-compliant binaries.\r
186# It is the FDF file that contains information on combining binary files into firmware\r
187# volume images, whose concept is beyond UEFI and is described in PI specification.\r
188# Binary modules do not need to be listed in this section, as they should be\r
189# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
190# Logo (Logo.bmp), and etc.\r
191# There may also be modules listed in this section that are not required in the FDF file,\r
192# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
193# generated for it, but the binary will not be put into any firmware volume.\r
194#\r
195###################################################################################################\r
196\r
197[Components]\r
198 SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf\r
199 SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf\r
200 SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf\r
201\r
202 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {\r
203 <LibraryClasses>\r
204 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
205 }\r
206 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {\r
207 <LibraryClasses>\r
208 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
209 }\r
210 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {\r
211 <LibraryClasses>\r
212 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf\r
213 }\r
214\r
215[BuildOptions]\r
216 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r