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