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