]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Quark.dsc
StandaloneMmPkg/StandaloneMmCpu: fix typo Standlone -> Standalone
[mirror_edk2.git] / QuarkPlatformPkg / Quark.dsc
1 ## @file
2 # Clanton Peak CRB platform with 32-bit DXE for 4MB/8MB flash devices.
3 #
4 # This package provides Clanton Peak CRB platform specific modules.
5 # Copyright (c) 2013 - 2018 Intel Corporation.
6 #
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 ##
16
17 ################################################################################
18 #
19 # Defines Section - statements that will be processed to create a Makefile.
20 #
21 ################################################################################
22 [Defines]
23 DSC_SPECIFICATION = 0x00010005
24 PLATFORM_NAME = Quark
25 PLATFORM_GUID = F6E7730E-0C7A-4741-9DFC-6BC8B86CD865
26 PLATFORM_VERSION = 0.1
27 FLASH_DEFINITION = QuarkPlatformPkg/Quark.fdf
28 OUTPUT_DIRECTORY = Build/Quark
29 SUPPORTED_ARCHITECTURES = IA32
30 BUILD_TARGETS = DEBUG|RELEASE
31 SKUID_IDENTIFIER = DEFAULT
32 VPD_TOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
33
34 #
35 # Platform On/Off features are defined here
36 #
37 DEFINE SECURE_BOOT_ENABLE = FALSE
38 DEFINE MEASURED_BOOT_ENABLE = FALSE
39 DEFINE SOURCE_DEBUG_ENABLE = FALSE
40 DEFINE PERFORMANCE_ENABLE = FALSE
41 DEFINE LOGGING = FALSE
42 DEFINE CAPSULE_ENABLE = FALSE
43 DEFINE RECOVERY_ENABLE = FALSE
44
45 #
46 # Galileo board. Options are [GEN1, GEN2]
47 #
48 DEFINE GALILEO = GEN2
49
50 #
51 # TPM 1.2 Hardware. Options are [NONE, LPC, ATMEL_I2C, INFINEON_I2C]
52 #
53 DEFINE TPM_12_HARDWARE = NONE
54
55 !if $(TARGET) == "DEBUG"
56 DEFINE LOGGING = TRUE
57 !endif
58
59 !if $(PERFORMANCE_ENABLE)
60 DEFINE SOURCE_DEBUG_ENABLE = FALSE
61 DEFINE LOGGING = FALSE
62 !endif
63
64 ################################################################################
65 #
66 # SKU Identification section - list of all SKU IDs supported by this
67 # Platform.
68 #
69 ################################################################################
70 [SkuIds]
71 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
72
73 ################################################################################
74 #
75 # Library Class section - list of all Library Classes needed by this Platform.
76 #
77 ################################################################################
78 [LibraryClasses]
79 #
80 # Entry point
81 #
82 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
83 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
84 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
85 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
86 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
87
88 #
89 # Basic
90 #
91 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
92 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
93 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
94 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
95 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
96 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
97 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
98 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
99 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
100 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
101 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
102 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
103 !if $(SOURCE_DEBUG_ENABLE)
104 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
105 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
106 !else
107 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
108 !endif
109 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
110 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
111
112 #
113 # UEFI & PI
114 #
115 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
116 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
117 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
118 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
119 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
120 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
121 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
122 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
123 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
124 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
125 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
126 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
127 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
128 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
129 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
130
131 #
132 # Generic Modules
133 #
134 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
135 S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
136 S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
137 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
138 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
139 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
140 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
141 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
142 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
143 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
144 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
145 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
146 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
147 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
148 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
149 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
150 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
151 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
152 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
153 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
154 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
155 !if $(LOGGING)
156 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
157 !else
158 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
159 !endif
160 !if $(PERFORMANCE_ENABLE)
161 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
162 !else
163 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
164 !endif
165
166 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
167 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
168
169 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
170 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
171 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
172
173 !if $(SECURE_BOOT_ENABLE)
174 PlatformSecureLib|QuarkPlatformPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
175 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
176 !else
177 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
178 !endif
179
180 !if $(MEASURED_BOOT_ENABLE)
181 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
182 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
183 !if $(TPM_12_HARDWARE) == LPC
184 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
185 !endif
186 !if $(TPM_12_HARDWARE) == ATMEL_I2C
187 Tpm12DeviceLib|QuarkPlatformPkg/Library/Tpm12DeviceLibAtmelI2c/Tpm12DeviceLibAtmelI2c.inf
188 !endif
189 !if $(TPM_12_HARDWARE) == INFINEON_I2C
190 Tpm12DeviceLib|QuarkPlatformPkg/Library/Tpm12DeviceLibInfineonI2c/Tpm12DeviceLibInfineonI2c.inf
191 !endif
192 TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
193 !else
194 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
195 !endif
196
197 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
198
199 #
200 # CPU
201 #
202 MtrrLib|QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.inf
203 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
204 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
205
206 #
207 # Quark North Cluster
208 #
209 SmmLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf
210 SmbusLib|QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/SmbusLib.inf
211 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
212 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
213 IntelQNCLib|QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/IntelQNCLib.inf
214 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/QNCAccessLib.inf
215 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
216
217 #
218 # Quark South Cluster
219 #
220 IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf
221 I2cLib|QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/I2cLib.inf
222 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
223 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
224
225 #
226 # Quark Platform
227 #
228 PlatformSecLib|QuarkPlatformPkg/Library/PlatformSecLib/PlatformSecLib.inf
229 PlatformPcieHelperLib|QuarkPlatformPkg/Library/PlatformPcieHelperLib/PlatformPcieHelperLib.inf
230 PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/DxePlatformHelperLib.inf
231
232 !if $(CAPSULE_ENABLE)
233 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
234 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
235 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
236 !else
237 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
238 !endif
239
240 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
241 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf
242 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
243 PlatformFlashAccessLib|QuarkPlatformPkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLibDxe.inf
244 DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.inf
245
246 [LibraryClasses.common.SEC]
247 #
248 # SEC specific phase
249 #
250 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
251 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
252 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
253 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
254 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
255 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
256
257 [LibraryClasses.IA32.PEIM,LibraryClasses.IA32.PEI_CORE]
258 #
259 # PEI phase common
260 #
261 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
262 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
263 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
264 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
265 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
266 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
267 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
268 PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/PeiPlatformHelperLib.inf
269 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
270 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
271 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
272 !if $(PERFORMANCE_ENABLE)
273 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
274 !endif
275
276 [LibraryClasses.IA32.DXE_CORE]
277 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
278 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
279 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
280 !if $(PERFORMANCE_ENABLE)
281 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
282 !endif
283
284 [LibraryClasses.IA32.DXE_SMM_DRIVER]
285 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
286 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
287 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
288 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
289 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
290 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
291 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
292 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
293 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
294 !if $(PERFORMANCE_ENABLE)
295 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
296 !endif
297
298 [LibraryClasses.IA32.SMM_CORE]
299 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
300 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
301 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
302 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
303 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
304 !if $(SECURE_BOOT_ENABLE) || $(MEASURED_BOOT_ENABLE)
305 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
306 !endif
307 !if $(PERFORMANCE_ENABLE)
308 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
309 !endif
310
311 [LibraryClasses.IA32.DXE_RUNTIME_DRIVER]
312 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
313 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/RuntimeQNCAccessLib.inf
314 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
315 !if $(SECURE_BOOT_ENABLE) || $(MEASURED_BOOT_ENABLE)
316 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
317 !endif
318
319 !if $(CAPSULE_ENABLE)
320 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
321 !endif
322
323 [LibraryClasses.IA32.UEFI_DRIVER,LibraryClasses.IA32.UEFI_APPLICATION]
324 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
325
326 ################################################################################
327 #
328 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
329 #
330 ################################################################################
331 [PcdsFeatureFlag]
332 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE
333 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE
334 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
335 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
336 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|FALSE
337 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
338 !if $(SOURCE_DEBUG_ENABLE)
339 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
340 !endif
341
342 !if $(TARGET) == "RELEASE"
343 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|FALSE
344 !else
345 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|TRUE
346 !endif
347
348 [PcdsFixedAtBuild]
349 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|1
350 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x20000
351 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE
352 !if $(LOGGING)
353 !if $(SOURCE_DEBUG_ENABLE)
354 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
355 !else
356 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
357 !endif
358 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
359 !else
360 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
361 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x0
362 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
363 !endif
364 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x18
365 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
366 !if $(GALILEO) == GEN1
367 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|460800
368 !endif
369 !if $(GALILEO) == GEN2
370 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|921600
371 !endif
372 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
373 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1
374 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
375 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0
376 !if $(PERFORMANCE_ENABLE)
377 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
378 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|80
379 !else
380 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x00
381 !endif
382 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0
383 !if $(SECURE_BOOT_ENABLE)
384 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
385 !endif
386 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00002000
387 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x1000
388 ## RTC Update Timeout Value, need to increase timeout since also
389 # waiting for RTC to be busy.
390 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|500000
391
392 !if $(SECURE_BOOT_ENABLE)
393 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
394 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
395 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
396 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
397 !endif
398 gQuarkPlatformTokenSpaceGuid.PcdEsramStage1Base|0x80000000
399
400 !if $(SOURCE_DEBUG_ENABLE)
401 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
402 !endif
403
404 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
405 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x9000B000
406 !if $(GALILEO) == GEN1
407 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|460800
408 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
409 !endif
410 !if $(GALILEO) == GEN2
411 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|921600
412 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
413 !endif
414 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03
415 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07
416 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE
417 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|44236800
418 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x14, 0x05, 0x84, 0x00, 0xFF}
419 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4
420
421 #
422 # typedef struct {
423 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
424 # UINT16 DeviceId; ///< Device ID to match the PCI device
425 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
426 # UINT64 Offset; ///< The byte offset into to the BAR
427 # UINT8 BarIndex; ///< Which BAR to get the UART base address
428 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
429 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
430 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
431 # UINT8 Reserved[2];
432 # } PCI_SERIAL_PARAMETER;
433 #
434 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)
435 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)
436 #
437 # [Vendor] [Device] [---ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
438 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|{0x86,0x80, 0x36,0x09, 0x0,0x0,0xA3,0x02, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x00, 0x04, 0x0,0x0, 0x0,0x0, 0x0,0x0, 0xff,0xff}
439
440 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber |0
441 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber |31
442 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber |0
443 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset|0x4b
444 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask |0x80
445 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0x48
446 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0x1000
447 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008
448
449 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
450
451 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
452
453 !if $(RECOVERY_ENABLE)
454 gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"QUARKREC.Cap"
455 !endif
456
457 [PcdsPatchableInModule]
458 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
459 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
460
461 [PcdsDynamicExHii.common.DEFAULT]
462 !if $(PERFORMANCE_ENABLE)
463 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0
464 !else
465 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
466 !endif
467 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gQuarkPlatformTokenSpaceGuid|0x0|TRUE
468
469 [PcdsDynamicExDefault.common.DEFAULT]
470 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
471 gQuarkPlatformTokenSpaceGuid.PcdEnableFastBoot|TRUE
472 gQuarkPlatformTokenSpaceGuid.PcdUserIsPhysicallyPresent|FALSE
473 gQuarkPlatformTokenSpaceGuid.PcdSpiFlashDeviceSize|0
474
475 !if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)
476 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
477 gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{0xc0, 0x20, 0xaf, 0x62, 0x16, 0x70, 0x4a, 0x42, 0x9b, 0xf8, 0x9c, 0xcc, 0x86, 0x58, 0x40, 0x90}
478 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0x59, 0x3A, 0xD8, 0x14, 0x10, 0xA8, 0x56, 0x45, 0x81, 0x92, 0x1C, 0x0A, 0x59, 0x3C, 0x06, 0x5C}
479 !endif
480
481 !if $(MEASURED_BOOT_ENABLE)
482 #
483 # TPM1.2 { 0x8b01e5b6, 0x4f19, 0x46e8, { 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc } }
484 # TPM2.0 DTPM { 0x286bf25a, 0xc2c3, 0x408c, { 0xb3, 0xb4, 0x25, 0xe6, 0x75, 0x8b, 0x73, 0x17 } }
485 #
486 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}
487 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
488 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
489 !endif
490
491 [PcdsDynamicExVpd]
492 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|*|32|L"EDK II"
493 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|*|0x01000400
494 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|*|64|L"Galileo 1.0.4"
495
496 #
497 # ClantonPeakSVP
498 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0002
499 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonPeakSVP"
500 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x03, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
501 #
502 # KipsBay
503 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0003
504 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"KipsBay"
505 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
506 #
507 # CrossHill
508 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0004
509 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"CrossHill"
510 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x03, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
511 #
512 # ClantonHill
513 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0005
514 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonHill"
515 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x02, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
516 #
517 # Galileo
518 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
519 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
520 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
521 #
522 # GalileoGen2
523 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
524 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
525 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
526 #
527 !if $(GALILEO) == GEN1
528 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
529 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
530 gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
531 !endif
532 !if $(GALILEO) == GEN2
533 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
534 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
535 gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
536 !endif
537 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac0|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
538 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac1|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
539
540 ###################################################################################################
541 #
542 # Components Section - list of the modules and components that will be processed by compilation
543 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
544 #
545 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
546 # into firmware volume images. This section is just a list of modules to compile from
547 # source into UEFI-compliant binaries.
548 # It is the FDF file that contains information on combining binary files into firmware
549 # volume images, whose concept is beyond UEFI and is described in PI specification.
550 # Binary modules do not need to be listed in this section, as they should be
551 # specified in the FDF file. For example: Shell binary, FAT binary (Fat.efi),
552 # Logo (Logo.bmp), and etc.
553 # There may also be modules listed in this section that are not required in the FDF file,
554 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
555 # generated for it, but the binary will not be put into any firmware volume.
556 #
557 ###################################################################################################
558
559 [Components.IA32]
560 #
561 # SEC Core
562 #
563 UefiCpuPkg/SecCore/SecCore.inf {
564 !if $(SOURCE_DEBUG_ENABLE)
565 <LibraryClasses>
566 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
567 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
568 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
569 !endif
570 }
571
572 !if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)
573 # FMP image decriptor
574 QuarkPlatformPkg/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf
575 !endif
576
577 #
578 # PEI Core
579 #
580 MdeModulePkg/Core/Pei/PeiMain.inf
581
582 #
583 # PEIM
584 #
585 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
586 <LibraryClasses>
587 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
588 }
589 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
590 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
591 <LibraryClasses>
592 !if $(LOGGING)
593 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
594 !else
595 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
596 !endif
597 }
598
599 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
600 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
601 MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PcatSingleSegmentPciCfg2Pei.inf
602 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
603 MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
604
605 QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf
606 QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.inf
607 QuarkPlatformPkg/Platform/Pei/PlatformConfig/PlatformConfigPei.inf
608
609 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
610
611 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
612
613 #
614 # S3
615 #
616 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmAccessPei/SmmAccessPei.inf
617 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.inf
618 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
619
620 #
621 # Trusted Platform Module
622 #
623 !if $(MEASURED_BOOT_ENABLE)
624 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
625 SecurityPkg/Tcg/TcgPei/TcgPei.inf
626 !endif
627
628 #
629 # Recovery
630 #
631 !if $(RECOVERY_ENABLE)
632 QuarkSocPkg/QuarkSouthCluster/Usb/Common/Pei/UsbPei.inf
633 MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf
634 QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/OhciPei.inf
635 MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf
636 MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf
637 FatPkg/FatPei/FatPei.inf
638 MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei.inf
639 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {
640 <LibraryClasses>
641 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
642 }
643 !endif
644
645 [Components.IA32]
646 #
647 # DXE Core
648 #
649 MdeModulePkg/Core/Dxe/DxeMain.inf
650
651 !if $(SOURCE_DEBUG_ENABLE)
652 SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf {
653 <LibraryClasses>
654 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
655 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
656 }
657 !endif
658
659
660 QuarkPlatformPkg/Platform/Dxe/PlatformInit/PlatformInitDxe.inf
661
662 #
663 # Components that produce the architectural protocols
664 #
665 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
666 <LibraryClasses>
667 !if $(SECURE_BOOT_ENABLE)
668 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
669 !endif
670 NULL|SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
671 }
672 UefiCpuPkg/CpuDxe/CpuDxe.inf
673 MdeModulePkg/Universal/Metronome/Metronome.inf
674 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
675 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
676 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
677 !if $(SECURE_BOOT_ENABLE)
678 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
679 !endif
680 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
681 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
682 <LibraryClasses>
683 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
684 NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf
685 NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf
686 }
687
688 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
689 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
690 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
691 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
692
693 #
694 # Following are the DXE drivers (alphabetical order)
695 #
696 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
697 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
698 <LibraryClasses>
699 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
700 }
701
702 QuarkPlatformPkg/Pci/Dxe/PciHostBridge/PciHostBridge.inf
703 QuarkPlatformPkg/Platform/SpiFvbServices/PlatformSpi.inf
704 QuarkPlatformPkg/Platform/SpiFvbServices/PlatformSmmSpi.inf
705 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
706
707 #
708 # Platform
709 #
710 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
711 <LibraryClasses>
712 PlatformBootManagerLib|QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
713 !if $(CAPSULE_ENABLE)
714 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
715 !else
716 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf
717 !endif
718 }
719 MdeModulePkg/Application/UiApp/UiApp.inf {
720 <LibraryClasses>
721 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
722 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
723 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
724
725 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
726 }
727
728 QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInitDxe.inf
729 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
730 QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/SmmAccess.inf
731 QuarkPlatformPkg/Platform/Dxe/Setup/DxePlatform.inf
732 QuarkSocPkg/QuarkNorthCluster/Spi/PchSpiRuntime.inf {
733 <LibraryClasses>
734 PciExpressLib|MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf
735 }
736 QuarkSocPkg/QuarkNorthCluster/Spi/PchSpiSmm.inf
737 QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.inf
738 MdeModulePkg/Universal/SectionExtractionDxe/SectionExtractionDxe.inf
739 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
740 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
741 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
742 <LibraryClasses>
743 !if $(LOGGING)
744 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
745 !else
746 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
747 !endif
748 }
749 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
750 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf {
751 <LibraryClasses>
752 !if $(LOGGING)
753 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
754 !else
755 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
756 !endif
757 }
758 #
759 # ACPI
760 #
761 QuarkPlatformPkg/Platform/Dxe/SaveMemoryConfig/SaveMemoryConfig.inf
762 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
763 # MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
764 QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
765 <LibraryClasses>
766 !if $(LOGGING)
767 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
768 !else
769 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
770 !endif
771 !if $(SOURCE_DEBUG_ENABLE)
772 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
773 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
774 !endif
775 }
776 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
777 IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
778 QuarkPlatformPkg/Acpi/AcpiTables/AcpiTables.inf
779 QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPlatform.inf
780
781 #
782 # SMM
783 #
784 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
785 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
786 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
787 <LibraryClasses>
788 SmmCpuFeaturesLib|QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
789 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
790
791 !if $(LOGGING)
792 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
793 !else
794 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
795 !endif
796 !if $(SOURCE_DEBUG_ENABLE)
797 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
798 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
799 !endif
800 <PcdsPatchableInModule>
801 #
802 # Disable DEBUG_CACHE because SMI entry/exit may change MTRRs
803 #
804 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x801000C7
805 }
806
807 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
808 QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmControlDxe/SmmControlDxe.inf
809 QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNCSmmDispatcher.inf
810 QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.inf
811 QuarkPlatformPkg/Acpi/DxeSmm/SmmPowerManagement/SmmPowerManagement.inf
812 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
813 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
814
815 #
816 # SMBIOS
817 #
818 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
819 QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/SmbiosMiscDxe.inf
820 QuarkPlatformPkg/Platform/Dxe/MemorySubClass/MemorySubClass.inf
821 #
822 # PCI
823 #
824 QuarkPlatformPkg/Pci/Dxe/PciPlatform/PciPlatform.inf
825 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
826 QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf
827 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
828
829 #
830 # USB
831 #
832 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
833 QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciDxe.inf
834 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
835 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
836 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
837 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
838
839 #
840 # SDIO
841 #
842 QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDControllerDxe.inf {
843 <PcdsPatchableInModule>
844 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80300087
845 }
846 QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDeviceDxe.inf {
847 <PcdsPatchableInModule>
848 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80300087
849 }
850
851 #
852 # Console
853 #
854 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
855 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
856 <LibraryClasses>
857 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
858 }
859 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
860 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
861 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf {
862 <LibraryClasses>
863 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
864 }
865 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
866 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
867
868 #
869 # File System Modules
870 #
871 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
872 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
873 FatPkg/EnhancedFatDxe/Fat.inf
874
875 #
876 # Capsule update
877 #
878 IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolDxe.inf
879 IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/UpdateDriverDxe.inf
880
881 #
882 # Trusted Platform Module
883 #
884 !if $(MEASURED_BOOT_ENABLE)
885 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
886 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
887 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
888 !endif
889
890 #
891 # Performance Application
892 #
893 !if $(PERFORMANCE_ENABLE)
894 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
895 <PcdsFixedAtBuild>
896 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
897 }
898 !endif
899
900 #
901 # Force Recovery Application
902 #
903 QuarkPlatformPkg/Application/ForceRecovery/ForceRecovery.inf
904
905 ShellPkg/Application/Shell/Shell.inf {
906 <LibraryClasses>
907 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
908 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
909 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
910 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
911 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
912 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
913 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
914 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
915 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
916 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
917 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
918
919 <PcdsFixedAtBuild>
920 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
921 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
922 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
923 }
924
925 !if $(CAPSULE_ENABLE)
926 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf
927
928 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {
929 <LibraryClasses>
930 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
931 }
932 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {
933 <LibraryClasses>
934 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
935 }
936
937 MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf {
938 <LibraryClasses>
939 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
940 }
941 !endif
942
943 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
944 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
945
946 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level protection of DXE_SMM_DRIVER/SMM_CORE modules
947 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
948 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
949 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
950