]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/QuarkMin.dsc
MdePkg: introduce standalone MM entry point library implementation
[mirror_edk2.git] / QuarkPlatformPkg / QuarkMin.dsc
1 ## @file
2 # Clanton Peak CRB platform with 32-bit DXE for 4MB/8MB flash devices.
3 #
4 # This package provides Clanton Peak CRB platform specific modules.
5 # Copyright (c) 2013 - 2018 Intel Corporation.
6 #
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 ##
16
17 ################################################################################
18 #
19 # Defines Section - statements that will be processed to create a Makefile.
20 #
21 ################################################################################
22 [Defines]
23 DSC_SPECIFICATION = 0x00010005
24 PLATFORM_NAME = QuarkMin
25 PLATFORM_GUID = 2655F3CF-4CC7-4e17-A62D-77FE3F10AE7F
26 PLATFORM_VERSION = 0.1
27 FLASH_DEFINITION = QuarkPlatformPkg/QuarkMin.fdf
28 OUTPUT_DIRECTORY = Build/QuarkMin
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 GALILEO = GEN2
38 DEFINE SECURE_BOOT_ENABLE = FALSE
39 DEFINE SOURCE_DEBUG_ENABLE = FALSE
40 DEFINE PERFORMANCE_ENABLE = FALSE
41 DEFINE LOGGING = FALSE
42
43 !if $(TARGET) == "DEBUG"
44 DEFINE LOGGING = TRUE
45 !endif
46
47 !if $(PERFORMANCE_ENABLE)
48 DEFINE SOURCE_DEBUG_ENABLE = FALSE
49 DEFINE LOGGING = FALSE
50 !endif
51
52 ################################################################################
53 #
54 # SKU Identification section - list of all SKU IDs supported by this
55 # Platform.
56 #
57 ################################################################################
58 [SkuIds]
59 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
60
61 ################################################################################
62 #
63 # Library Class section - list of all Library Classes needed by this Platform.
64 #
65 ################################################################################
66 [LibraryClasses]
67 #
68 # Entry point
69 #
70 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
71 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
72 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
73 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
74 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
75
76 #
77 # Basic
78 #
79 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
80 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
81 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
82 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
83 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
84 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
85 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
86 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
87 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
88 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
89 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
90 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
91 !if $(SOURCE_DEBUG_ENABLE)
92 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
93 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
94 !else
95 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
96 !endif
97 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
98 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
99
100 #
101 # UEFI & PI
102 #
103 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
104 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
105 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
106 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
107 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
108 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
109 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
110 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
111 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
112 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
113 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
114 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
115 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
116 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
117 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
118
119 #
120 # Generic Modules
121 #
122 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
123 S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
124 S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
125 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
126 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
127 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
128 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
129 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
130 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
131 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
132 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
133 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
134 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
135 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
136 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
137 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
138 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
139 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
140 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
141 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
142 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
143 !if $(LOGGING)
144 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
145 !else
146 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
147 !endif
148 !if $(PERFORMANCE_ENABLE)
149 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
150 !else
151 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
152 !endif
153
154 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
155 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
156
157 !if $(SECURE_BOOT_ENABLE)
158 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
159 PlatformSecureLib|QuarkPlatformPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
160 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
161 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
162 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
163 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
164 !else
165 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
166 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
167 !endif
168
169 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
170
171 #
172 # CPU
173 #
174 MtrrLib|QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.inf
175 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
176 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
177
178 #
179 # Quark North Cluster
180 #
181 SmmLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf
182 SmbusLib|QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/SmbusLib.inf
183 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
184 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
185 IntelQNCLib|QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/IntelQNCLib.inf
186 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/QNCAccessLib.inf
187 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
188
189 #
190 # Quark South Cluster
191 #
192 IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf
193 I2cLib|QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/I2cLib.inf
194 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
195 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
196
197 #
198 # Quark Platform
199 #
200 PlatformSecLib|QuarkPlatformPkg/Library/PlatformSecLib/PlatformSecLib.inf
201 PlatformPcieHelperLib|QuarkPlatformPkg/Library/PlatformPcieHelperLib/PlatformPcieHelperLib.inf
202 PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/DxePlatformHelperLib.inf
203
204 [LibraryClasses.common.SEC]
205 #
206 # SEC specific phase
207 #
208 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
209 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
210 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
211 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
212 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
213 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
214
215 [LibraryClasses.IA32.PEIM,LibraryClasses.IA32.PEI_CORE]
216 #
217 # PEI phase common
218 #
219 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
220 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
221 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
222 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
223 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
224 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
225 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
226 PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/PeiPlatformHelperLib.inf
227 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
228 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
229 !if $(SECURE_BOOT_ENABLE)
230 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
231 !endif
232 !if $(PERFORMANCE_ENABLE)
233 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
234 !endif
235
236 [LibraryClasses.IA32.DXE_CORE]
237 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
238 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
239 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
240 !if $(PERFORMANCE_ENABLE)
241 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
242 !endif
243
244 [LibraryClasses.IA32.DXE_SMM_DRIVER]
245 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
246 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
247 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
248 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
249 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
250 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
251 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
252 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
253 !if $(SECURE_BOOT_ENABLE)
254 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
255 !endif
256 !if $(PERFORMANCE_ENABLE)
257 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
258 !endif
259
260 [LibraryClasses.IA32.SMM_CORE]
261 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
262 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
263 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
264 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
265 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
266 !if $(SECURE_BOOT_ENABLE)
267 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
268 !endif
269 !if $(PERFORMANCE_ENABLE)
270 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
271 !endif
272
273 [LibraryClasses.IA32.DXE_RUNTIME_DRIVER]
274 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
275 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/RuntimeQNCAccessLib.inf
276 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
277 !if $(SECURE_BOOT_ENABLE)
278 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
279 !endif
280
281 [LibraryClasses.IA32.UEFI_DRIVER,LibraryClasses.IA32.UEFI_APPLICATION]
282 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
283
284 ################################################################################
285 #
286 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
287 #
288 ################################################################################
289 [PcdsFeatureFlag]
290 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE
291 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE
292 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
293 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
294 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|FALSE
295 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
296 !if $(SOURCE_DEBUG_ENABLE)
297 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
298 !endif
299
300 !if $(TARGET) == "RELEASE"
301 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|FALSE
302 !else
303 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|TRUE
304 !endif
305
306 [PcdsFixedAtBuild]
307 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|1
308 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x20000
309 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
310 !if $(LOGGING)
311 !if $(SOURCE_DEBUG_ENABLE)
312 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
313 !else
314 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
315 !endif
316 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
317 !else
318 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
319 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x0
320 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
321 !endif
322 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x18
323 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
324 !if $(GALILEO) == GEN1
325 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|460800
326 !endif
327 !if $(GALILEO) == GEN2
328 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|921600
329 !endif
330 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
331 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1
332 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
333 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0
334 !if $(PERFORMANCE_ENABLE)
335 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
336 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|80
337 !else
338 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x00
339 !endif
340 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0
341 !if $(SECURE_BOOT_ENABLE)
342 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
343 !endif
344 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00002000
345 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x1000
346 ## RTC Update Timeout Value, need to increase timeout since also
347 # waiting for RTC to be busy.
348 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|500000
349
350 !if $(SECURE_BOOT_ENABLE)
351 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
352 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
353 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
354 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
355 !endif
356 gQuarkPlatformTokenSpaceGuid.PcdEsramStage1Base|0x80000000
357
358 !if $(SOURCE_DEBUG_ENABLE)
359 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
360 !endif
361
362 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
363 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x9000B000
364 !if $(GALILEO) == GEN1
365 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|460800
366 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
367 !endif
368 !if $(GALILEO) == GEN2
369 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|921600
370 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
371 !endif
372 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03
373 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07
374 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE
375 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|44236800
376 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x14, 0x05, 0x84, 0x00, 0xFF}
377 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4
378
379 #
380 # typedef struct {
381 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
382 # UINT16 DeviceId; ///< Device ID to match the PCI device
383 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
384 # UINT64 Offset; ///< The byte offset into to the BAR
385 # UINT8 BarIndex; ///< Which BAR to get the UART base address
386 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
387 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
388 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
389 # UINT8 Reserved[2];
390 # } PCI_SERIAL_PARAMETER;
391 #
392 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)
393 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)
394 #
395 # [Vendor] [Device] [---ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
396 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}
397
398 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber |0
399 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber |31
400 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber |0
401 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset|0x4b
402 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask |0x80
403 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0x48
404 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0x1000
405 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008
406
407 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
408
409 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
410
411 [PcdsPatchableInModule]
412 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
413 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
414
415 [PcdsDynamicExHii.common.DEFAULT]
416 !if $(PERFORMANCE_ENABLE)
417 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0
418 !else
419 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
420 !endif
421 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gQuarkPlatformTokenSpaceGuid|0x0|TRUE
422
423 [PcdsDynamicExDefault.common.DEFAULT]
424 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
425 gQuarkPlatformTokenSpaceGuid.PcdEnableFastBoot|TRUE
426 gQuarkPlatformTokenSpaceGuid.PcdUserIsPhysicallyPresent|FALSE
427 gQuarkPlatformTokenSpaceGuid.PcdSpiFlashDeviceSize|0
428
429 [PcdsDynamicExVpd]
430 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|*|32|L"EDK II"
431 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|*|0x01000400
432 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|*|64|L"Galileo 1.0.4"
433
434 #
435 # ClantonPeakSVP
436 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0002
437 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonPeakSVP"
438 # 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}
439 #
440 # KipsBay
441 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0003
442 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"KipsBay"
443 # 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}
444 #
445 # CrossHill
446 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0004
447 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"CrossHill"
448 # 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}
449 #
450 # ClantonHill
451 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0005
452 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonHill"
453 # 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}
454 #
455 # Galileo
456 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
457 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
458 # 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}
459 #
460 # GalileoGen2
461 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
462 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
463 # 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}
464 #
465 !if $(GALILEO) == GEN1
466 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
467 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
468 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}
469 !endif
470 !if $(GALILEO) == GEN2
471 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
472 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
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 !endif
475 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac0|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
476 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac1|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
477
478 ###################################################################################################
479 #
480 # Components Section - list of the modules and components that will be processed by compilation
481 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
482 #
483 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
484 # into firmware volume images. This section is just a list of modules to compile from
485 # source into UEFI-compliant binaries.
486 # It is the FDF file that contains information on combining binary files into firmware
487 # volume images, whose concept is beyond UEFI and is described in PI specification.
488 # Binary modules do not need to be listed in this section, as they should be
489 # specified in the FDF file. For example: Shell binary, FAT binary (Fat.efi),
490 # Logo (Logo.bmp), and etc.
491 # There may also be modules listed in this section that are not required in the FDF file,
492 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
493 # generated for it, but the binary will not be put into any firmware volume.
494 #
495 ###################################################################################################
496
497 [Components.IA32]
498 #
499 # SEC Core
500 #
501 UefiCpuPkg/SecCore/SecCore.inf {
502 !if $(SOURCE_DEBUG_ENABLE)
503 <LibraryClasses>
504 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
505 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
506 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
507 !endif
508 }
509
510 #
511 # PEI Core
512 #
513 MdeModulePkg/Core/Pei/PeiMain.inf
514
515 #
516 # PEIM
517 #
518 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
519 <LibraryClasses>
520 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
521 }
522 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
523 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
524 MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PcatSingleSegmentPciCfg2Pei.inf
525
526 QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf
527 QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.inf
528 QuarkPlatformPkg/Platform/Pei/PlatformConfig/PlatformConfigPei.inf
529
530 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
531
532 [Components.IA32]
533 #
534 # DXE Core
535 #
536 MdeModulePkg/Core/Dxe/DxeMain.inf
537
538 !if $(SOURCE_DEBUG_ENABLE)
539 SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf {
540 <LibraryClasses>
541 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
542 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
543 }
544 !endif
545
546
547 QuarkPlatformPkg/Platform/Dxe/PlatformInit/PlatformInitDxe.inf
548
549 #
550 # Components that produce the architectural protocols
551 #
552 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
553 UefiCpuPkg/CpuDxe/CpuDxe.inf
554 MdeModulePkg/Universal/Metronome/Metronome.inf
555 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
556 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
557 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
558 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
559 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
560 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
561 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
562
563 #
564 # Following are the DXE drivers (alphabetical order)
565 #
566 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
567 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
568 <LibraryClasses>
569 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
570 }
571
572 QuarkPlatformPkg/Pci/Dxe/PciHostBridge/PciHostBridge.inf
573 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
574
575 #
576 # Platform
577 #
578 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
579 <LibraryClasses>
580 PlatformBootManagerLib|QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
581 }
582
583 QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInitDxe.inf
584 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
585 QuarkPlatformPkg/Platform/Dxe/Setup/DxePlatform.inf
586 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
587
588 #
589 # PCI
590 #
591 QuarkPlatformPkg/Pci/Dxe/PciPlatform/PciPlatform.inf
592 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
593 QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf
594 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
595
596 #
597 # Console
598 #
599 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
600 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
601 <LibraryClasses>
602 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
603 }
604 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
605 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
606 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf {
607 <LibraryClasses>
608 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
609 }
610 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
611 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
612
613 #
614 # File System Modules
615 #
616 MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf
617
618 #
619 # Performance Application
620 #
621 !if $(PERFORMANCE_ENABLE)
622 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
623 <PcdsFixedAtBuild>
624 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
625 }
626 !endif
627
628 ShellPkg/Application/Shell/Shell.inf {
629 <LibraryClasses>
630 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
631 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
632 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
633 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
634 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
635 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
636 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
637 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
638 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
639 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
640 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
641
642 <PcdsFixedAtBuild>
643 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
644 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
645 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
646 }