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