2 # This package provides EDKII capsule related support.
4 # Copyright (c) 2016 - 2021, Intel Corporation. All rights reserved.<BR>
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 PLATFORM_NAME = SignedCapsulePkg
12 PLATFORM_GUID = 164E16D7-B56A-416D-92FF-0A63983733F6
13 PLATFORM_VERSION = 0.96
14 DSC_SPECIFICATION = 0x00010005
15 OUTPUT_DIRECTORY = Build/SignedCapsulePkg
16 SUPPORTED_ARCHITECTURES = AARCH64|ARM|IA32|X64
17 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
18 SKUID_IDENTIFIER = DEFAULT
20 !include MdePkg/MdeLibs.dsc.inc
26 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
27 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
28 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
29 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
30 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
34 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
35 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
36 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
37 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
38 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
39 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
40 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
41 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
42 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
43 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
44 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
45 SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
49 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
50 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
51 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
52 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
53 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
54 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
55 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
56 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
57 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
58 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
59 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
60 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
64 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
65 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
66 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
67 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
68 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
69 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
70 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
71 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
75 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
76 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
77 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
78 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
79 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
80 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
81 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
82 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
83 SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf
84 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
85 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
86 PlatformBootManagerLib|MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManagerLibNull.inf
87 PciHostBridgeLib|MdeModulePkg/Library/PciHostBridgeLibNull/PciHostBridgeLibNull.inf
88 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
89 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
90 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
91 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
93 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
94 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
95 PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
98 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
100 [LibraryClasses.AARCH64, LibraryClasses.ARM]
102 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
103 # This library provides the instrinsic functions generate by a given compiler.
104 # And NULL mean link this library into all ARM images.
106 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
108 # Add support for GCC stack protector
109 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
111 [LibraryClasses.common.PEI_CORE]
112 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
113 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
115 [LibraryClasses.common.PEIM]
116 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
117 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
118 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
119 !ifdef CONTINUOUS_INTEGRATION
120 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
122 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
123 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
124 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
127 [LibraryClasses.common.DXE_CORE]
128 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
129 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
131 [LibraryClasses.common.DXE_DRIVER]
132 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
133 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
134 !ifdef CONTINUOUS_INTEGRATION
135 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
137 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
138 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
139 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
142 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
144 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
145 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
146 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
147 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
148 !ifdef CONTINUOUS_INTEGRATION
149 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
151 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
152 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
153 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
156 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
158 [LibraryClasses.common.SMM_CORE]
159 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
160 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
161 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
162 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
163 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
165 [LibraryClasses.common.DXE_SMM_DRIVER]
166 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
167 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
168 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
169 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
170 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
171 !ifdef CONTINUOUS_INTEGRATION
172 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
174 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
175 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
176 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
179 [LibraryClasses.common.UEFI_DRIVER]
180 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
181 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
182 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
183 !ifdef CONTINUOUS_INTEGRATION
184 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
186 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
187 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
188 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
191 [LibraryClasses.common.UEFI_APPLICATION]
192 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
193 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
194 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
195 !ifdef CONTINUOUS_INTEGRATION
196 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
198 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
199 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
200 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
204 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
205 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
207 [PcdsDynamicExDefault]
208 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
210 ###################################################################################################
212 # Components Section - list of the modules and components that will be processed by compilation
213 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
215 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
216 # into firmware volume images. This section is just a list of modules to compile from
217 # source into UEFI-compliant binaries.
218 # It is the FDF file that contains information on combining binary files into firmware
219 # volume images, whose concept is beyond UEFI and is described in PI specification.
220 # Binary modules do not need to be listed in this section, as they should be
221 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
222 # Logo (Logo.bmp), and etc.
223 # There may also be modules listed in this section that are not required in the FDF file,
224 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
225 # generated for it, but the binary will not be put into any firmware volume.
227 ###################################################################################################
230 SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
231 SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
232 SignedCapsulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf
234 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {
236 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
238 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {
240 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
242 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {
244 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
248 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES