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