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