Home | History | Annotate | Download | only in QuarkPlatformPkg
      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 - 2014 Intel Corporation.

      6 #

      7 # This program and the accompanying materials

      8 # are licensed and made available under the terms and conditions of the BSD License

      9 # which accompanies this distribution.  The full text of the license may be found at

     10 # http://opensource.org/licenses/bsd-license.php

     11 #

     12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

     13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

     14 #

     15 ##

     16 
     17 ################################################################################

     18 #

     19 # Defines Section - statements that will be processed to create a Makefile.

     20 #

     21 ################################################################################

     22 [Defines]
     23   DSC_SPECIFICATION              = 0x00010005
     24   PLATFORM_NAME                  = Quark
     25   PLATFORM_GUID                  = F6E7730E-0C7A-4741-9DFC-6BC8B86CD865
     26   PLATFORM_VERSION               = 0.1
     27   FLASH_DEFINITION               = QuarkPlatformPkg/Quark.fdf
     28   OUTPUT_DIRECTORY               = Build/Quark
     29   SUPPORTED_ARCHITECTURES        = IA32
     30   BUILD_TARGETS                  = DEBUG|RELEASE
     31   SKUID_IDENTIFIER               = DEFAULT
     32   VPD_TOOL_GUID                  = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
     33 
     34   #

     35   # Platform On/Off features are defined here

     36   #

     37   DEFINE 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   PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
     87   PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
     88   CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
     89   PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
     90 !if $(SOURCE_DEBUG_ENABLE)
     91   PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
     92   DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
     93 !else
     94   PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
     95 !endif
     96   DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
     97   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
     98 
     99   #

    100   # UEFI & PI

    101   #

    102   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
    103   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
    104   UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
    105   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
    106   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
    107   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
    108   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
    109   UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
    110   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
    111   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
    112   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
    113   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
    114   UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
    115   SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
    116 
    117   #

    118   # Generic Modules

    119   #

    120   S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
    121   S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
    122   S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
    123   UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
    124   UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
    125   NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
    126   IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
    127   UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
    128   DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
    129   OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
    130   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
    131   SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
    132   SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
    133   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
    134   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
    135   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
    136   ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
    137   ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
    138   LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
    139   VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
    140   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
    141 !if $(LOGGING)
    142   DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    143 !else
    144   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
    145 !endif
    146 !if $(PERFORMANCE_ENABLE)
    147   PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
    148 !else
    149   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
    150 !endif
    151 !if $(SECURE_BOOT_ENABLE)
    152   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
    153   PlatformSecureLib|QuarkPlatformPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
    154   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
    155   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
    156   TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
    157   AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
    158 !else
    159   TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
    160   AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
    161 !endif
    162   FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
    163 
    164   #

    165   # CPU

    166   #

    167   MtrrLib|QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.inf
    168   LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
    169 
    170   #

    171   # Quark North Cluster

    172   #

    173   SmmLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf
    174   SmbusLib|QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/SmbusLib.inf
    175   TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
    176   ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
    177   IntelQNCLib|QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/IntelQNCLib.inf
    178   QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/QNCAccessLib.inf
    179   IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
    180 
    181   #

    182   # Quark South Cluster

    183   #

    184   IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf
    185   I2cLib|QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/I2cLib.inf
    186   SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
    187   PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
    188 
    189   #

    190   # Quark Platform

    191   #

    192   RecoveryOemHookLib|QuarkPlatformPkg/Library/RecoveryOemHookLib/RecoveryOemHookLib.inf
    193   PlatformSecLib|QuarkPlatformPkg/Library/PlatformSecLib/PlatformSecLib.inf
    194   PlatformPcieHelperLib|QuarkPlatformPkg/Library/PlatformPcieHelperLib/PlatformPcieHelperLib.inf
    195   PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/DxePlatformHelperLib.inf
    196 
    197 [LibraryClasses.common.SEC]
    198   #

    199   # SEC specific phase

    200   #

    201   ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
    202   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    203   TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
    204   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
    205   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
    206   CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
    207 
    208 [LibraryClasses.IA32.PEIM,LibraryClasses.IA32.PEI_CORE]
    209   #

    210   # PEI phase common

    211   #

    212   PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
    213   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
    214   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
    215   ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
    216   ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
    217   LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
    218   TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
    219   PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/PeiPlatformHelperLib.inf
    220   CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
    221 !if $(SECURE_BOOT_ENABLE)
    222   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
    223 !endif
    224 !if $(PERFORMANCE_ENABLE)
    225   PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
    226 !endif
    227 
    228 [LibraryClasses.IA32.DXE_CORE]
    229   HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
    230   MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
    231   CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
    232 !if $(PERFORMANCE_ENABLE)
    233   PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
    234 !endif
    235 
    236 [LibraryClasses.IA32.DXE_SMM_DRIVER]
    237   SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
    238   ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
    239   MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
    240   LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
    241   PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
    242   CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
    243   SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
    244 !if $(SECURE_BOOT_ENABLE)
    245   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
    246 !endif
    247 !if $(PERFORMANCE_ENABLE)
    248   PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
    249 !endif
    250 
    251 [LibraryClasses.IA32.SMM_CORE]
    252   SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
    253   ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
    254   MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
    255   PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
    256   SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
    257 !if $(SECURE_BOOT_ENABLE)
    258   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
    259 !endif
    260 !if $(PERFORMANCE_ENABLE)
    261   PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
    262 !endif
    263 
    264 [LibraryClasses.IA32.DXE_RUNTIME_DRIVER]
    265   ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
    266   QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/RuntimeQNCAccessLib.inf
    267   PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
    268 !if $(SECURE_BOOT_ENABLE)
    269   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
    270 !endif
    271 
    272 [LibraryClasses.IA32.UEFI_DRIVER,LibraryClasses.IA32.UEFI_APPLICATION]
    273   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    274 
    275 ################################################################################

    276 #

    277 # Pcd Section - list of all EDK II PCD Entries defined by this Platform

    278 #

    279 ################################################################################

    280 [PcdsFeatureFlag]
    281   gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE
    282   gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE
    283   gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
    284   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
    285   gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|FALSE
    286   gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
    287 !if $(SOURCE_DEBUG_ENABLE)
    288   gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
    289 !endif
    290 
    291 !if $(TARGET) == "RELEASE"
    292   gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|FALSE
    293 !else
    294   gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|TRUE
    295 !endif
    296 
    297 [PcdsFixedAtBuild]
    298   gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|1
    299   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x20000
    300   gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE
    301 !if $(LOGGING)
    302   !if $(SOURCE_DEBUG_ENABLE)
    303     gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
    304   !else
    305     gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
    306   !endif
    307   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
    308 !else
    309   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
    310   gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x0
    311   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
    312 !endif
    313   gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x18
    314   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
    315 !if $(GALILEO) == GEN1
    316   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|460800
    317 !endif
    318 !if $(GALILEO) == GEN2
    319   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|921600
    320 !endif
    321   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
    322   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1
    323   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
    324   gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0
    325 !if $(PERFORMANCE_ENABLE)
    326   gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
    327   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|80
    328 !else
    329   gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x00
    330 !endif
    331   gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0
    332 !if $(SECURE_BOOT_ENABLE)
    333   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
    334 !endif
    335   gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00002000
    336   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x1000
    337   ## RTC Update Timeout Value, need to increase timeout since also

    338   # waiting for RTC to be busy.

    339   gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|500000
    340 
    341 !if $(SECURE_BOOT_ENABLE)
    342   # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot

    343   gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
    344   gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
    345   gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
    346 !endif
    347   gQuarkPlatformTokenSpaceGuid.PcdEsramStage1Base|0x80000000
    348 
    349 !if $(SOURCE_DEBUG_ENABLE)
    350   gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
    351 !endif
    352 
    353   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
    354   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x9000B000
    355 !if $(GALILEO) == GEN1
    356   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|460800
    357   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
    358 !endif
    359 !if $(GALILEO) == GEN2
    360   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|921600
    361   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
    362 !endif
    363   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03
    364   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07
    365   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE
    366   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|44236800
    367   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x14, 0x05, 0x84, 0x00, 0xFF}
    368   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4
    369 
    370   #

    371   #  typedef struct {

    372   #    UINT16  VendorId;          ///< Vendor ID to match the PCI device.  The value 0xFFFF terminates the list of entries.

    373   #    UINT16  DeviceId;          ///< Device ID to match the PCI device

    374   #    UINT32  ClockRate;         ///< UART clock rate.  Set to 0 for default clock rate of 1843200 Hz

    375   #    UINT64  Offset;            ///< The byte offset into to the BAR

    376   #    UINT8   BarIndex;          ///< Which BAR to get the UART base address

    377   #    UINT8   RegisterStride;    ///< UART register stride in bytes.  Set to 0 for default register stride of 1 byte.

    378   #    UINT16  ReceiveFifoDepth;  ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.

    379   #    UINT16  TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.

    380   #    UINT8   Reserved[2];

    381   #  } PCI_SERIAL_PARAMETER;

    382   #

    383   # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)

    384   # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)

    385   #

    386   #                                                       [Vendor]   [Device]  [---ClockRate---]  [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo]   [Rsvd]   [Vendor]

    387   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}
    388 
    389   gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber           |0
    390   gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber        |31
    391   gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber      |0
    392   gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset|0x4b
    393   gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask          |0x80
    394   gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset   |0x48
    395   gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress        |0x1000
    396   gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset             |0x0008
    397 
    398   gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
    399 
    400   gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
    401 
    402 [PcdsPatchableInModule]
    403   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
    404   gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
    405 
    406 [PcdsDynamicExHii.common.DEFAULT]
    407 !if $(PERFORMANCE_ENABLE)
    408   gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0
    409 !else
    410   gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
    411 !endif
    412   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gQuarkPlatformTokenSpaceGuid|0x0|TRUE
    413 
    414 [PcdsDynamicExDefault.common.DEFAULT]
    415   gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
    416   gQuarkPlatformTokenSpaceGuid.PcdEnableFastBoot|TRUE
    417   gQuarkPlatformTokenSpaceGuid.PcdUserIsPhysicallyPresent|FALSE
    418   gQuarkPlatformTokenSpaceGuid.PcdSpiFlashDeviceSize|0
    419 
    420 [PcdsDynamicExVpd]
    421   gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|*|32|L"EDK II"
    422   gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|*|0x01000400
    423   gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|*|64|L"Galileo 1.0.4"
    424 
    425 #

    426 # ClantonPeakSVP

    427 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0002

    428 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonPeakSVP"

    429 # 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}

    430 #

    431 # KipsBay

    432 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0003

    433 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"KipsBay"

    434 # 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}

    435 #

    436 # CrossHill

    437 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0004

    438 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"CrossHill"

    439 # 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}

    440 #

    441 # ClantonHill

    442 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0005

    443 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonHill"

    444 # 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}

    445 #

    446 # Galileo

    447 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006

    448 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"

    449 # 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}

    450 #

    451 # GalileoGen2

    452 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008

    453 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"

    454 # 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}

    455 #

    456 !if $(GALILEO) == GEN1
    457   gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
    458   gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
    459   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}
    460 !endif
    461 !if $(GALILEO) == GEN2
    462   gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
    463   gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
    464   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}
    465 !endif
    466   gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac0|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
    467   gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac1|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
    468 
    469 ###################################################################################################

    470 #

    471 # Components Section - list of the modules and components that will be processed by compilation

    472 #                      tools and the EDK II tools to generate PE32/PE32+/Coff image files.

    473 #

    474 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed

    475 #       into firmware volume images. This section is just a list of modules to compile from

    476 #       source into UEFI-compliant binaries.

    477 #       It is the FDF file that contains information on combining binary files into firmware

    478 #       volume images, whose concept is beyond UEFI and is described in PI specification.

    479 #       Binary modules do not need to be listed in this section, as they should be

    480 #       specified in the FDF file. For example: Shell binary, FAT binary (Fat.efi),

    481 #       Logo (Logo.bmp), and etc.

    482 #       There may also be modules listed in this section that are not required in the FDF file,

    483 #       When a module listed here is excluded from FDF file, then UEFI-compliant binary will be

    484 #       generated for it, but the binary will not be put into any firmware volume.

    485 #

    486 ###################################################################################################

    487 
    488 [Components.IA32]
    489   #

    490   # SEC Core

    491   #

    492   UefiCpuPkg/SecCore/SecCore.inf {
    493     !if $(SOURCE_DEBUG_ENABLE)
    494       <LibraryClasses>
    495         PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    496         DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
    497         ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
    498     !endif
    499   }
    500 
    501   #

    502   # PEI Core

    503   #

    504   MdeModulePkg/Core/Pei/PeiMain.inf
    505 
    506   #

    507   # PEIM

    508   #

    509   MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
    510     <LibraryClasses>
    511       PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    512   }
    513   MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
    514   MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
    515     <LibraryClasses>
    516       !if $(LOGGING)
    517         DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    518       !else
    519         SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
    520       !endif
    521   }
    522 
    523   MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
    524   MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
    525   MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PcatSingleSegmentPciCfg2Pei.inf
    526   UefiCpuPkg/CpuMpPei/CpuMpPei.inf
    527   MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
    528 
    529   QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf
    530   QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.inf
    531   QuarkPlatformPkg/Platform/Pei/PlatformConfig/PlatformConfigPei.inf
    532 
    533   UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
    534 
    535   MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
    536 
    537   #

    538   # S3

    539   #

    540   QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmAccessPei/SmmAccessPei.inf
    541   QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.inf
    542   UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
    543 
    544   #

    545   # Recovery

    546   #

    547   QuarkSocPkg/QuarkSouthCluster/Usb/Common/Pei/UsbPei.inf
    548   MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf
    549   QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/OhciPei.inf
    550   MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf
    551   MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf
    552   FatPkg/FatPei/FatPei.inf
    553   MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei.inf
    554 
    555 [Components.IA32]
    556   #

    557   # DXE Core

    558   #

    559   MdeModulePkg/Core/Dxe/DxeMain.inf
    560 
    561 !if $(SOURCE_DEBUG_ENABLE)
    562   SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf {
    563     <LibraryClasses>
    564       DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
    565       ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
    566   }
    567 !endif
    568 
    569 
    570   QuarkPlatformPkg/Platform/Dxe/PlatformInit/PlatformInitDxe.inf
    571 
    572   #

    573   # Components that produce the architectural protocols

    574   #

    575   MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf  {
    576     <LibraryClasses>
    577 !if $(SECURE_BOOT_ENABLE)
    578       NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
    579 !endif
    580      NULL|SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
    581  }
    582   UefiCpuPkg/CpuDxe/CpuDxe.inf
    583   MdeModulePkg/Universal/Metronome/Metronome.inf
    584   MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
    585   MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
    586   MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
    587 !if $(SECURE_BOOT_ENABLE)
    588   SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
    589 !endif
    590   MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
    591   MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
    592     <LibraryClasses>
    593       NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
    594       NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf
    595       NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf
    596   }
    597 
    598   MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
    599     <LibraryClasses>
    600       GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
    601       CapsuleLib|IntelFrameworkModulePkg/Library/DxeCapsuleLib/DxeCapsuleLib.inf
    602   }
    603   MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
    604   MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
    605   PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
    606 
    607   #

    608   # Following are the DXE drivers (alphabetical order)

    609   #

    610   MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
    611   MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
    612     <LibraryClasses>
    613       PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    614   }
    615 
    616   QuarkPlatformPkg/Pci/Dxe/PciHostBridge/PciHostBridge.inf
    617   QuarkPlatformPkg/Platform/SpiFvbServices/PlatformSpi.inf
    618   QuarkPlatformPkg/Platform/SpiFvbServices/PlatformSmmSpi.inf
    619   UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
    620 
    621   #

    622   # Platform

    623   #

    624   MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
    625     <LibraryClasses>
    626       UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
    627       PlatformBootManagerLib|QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
    628   }
    629   MdeModulePkg/Application/UiApp/UiApp.inf {
    630     <LibraryClasses>
    631       NULL|MdeModulePkg/Library/DeviceManagerLib/DeviceManagerLib.inf
    632       NULL|MdeModulePkg/Library/BootManagerLib/BootManagerLib.inf
    633       NULL|MdeModulePkg/Library/BootMaintenanceManagerLib/BootMaintenanceManagerLib.inf
    634 
    635       UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
    636       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
    637   }
    638 
    639   QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInitDxe.inf
    640   PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
    641   QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/SmmAccess.inf
    642   QuarkPlatformPkg/Platform/Dxe/Setup/DxePlatform.inf
    643   QuarkSocPkg/QuarkNorthCluster/Spi/PchSpiRuntime.inf {
    644     <LibraryClasses>
    645       PciExpressLib|MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf
    646   }
    647   QuarkSocPkg/QuarkNorthCluster/Spi/PchSpiSmm.inf
    648   QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.inf
    649   MdeModulePkg/Universal/SectionExtractionDxe/SectionExtractionDxe.inf
    650   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
    651   MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
    652   MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf  {
    653     <LibraryClasses>
    654       !if $(LOGGING)
    655         DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    656       !else
    657         SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
    658       !endif
    659   }
    660   MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
    661   MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf {
    662     <LibraryClasses>
    663       !if $(LOGGING)
    664         DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    665       !else
    666         SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
    667       !endif
    668   }
    669   #

    670   # ACPI

    671   #

    672   QuarkPlatformPkg/Platform/Dxe/SaveMemoryConfig/SaveMemoryConfig.inf
    673   MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
    674 #  MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {

    675   QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
    676     <LibraryClasses>
    677       !if $(LOGGING)
    678         DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    679       !else
    680         SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
    681       !endif
    682       !if $(SOURCE_DEBUG_ENABLE)
    683         DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
    684         ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
    685       !endif
    686   }
    687   MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
    688   IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
    689   QuarkPlatformPkg/Acpi/AcpiTables/AcpiTables.inf
    690   QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPlatform.inf
    691 
    692   #

    693   # SMM

    694   #

    695   MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
    696   MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
    697   UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
    698     <LibraryClasses>
    699       SmmCpuFeaturesLib|QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
    700       SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
    701 
    702       !if $(LOGGING)
    703         DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    704       !else
    705         SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
    706       !endif
    707       !if $(SOURCE_DEBUG_ENABLE)
    708         DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
    709         ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
    710       !endif
    711     <PcdsPatchableInModule>
    712       #

    713       # Disable DEBUG_CACHE because SMI entry/exit may change MTRRs

    714       #

    715       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x801000C7
    716   }
    717 
    718   UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
    719   QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmControlDxe/SmmControlDxe.inf
    720   QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNCSmmDispatcher.inf
    721   QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.inf
    722   QuarkPlatformPkg/Acpi/DxeSmm/SmmPowerManagement/SmmPowerManagement.inf
    723   MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
    724   UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
    725 
    726   #

    727   # SMBIOS

    728   #

    729   MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
    730   QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/SmbiosMiscDxe.inf
    731   QuarkPlatformPkg/Platform/Dxe/MemorySubClass/MemorySubClass.inf
    732   #

    733   # PCI

    734   #

    735   QuarkPlatformPkg/Pci/Dxe/PciPlatform/PciPlatform.inf
    736   MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
    737   QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf
    738   MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
    739 
    740   #

    741   # USB

    742   #

    743   MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
    744   QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciDxe.inf
    745   MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
    746   MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
    747   MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
    748   MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
    749 
    750   #

    751   # SDIO

    752   #

    753   QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDControllerDxe.inf {
    754     <PcdsPatchableInModule>
    755       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80300087
    756   }
    757   QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDeviceDxe.inf {
    758     <PcdsPatchableInModule>
    759       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80300087
    760   }
    761 
    762   #

    763   # Console

    764   #

    765   MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
    766   MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
    767     <LibraryClasses>
    768       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
    769   }
    770   MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
    771   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
    772   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf {
    773     <LibraryClasses>
    774       CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
    775   }
    776   MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
    777   MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
    778 
    779   #

    780   # File System Modules

    781   #

    782   MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
    783   MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
    784   FatPkg/EnhancedFatDxe/Fat.inf
    785 !if $(PERFORMANCE_ENABLE)
    786   MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf
    787 !endif
    788 
    789   #

    790   # Capsule update

    791   #

    792   IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolDxe.inf
    793   IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/UpdateDriverDxe.inf
    794 
    795   #

    796   # Performance Application

    797   #

    798 !if $(PERFORMANCE_ENABLE)
    799   PerformancePkg/Dp_App/Dp.inf {
    800     <LibraryClasses>
    801       ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
    802       FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
    803   }
    804 !endif
    805 
    806   ShellPkg/Application/Shell/Shell.inf {
    807     <LibraryClasses>
    808       ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
    809       NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
    810       NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
    811       NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
    812       NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
    813       NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
    814       NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
    815       NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
    816       HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
    817       ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
    818       FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
    819       PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
    820       BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
    821 
    822     <PcdsFixedAtBuild>
    823       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
    824       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
    825       gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
    826   }
    827 
    828 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
    829   MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
    830