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