Home | History | Annotate | Download | only in Vlv2TbltDevicePkg
      1 #/** @file
      2 # Platform description.
      3 #
      4 # Copyright (c) 2012  - 2016, Intel Corporation. All rights reserved.<BR>
      5 #
      6 # This program and the accompanying materials are licensed and made available under
      7 # the terms and conditions of the BSD License that accompanies this distribution.
      8 # The full text of the license may be found at
      9 # http://opensource.org/licenses/bsd-license.php.
     10 #
     11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     13 #
     14 #
     15 #**/
     16 
     17 ################################################################################
     18 #
     19 # Defines Section - statements that will be processed to create a Makefile.
     20 #
     21 ################################################################################
     22 [Defines]
     23   PLATFORM_NAME                       = Vlv2TbltDevicePkg
     24   PLATFORM_GUID                       = 465B0A0B-7AC1-443b-8F67-7B8DEC145F90
     25   PLATFORM_VERSION                    = 0.1
     26   DSC_SPECIFICATION                   = 0x00010005
     27 
     28   #
     29   # Set platform specific package/folder name, same as passed from PREBUILD script.
     30   # PLATFORM_PACKAGE would be the same as PLATFORM_NAME as well as package build folder
     31   # DEFINE only takes effect at R9 DSC and FDF.
     32   #
     33   DEFINE      PLATFORM_PACKAGE                = Vlv2TbltDevicePkg
     34   DEFINE      PLATFORM_RC_PACKAGE             = Vlv2DeviceRefCodePkg
     35   DEFINE      PLATFORM_BINARY_PACKAGE         = Vlv2BinaryPkg
     36   OUTPUT_DIRECTORY                    = Build/$(PLATFORM_PACKAGE)
     37   SUPPORTED_ARCHITECTURES             = IA32|X64
     38   BUILD_TARGETS                       = DEBUG|RELEASE
     39   SKUID_IDENTIFIER                    = DEFAULT
     40 
     41   DEFINE CPU_ARCH                 =ValleyView2
     42   DEFINE PROJECT_SC_FAMILY        =IntelPch
     43   DEFINE PROJECT_SC_ROOT          =../$(PLATFORM_RC_PACKAGE)/ValleyView2Soc/SouthCluster
     44   DEFINE PROJECT_VLV_ROOT          =../$(PLATFORM_RC_PACKAGE)/ValleyView2Soc/NorthCluster
     45 
     46   DEFINE RC_BINARY_RELEASE        = TRUE
     47   #
     48   # Platform On/Off features are defined here
     49   #
     50   #
     51   # Platform Support:: Set only one token except Crestview Hills
     52   #
     53   #   3.BayleyBay
     54   #     ENBDT_PF_ENABLE  = TRUE
     55   #
     56   !include $(PLATFORM_PACKAGE)/AutoPlatformCFG.txt
     57   !include $(PLATFORM_PACKAGE)/PlatformPkgConfig.dsc
     58 
     59 !if $(X64_CONFIG) == TRUE
     60   DEFINE      DXE_ARCHITECTURE        = X64
     61   DEFINE      EDK_DXE_ARCHITECTURE    = X64
     62   DEFINE      UNDI_DXE_ARCHITECTURE   = 64
     63 !else
     64   DEFINE      DXE_ARCHITECTURE        = IA32
     65   DEFINE      EDK_DXE_ARCHITECTURE    = Ia32
     66   DEFINE      UNDI_DXE_ARCHITECTURE   = 32
     67 !endif
     68 
     69   FLASH_DEFINITION                    = $(PLATFORM_PACKAGE)/PlatformPkgGcc.fdf
     70 !if $(LFMA_ENABLE) == TRUE
     71   FIX_LOAD_TOP_MEMORY_ADDRESS         = 0xFFFFFFFFFFFFFFFF
     72   DEFINE   TOP_MEMORY_ADDRESS         = 0xFFFFFFFFFFFFFFFF
     73 !else
     74   FIX_LOAD_TOP_MEMORY_ADDRESS         = 0x0
     75   DEFINE   TOP_MEMORY_ADDRESS         = 0x0
     76 !endif
     77 
     78   DEFINE   PLATFORM_PCIEXPRESS_BASE   = 0E0000000
     79 
     80   DEFINE SEC_ENABLE = FALSE
     81   DEFINE SEC_DEBUG_INFO_ENABLE = FALSE
     82   DEFINE FTPM_ENABLE = FALSE
     83 
     84 ################################################################################
     85 #
     86 # SKU Identification section - list of all SKU IDs supported by this
     87 #                              Platform.
     88 #
     89 ################################################################################
     90 [SkuIds]
     91   0|DEFAULT              # The entry: 0|DEFAULT is reserved and always required.
     92 
     93 ################################################################################
     94 #
     95 # Library Class section - list of all Library Classes needed by this Platform.
     96 #
     97 ################################################################################
     98 [LibraryClasses.common]
     99   #
    100   # Entry point
    101   #
    102   PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
    103   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
    104   DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
    105   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
    106   UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
    107   DxeSmmDriverEntryPoint|IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DxeSmmDriverEntryPoint.inf
    108 
    109   #
    110   # Basic
    111   #
    112   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
    113 !if $(SSE2_ENABLE) == TRUE
    114   BaseMemoryLib|MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
    115 !else
    116   BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
    117 !endif
    118   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
    119   CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
    120   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
    121   PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
    122   PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
    123   PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
    124   PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
    125   CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
    126   PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
    127   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
    128 !if $(RC_BINARY_RELEASE) == TRUE
    129   PchPlatformLib|Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLib.inf
    130 !endif
    131   #
    132   # UEFI & PI
    133   #
    134   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
    135   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
    136   UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
    137   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
    138   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
    139   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
    140   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
    141   UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
    142   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
    143   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
    144   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
    145   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
    146   UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
    147   UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
    148   GenericBdsLib|$(PLATFORM_PACKAGE)/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
    149   PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf
    150   NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
    151   DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
    152   FlashDeviceLib|$(PLATFORM_PACKAGE)/Library/FlashDeviceLib/FlashDeviceLib.inf
    153   #
    154   # Framework
    155   #
    156 !if $(S3_ENABLE) == TRUE
    157   S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
    158 !else
    159   S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
    160 !endif
    161   S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
    162   S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
    163 
    164   #
    165   # Generic Modules
    166   #
    167 !if $(USB_ENABLE) == TRUE
    168   UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
    169 !endif
    170 !if $(SCSI_ENABLE) == TRUE
    171   UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
    172 !endif
    173 !if $(NETWORK_ENABLE) == TRUE
    174   NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
    175   IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
    176   UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
    177   TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
    178   DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
    179 !endif
    180 !if $(S3_ENABLE) == TRUE
    181   S3Lib|IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf
    182 !endif
    183 
    184   OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
    185 !if $(CAPSULE_ENABLE) == TRUE
    186   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
    187 !else
    188   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
    189 !endif
    190   EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
    191   FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf
    192   IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
    193   PlatformFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
    194   MicrocodeFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
    195   LanguageLib|EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.inf
    196   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
    197   SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
    198   IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
    199   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
    200 
    201   #
    202   # CPU
    203   #
    204   MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
    205   LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
    206   CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
    207 
    208   #
    209   # ICH
    210   #
    211   SmbusLib|$(PLATFORM_PACKAGE)/Library/SmbusLib/SmbusLib.inf
    212   SmmLib|$(PLATFORM_PACKAGE)/Library/PchSmmLib/PchSmmLib.inf
    213 
    214   #
    215   # Platform
    216   #
    217   TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
    218   ResetSystemLib|$(PLATFORM_PACKAGE)/Library/ResetSystemLib/ResetSystemLib.inf
    219 
    220   PlatformCmosLib|$(PLATFORM_PACKAGE)/Library/PlatformCmosLib/PlatformCmosLib.inf
    221 
    222   #
    223   # Misc
    224   #
    225   MonoStatusCodeLib|$(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf
    226 !if $(TARGET) == RELEASE
    227   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
    228   SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
    229 !else
    230   DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    231   SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
    232 !endif
    233 
    234   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
    235   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    236 !if $(TPM_ENABLED) == TRUE
    237   TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
    238   Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
    239   Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
    240 
    241 !endif
    242 
    243 !if $(SOURCE_DEBUG_ENABLE) == TRUE
    244   PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
    245   DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
    246   PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
    247   SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
    248 !else
    249   PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
    250   DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
    251 !endif
    252 
    253   #
    254   # CryptLib
    255   #
    256 !if $(TPM_ENABLED) == TRUE
    257   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
    258   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
    259 !endif
    260 
    261  BiosIdLib|$(PLATFORM_PACKAGE)/Library/BiosIdLib/BiosIdLib.inf
    262  CpuIA32Lib|$(PLATFORM_PACKAGE)/Library/CpuIA32Lib/CpuIA32Lib.inf
    263 
    264   StallSmmLib|$(PLATFORM_PACKAGE)/Library/StallSmmLib/StallSmmLib.inf
    265 
    266 !if $(SECURE_BOOT_ENABLE) == TRUE
    267   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
    268   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
    269   PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
    270   TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
    271   AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
    272   FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
    273 !else
    274   TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
    275   AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
    276 !endif
    277   VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
    278 !if $(RC_BINARY_RELEASE) == TRUE
    279   I2cLib|Vlv2TbltDevicePkg/Library/I2CLib/I2CLibNull.inf
    280 !endif
    281   ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
    282   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
    283   FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
    284   SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
    285 !if $(FTPM_ENABLE) == TRUE
    286   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
    287   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
    288   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
    289 !endif
    290   TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
    291   TrEEPhysicalPresenceLib|SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
    292 !if $(FTPM_ENABLE) == TRUE
    293   TrEEPpVendorLib|SecurityPkg/Library/TrEEPpVendorLibNull/TrEEPpVendorLibNull.inf
    294 !endif
    295 
    296 
    297   Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
    298 !if $(MINNOW2_FSP_BUILD) == TRUE
    299   FspApiLib|IntelFspWrapperPkg/Library/BaseFspApiLib/BaseFspApiLib.inf
    300   FspPlatformInfoLib|IntelFspWrapperPkg/Library/BaseFspPlatformInfoLibSample/BaseFspPlatformInfoLibSample.inf
    301   FspPlatformSecLib|Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/FspPlatformSecLibVlv2.inf
    302   FspHobProcessLib|Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/FspHobProcessLibVlv2.inf
    303 !endif
    304 
    305 [LibraryClasses.IA32.SEC]
    306 !if $(PERFORMANCE_ENABLE) == TRUE
    307   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
    308 !endif
    309   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
    310   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    311 
    312 [LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.SEC]
    313   #
    314   # PEI phase common
    315   #
    316 
    317   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    318   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
    319   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
    320   ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
    321   ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
    322   MultiPlatformLib|$(PLATFORM_PACKAGE)/Library/MultiPlatformLib/MultiPlatformLib.inf
    323   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
    324 
    325 
    326 !if $(PERFORMANCE_ENABLE) == TRUE
    327   PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
    328   TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
    329 !endif
    330 
    331 !if $(TARGET) == RELEASE
    332   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
    333   SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
    334 !else
    335   DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
    336   SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
    337 !endif
    338 
    339   LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
    340   HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
    341 !if $(SOURCE_DEBUG_ENABLE) == TRUE
    342   DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
    343 !endif
    344 
    345  !if $(MINNOW2_FSP_BUILD) == TRUE
    346  PlatformFspLib|Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.inf
    347  !endif
    348 !if $(FTPM_ENABLE) == TRUE
    349   Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCPei/Tpm2DeviceLibSeC.inf
    350 !endif
    351 
    352 [LibraryClasses.X64]
    353   #
    354   # DXE phase common
    355   #
    356   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
    357   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
    358   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
    359   ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
    360   ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
    361 
    362   TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
    363 !if $(TPM_ENABLED) == TRUE
    364   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
    365 !endif
    366 
    367   LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
    368   EfiRegTableLib|$(PLATFORM_PACKAGE)/Library/EfiRegTableLib/EfiRegTableLib.inf
    369 
    370 !if $(SECURE_BOOT_ENABLE) == TRUE
    371   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
    372 !endif
    373 
    374   HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
    375 
    376 [LibraryClasses.X64.DXE_DRIVER]
    377   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
    378   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
    379   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
    380   CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
    381 !if $(PERFORMANCE_ENABLE) == TRUE
    382   PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
    383   TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
    384 !endif
    385 
    386 !if $(SOURCE_DEBUG_ENABLE) == TRUE
    387   DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
    388 !endif
    389 
    390   FlashDeviceLib|$(PLATFORM_PACKAGE)/Library/FlashDeviceLib/FlashDeviceLibDxe.inf
    391 
    392 [LibraryClasses.X64.DXE_CORE]
    393   HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
    394   MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
    395   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    396 !if $(PERFORMANCE_ENABLE) == TRUE
    397   PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
    398   TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
    399 !endif
    400 
    401 !if $(SOURCE_DEBUG_ENABLE) == TRUE
    402   DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
    403 !endif
    404 
    405 [LibraryClasses.X64.DXE_SMM_DRIVER]
    406   SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
    407   ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
    408   MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
    409   LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
    410   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
    411   SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
    412   SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
    413   SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
    414 
    415   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
    416   !if $(TARGET) != RELEASE
    417   DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    418   !endif
    419 
    420 !if $(SOURCE_DEBUG_ENABLE) == TRUE
    421   DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
    422   TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
    423 !endif
    424   CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
    425 
    426 [LibraryClasses.X64.SMM_CORE]
    427   MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
    428   SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
    429   ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
    430   SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
    431   SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
    432 
    433 !if $(TPM_ENABLED) == TRUE
    434   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
    435 !endif
    436 
    437   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
    438 
    439 !if $(TARGET) != RELEASE
    440       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    441 !endif
    442 
    443 [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
    444   ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
    445 !if $(SECURE_BOOT_ENABLE) == TRUE
    446   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
    447 !endif
    448 !if $(TPM_ENABLED) == TRUE
    449   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
    450 !endif
    451 
    452 !if $(SOURCE_DEBUG_ENABLE) == TRUE
    453   DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
    454 !endif
    455 
    456 !if $(CAPSULE_ENABLE) == TRUE
    457   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
    458 !endif
    459 
    460 [LibraryClasses.common.UEFI_DRIVER]
    461   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    462 
    463 !if $(SOURCE_DEBUG_ENABLE) == TRUE
    464   DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
    465 !endif
    466 
    467 [LibraryClasses.X64.UEFI_APPLICATION]
    468   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
    469 
    470 !if $(SOURCE_DEBUG_ENABLE) == TRUE
    471   DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
    472 !endif
    473 
    474 
    475 ################################################################################
    476 #
    477 # Library Section - list of all EDK/Framework libraries
    478 #
    479 ################################################################################
    480 [Libraries.common]
    481   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/BaseLib.inf
    482   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf
    483   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/BasePrintLib.inf
    484   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseDebugLibNull/BaseDebugLibNull.inf
    485   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
    486   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
    487   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/BasePciCf8Lib.inf
    488   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/BasePciExpressLib.inf
    489   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/BasePciLibCf8.inf
    490   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
    491   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
    492   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/BasePeCoffLib.inf
    493   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/SmmRuntimeDxeReportStatusCodeLib/SmmRuntimeDxeReportStatusCodeLib.inf
    494   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/PeiHobLib.inf
    495   EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
    496   EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
    497   EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.inf
    498   EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
    499   EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
    500   EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
    501   EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
    502   EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
    503 [Libraries.IA32]
    504   EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
    505   EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
    506   EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
    507   EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
    508   EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
    509   EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
    510   EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
    511   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
    512   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
    513   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesLib/PeiServicesLib.inf
    514   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
    515   EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
    516 
    517   $(PLATFORM_PACKAGE)/Library/MultiPlatformLib/MultiPlatformLib.inf
    518 [Libraries.X64]
    519 
    520   EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
    521   EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
    522   EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
    523   EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
    524   EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
    525   EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
    526   EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
    527   EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
    528   EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
    529   EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
    530   EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
    531   EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
    532   EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
    533   EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
    534   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
    535   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
    536   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/UefiLib.inf
    537   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/DxeHobLib.inf
    538   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
    539   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
    540   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/HiiLib.inf
    541   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/UefiDevicePathLib.inf
    542   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDriverModelLib/UefiDriverModelLib.inf
    543   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeServicesTableLib/DxeServicesTableLib.inf
    544   EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.inf
    545 
    546 
    547 ################################################################################
    548 #
    549 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
    550 #
    551 ################################################################################
    552 [PcdsFeatureFlag.common]
    553 !if $(MINI_BIOS_ENABLE) == FALSE
    554   gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|TRUE
    555 !else
    556   gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|FALSE
    557 !endif
    558 #
    559 # If PcdDxeIplSwitchToLongMode is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore.
    560 #
    561   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
    562 
    563   gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|TRUE
    564 
    565 !if $(CAPSULE_RESET_ENABLE) == TRUE
    566   gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
    567 !else
    568   gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE
    569 !endif
    570   gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport|TRUE
    571   gEfiCpuTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
    572 !if $(DATAHUB_STATUS_CODE_ENABLE) == TRUE
    573   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|TRUE
    574 !else
    575   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|FALSE
    576 !endif
    577   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
    578 !if $(TARGET) == RELEASE
    579   gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
    580 !else
    581   gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
    582 !endif
    583   gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
    584 !if $(ISA_SERIAL_STATUS_CODE_ENABLE) == TRUE
    585   gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|TRUE
    586 !else
    587   gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|FALSE
    588 !endif
    589 !if $(USB_SERIAL_STATUS_CODE_ENABLE) == TRUE
    590   gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|TRUE
    591 !else
    592   gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|FALSE
    593 !endif
    594 !if $(RAM_SERIAL_STATUS_CODE_ENABLE) == TRUE
    595   gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|TRUE
    596 !else
    597   gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|FALSE
    598 !endif
    599 
    600 
    601   ## This PCD specifies whether PS2 keyboard does a extended verification during start.
    602   gEfiMdeModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification|FALSE
    603 
    604   ## This PCD specifies whether PS2 mouse does a extended verification during start.
    605   gEfiMdeModulePkgTokenSpaceGuid.PcdPs2MouseExtendedVerification|FALSE
    606 
    607 !if $(VARIABLE_INFO_ENABLE) == TRUE
    608   gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
    609 !else
    610   gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE
    611 !endif
    612 
    613   gEfiCpuTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|TRUE
    614 
    615 !if $(SOURCE_DEBUG_ENABLE)
    616   gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
    617 !endif
    618 
    619 [PcdsFixedAtBuild.common]
    620 !if $(MINNOW2_FSP_BUILD) == TRUE
    621 # $(FLASH_REGION_VLVMICROCODE_BASE)
    622   gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0xFFC00000
    623 # $(FLASH_REGION_VLVMICROCODE_SIZE)
    624   gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x00040000
    625   gFspWrapperTokenSpaceGuid.PcdFlashMicroCodeOffset|0x60
    626 # $(FLASH_AREA_BASE_ADDRESS)
    627   gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress|0xFF800000
    628 # $(FLASH_AREA_SIZE)
    629   gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize|0x00800000
    630 # $(FLASH_REGION_FSPBIN_BASE)
    631   gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFCC0000
    632 !endif
    633 
    634 !if $(PERFORMANCE_ENABLE) == TRUE
    635 !if $(MINNOW2_FSP_BUILD) == TRUE
    636   # in FSP, when this got used, the memory already is up
    637   gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0x00080000
    638 !else
    639   gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0xFEF80000
    640 !endif
    641   gEfiCpuTokenSpaceGuid.PcdTemporaryRamSize|0x00010000
    642 
    643 !else
    644   !if $(MINNOW2_FSP_BUILD) == TRUE
    645     gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0x00080000
    646   !else
    647     gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0xFEF80000
    648   !endif
    649   gEfiCpuTokenSpaceGuid.PcdTemporaryRamSize|0x00010000
    650   gEfiCpuTokenSpaceGuid.PcdPeiTemporaryRamStackSize|0x3C00
    651 !endif
    652 
    653 
    654 !if $(SECURE_BOOT_ENABLE) == TRUE
    655   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x22000
    656 !else
    657   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x4000
    658 !endif
    659   gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00000800
    660   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x400
    661   gEfiCpuTokenSpaceGuid.PcdCpuIEDRamSize|0x400000
    662   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x10000
    663   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|50
    664   gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|FALSE
    665   gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|FALSE
    666   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|128
    667   gEfiCpuTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000
    668 !if $(S4_ENABLE) == TRUE
    669   gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE
    670 !else
    671   gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
    672 !endif
    673 !if $(TARGET) == RELEASE
    674   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
    675   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
    676 !else
    677   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
    678   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
    679 !endif
    680 !if $(PERFORMANCE_ENABLE) == TRUE
    681   gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
    682   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|60
    683 !endif
    684 
    685   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize|0x10000
    686   gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|$(TOP_MEMORY_ADDRESS)
    687   gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserSubtitleTextColor|0x0
    688   gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextColor|0x01
    689   gEfiCpuTokenSpaceGuid.PcdCpuIEDEnabled|TRUE
    690   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVbeEnable|TRUE
    691   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVgaEnable|TRUE
    692 
    693 !if $(SOURCE_DEBUG_ENABLE) == TRUE
    694   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
    695   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
    696   gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
    697   gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|2
    698 !endif
    699 
    700 [PcdsFixedAtBuild.IA32.PEIM, PcdsFixedAtBuild.IA32.PEI_CORE, PcdsFixedAtBuild.IA32.SEC]
    701 !if $(TARGET) == RELEASE
    702   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
    703   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
    704 !else
    705   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
    706   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
    707 !endif
    708 
    709 !if $(RECOVERY_ENABLE)
    710   gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"VLV2REC.Cap"
    711 !endif
    712 
    713 [PcdsPatchableInModule.common]
    714   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
    715   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x$(PLATFORM_PCIEXPRESS_BASE)
    716   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLegacyBiosCacheLegacyRegion|FALSE
    717 
    718   ## This PCD specifies whether to use the optimized timing for best PS2 detection performance.
    719   #  Note this PCD could be set to TRUE for best boot performance and set to FALSE for best device compatibility.
    720   gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection|TRUE
    721 
    722   #######################################################################################################
    723   #
    724   # Begin of MRC parameters
    725   #
    726 
    727   ## Memory Parameter Patchable.
    728   #  FALSE - MRC Parameters are fixed for MinnowBoard Max<BR>
    729   #  TRUE  - MRC Parameters are patchable by following PCDs<BR>
    730   # @Prompt Memory Parameter Patchable.
    731   # @ValidList 0x80000001 | 0, 1
    732   gVlvRefCodePkgTokenSpaceGuid.PcdMemoryParameterPatchable|FALSE
    733 
    734   ## Memory Down or DIMM slot.
    735   #  0 - DIMM<BR>
    736   #  1 - Memory Down<BR>
    737   # @Prompt Enable Memory Down
    738   # @ValidList 0x80000001 | 0, 1
    739   gVlvRefCodePkgTokenSpaceGuid.PcdEnableMemoryDown|1
    740 
    741   ## The speed of DRAM.
    742   #  0 - 800 MHz<BR>
    743   #  1 - 1066 MHz<BR>
    744   #  2 - 1333 MHz<BR>
    745   #  3 - 1600 MHz<BR>
    746   # @Prompt DRAM Speed
    747   # @ValidList 0x80000001 | 0, 1, 2, 3
    748   gVlvRefCodePkgTokenSpaceGuid.PcdDramSpeed|1
    749 
    750   ## DRAM Type.
    751   #  0 - DDR3<BR>
    752   #  1 - DDR3L<BR>
    753   #  2 - DDR3U<BR>
    754   #  3 - DDR3All<BR>
    755   #  4 - LPDDR2<BR>
    756   #  5 - LPDDR3<BR>
    757   #  6 - DDR4<BR>
    758   # @Prompt DRAM Type
    759   # @ValidList 0x80000001 | 0, 1, 2, 3, 4, 5, 6
    760   gVlvRefCodePkgTokenSpaceGuid.PcdDramType|1
    761 
    762   ## Please populate DIMM slot 0 if only one DIMM is supported.
    763   #  0 - Disable<BR>
    764   #  1 - Enable<BR>
    765   # @Prompt DIMM 0 Enable
    766   # @ValidList 0x80000001 | 0, 1
    767   gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm0|1
    768 
    769   ## DIMM 1 has to be identical to DIMM 0.
    770   #  0 - Disable<BR>
    771   #  1 - Enable<BR>
    772   # @Prompt DIMM 1 Enable Type
    773   # @ValidList 0x80000001 | 0, 1
    774   gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm1|0
    775 
    776   ## DRAM device data width.
    777   #  0 - x8<BR>
    778   #  1 - x16<BR>
    779   #  2 - x32<BR>
    780   # @Prompt DIMM_DWIDTH
    781   # @ValidList 0x80000001 | 0, 1, 2
    782   gVlvRefCodePkgTokenSpaceGuid.PcdDimmDataWidth|1
    783 
    784   ## DRAM device data density.
    785   #  0 - 1 Gbit<BR>
    786   #  1 - 2 Gbit<BR>
    787   #  2 - 4 Gbit<BR>
    788   #  3 - 8 Gbit<BR>
    789   # @Prompt DIMM_Density
    790   # @ValidList 0x80000001 | 0, 1, 2, 3
    791   gVlvRefCodePkgTokenSpaceGuid.PcdDimmDensity|2
    792 
    793   ## DRAM device data bus width.
    794   #  0 - 8 bits<BR>
    795   #  1 - 16 bits<BR>
    796   #  2 - 32 bits<BR>
    797   #  3 - 64 bits<BR>
    798   # @Prompt DIMM_BusWidth
    799   # @ValidList 0x80000001 | 0, 1, 2, 3
    800   gVlvRefCodePkgTokenSpaceGuid.PcdDimmBusWidth|3
    801 
    802   ## Ranks Per DIMM or Sides Per DIMM.
    803   #  0 - 1 Rank<BR>
    804   #  1 - 2 Ranks<BR>
    805   # @Prompt DIMM_Sides
    806   # @ValidList 0x80000001 | 0, 1
    807   gVlvRefCodePkgTokenSpaceGuid.PcdRankPerDimm|0
    808 
    809   ## tCL.<BR><BR>
    810   # @Prompt tCL
    811   gVlvRefCodePkgTokenSpaceGuid.PcdTcl|11
    812 
    813   ## tRP and tRCD in DRAM clk - 5:12.5ns, 6:15ns, etc.
    814   # @Prompt tRP_tRCD
    815   gVlvRefCodePkgTokenSpaceGuid.PcdTrpTrcd|11
    816 
    817   ## tWR in DRAM clk.
    818   # @Prompt tWR
    819   gVlvRefCodePkgTokenSpaceGuid.PcdTwr|12
    820 
    821   ## tWTR in DRAM clk.
    822   # @Prompt tWTR
    823   gVlvRefCodePkgTokenSpaceGuid.PcdTwtr|6
    824 
    825   ## tRRD in DRAM clk.
    826   # @Prompt tRRD
    827   gVlvRefCodePkgTokenSpaceGuid.PcdTrrd|6
    828 
    829   ## tRTP in DRAM clk.
    830   # @Prompt tRTP
    831   gVlvRefCodePkgTokenSpaceGuid.PcdTrtp|6
    832 
    833   ## tFAW in DRAM clk.
    834   # @Prompt tFAW
    835   gVlvRefCodePkgTokenSpaceGuid.PcdTfaw|32
    836 
    837   #
    838   # End of MRC parameters.
    839   #
    840   ###############################################################################################
    841 
    842 [PcdsDynamicHii.common.DEFAULT]
    843   gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5 # Variable: L"Timeout"
    844   gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1 # Variable: L"HwErrRecSupport"
    845   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gEfiBootStateGuid|0x0|TRUE
    846 
    847 [PcdsDynamicDefault.common.DEFAULT]
    848   gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
    849   !if $(TPM_ENABLED) == TRUE
    850     gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}
    851   !endif
    852 
    853   ## This PCD defines the video horizontal resolution.
    854   #  This PCD could be set to 0 then video resolution could be at highest resolution.
    855   #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
    856   gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
    857   ## This PCD defines the video vertical resolution.
    858   #  This PCD could be set to 0 then video resolution could be at highest resolution.
    859   #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
    860   gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
    861 
    862   ## This PCD defines the Console output column and the default value is 25 according to UEFI spec.
    863   #  This PCD could be set to 0 then console output could be at max column and max row.
    864   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
    865   ## This PCD defines the Console output row and the default value is 80 according to UEFI spec.
    866   #  This PCD could be set to 0 then console output could be at max column and max row.
    867   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
    868 
    869   ## The PCD is used to specify the video horizontal resolution of text setup.
    870   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|800
    871   ## The PCD is used to specify the video vertical resolution of text setup.
    872   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|600
    873   ## The PCD is used to specify the console output column of text setup.
    874   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|100
    875   ## The PCD is used to specify the console output column of text setup.
    876   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|31
    877 
    878 !if $(TPM_ENABLED) == TRUE
    879   gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
    880   gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
    881 !endif
    882 
    883 [PcdsDynamicExDefault.common.DEFAULT]
    884   gEfiVLVTokenSpaceGuid.PcdTCSmbaIoBaseAddress|0x1040
    885   gEfiVLVTokenSpaceGuid.PcdEmmcManufacturerId|0
    886   gEfiVLVTokenSpaceGuid.PcdProductSerialNumber|0
    887   gEfiVLVTokenSpaceGuid.PcdMeasuredBootEnable|TRUE
    888   gEfiVLVTokenSpaceGuid.PcdFTPMErrorOccur|FALSE
    889   gEfiVLVTokenSpaceGuid.PcdFTPMErrorSkip|FALSE
    890   gEfiVLVTokenSpaceGuid.PcdFTPMCommand|0
    891   gEfiVLVTokenSpaceGuid.PcdFTPMResponse|0
    892   gEfiVLVTokenSpaceGuid.PcdFTPMNotRespond|FALSE
    893   gEfiVLVTokenSpaceGuid.PcdFTPMStatus|0
    894   gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr|0
    895   gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0
    896   gEfiCpuTokenSpaceGuid.PcdCpuS3DataAddress|0
    897   gEfiCpuTokenSpaceGuid.PcdCpuHotPlugDataAddress|0
    898   gEfiCpuTokenSpaceGuid.PcdCpuCallbackSignal|0
    899   gEfiCpuTokenSpaceGuid.PcdCpuConfigContextBuffer|0
    900   gEfiVLVTokenSpaceGuid.PcdCpuLockBoxDataAddress|0
    901   gEfiVLVTokenSpaceGuid.PcdCpuSmramCpuDataAddress|0
    902   gEfiVLVTokenSpaceGuid.PcdCpuLockBoxSize|0
    903 
    904 !if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)
    905   gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
    906   gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{0x7b, 0x26, 0x96, 0x40, 0x0a, 0xda, 0xeb, 0x42, 0xb5, 0xeb, 0xfe, 0xf3, 0x1d, 0x20, 0x7c, 0xb4}
    907   gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0xb2, 0x9e, 0x9c, 0xaf, 0xad, 0x12, 0x3e, 0x4d, 0xa4, 0xd4, 0x96, 0xf6, 0xc9, 0x96, 0x62, 0x15}
    908 !endif
    909 
    910 [Components.IA32]
    911 
    912   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SecCore.inf
    913 
    914   !if $(MINNOW2_FSP_BUILD) == TRUE
    915   IntelFspWrapperPkg/FspWrapperSecCore/FspWrapperSecCore.inf {
    916     !if $(TARGET) == DEBUG
    917 
    918     <LibraryClasses>
    919       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    920     !endif
    921   }
    922   Vlv2TbltDevicePkg/FspSupport/BootModePei/BootModePei.inf
    923   IntelFspWrapperPkg/FspInitPei/FspInitPei.inf {
    924     !if $(TARGET) == DEBUG
    925     <LibraryClasses>
    926       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
    927     !endif
    928   }
    929   !endif
    930 
    931 !if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)
    932   # FMP image decriptor
    933   Vlv2TbltDevicePkg/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf {
    934     <LibraryClasses>
    935       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
    936   }
    937 !endif
    938 
    939   MdeModulePkg/Core/Pei/PeiMain.inf {
    940 !if $(TARGET) == DEBUG
    941     <PcdsFixedAtBuild>
    942       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
    943 !endif
    944     <PcdsPatchableInModule>
    945       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
    946   }
    947 
    948   $(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf {
    949 !if $(TARGET) == DEBUG
    950     <PcdsFixedAtBuild>
    951       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
    952 !endif
    953   }
    954   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MemoryInit.inf {
    955     <PcdsPatchableInModule>
    956       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
    957     <BuildOptions>
    958       !if $(FTPM_ENABLE)==TRUE
    959         *_*_IA32_CC_FLAGS = /D FTPM_ENABLE
    960       !endif
    961   }
    962 
    963 !if $(RC_BINARY_RELEASE) == TRUE
    964   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SeCUma.inf
    965 !endif
    966 
    967 !if $(FTPM_ENABLE) == TRUE
    968 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
    969 !endif
    970 
    971 !if $(RC_BINARY_RELEASE) == TRUE
    972   $(PLATFORM_PACKAGE)/PlatformPei/PlatformPei.inf {
    973     <BuildOptions>
    974       *_*_IA32_CC_FLAGS      = -DRC_BINARY_RELEASE
    975   !if $(TARGET) == DEBUG
    976       <PcdsFixedAtBuild>
    977         gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
    978   !endif
    979   }
    980 !endif
    981 
    982 !if $(SOURCE_DEBUG_ENABLE) == TRUE
    983   SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf{
    984     <LibraryClasses>
    985       PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    986       DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
    987       PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
    988       SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
    989     }
    990 !endif
    991 
    992 !if $(FTPM_ENABLE) == TRUE
    993   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/Tpm2DeviceSeCPei.inf
    994 !endif
    995 
    996 !if $(TPM_ENABLED) == TRUE
    997   SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
    998   SecurityPkg/Tcg/TcgPei/TcgPei.inf {
    999     <LibraryClasses>
   1000       NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
   1001       NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
   1002       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
   1003 }
   1004 !endif
   1005 
   1006  $(PLATFORM_PACKAGE)/PlatformInitPei/PlatformInitPei.inf {
   1007     <PcdsPatchableInModule>
   1008       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
   1009     <LibraryClasses>
   1010 !if $(TARGET) != RELEASE
   1011       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1012 !endif
   1013       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
   1014   }
   1015   $(PLATFORM_PACKAGE)/FvInfoPei/FvInfoPei.inf
   1016 
   1017   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/VlvInitPeim.inf
   1018 !if $(PCIESC_ENABLE) == TRUE
   1019   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchEarlyInitPeim.inf {
   1020     <PcdsPatchableInModule>
   1021       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
   1022   }
   1023 !endif
   1024   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchInitPeim.inf
   1025 
   1026 
   1027   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSmbusArpDisabled.inf
   1028   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSpiPeim.inf
   1029   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmAccess.inf
   1030   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmControl.inf
   1031   MdeModulePkg/Universal/PCD/Pei/Pcd.inf
   1032   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/CpuPeim.inf
   1033   UefiCpuPkg/CpuIoPei/CpuIoPei.inf
   1034   UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
   1035   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MpS3.inf
   1036   EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/AcpiVariableHobOnSmramReserveHobThunk.inf
   1037   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PiSmmCommunicationPei.inf
   1038 
   1039 !if $(RECOVERY_ENABLE)
   1040   #
   1041   # Recovery
   1042   #
   1043   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchUsb.inf
   1044   MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf
   1045   MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf
   1046   MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf
   1047   FatPkg/FatPei/FatPei.inf
   1048   MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei.inf
   1049   SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {
   1050     <LibraryClasses>
   1051       FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
   1052       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
   1053   }
   1054 !endif
   1055 
   1056 !if $(CAPSULE_ENABLE) == TRUE
   1057   MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
   1058 !endif
   1059   MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
   1060     <LibraryClasses>
   1061 !if $(LZMA_ENABLE) == TRUE
   1062     NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
   1063 !endif
   1064   }
   1065 
   1066  MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
   1067  MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
   1068 
   1069 !if $(FTPM_ENABLE) == TRUE
   1070    SecurityPkg/Tcg/TrEEPei/TrEEPei.inf {
   1071     <PcdsPatchableInModule>
   1072       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
   1073     <LibraryClasses>
   1074       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1075       NULL|SecurityPkg/Library\HashInstanceLibSha1/HashInstanceLibSha1.inf
   1076       NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
   1077       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
   1078   }
   1079 !endif
   1080 !if $(TPM_ENABLED) == TRUE
   1081   SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
   1082     <LibraryClasses>
   1083       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
   1084   }
   1085 !endif
   1086 !if $(ACPI50_ENABLE) == TRUE
   1087   MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.inf{
   1088     <LibraryClasses>
   1089       TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
   1090   }
   1091 
   1092 !endif
   1093 !if $(PERFORMANCE_ENABLE) == TRUE
   1094   MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
   1095 !endif
   1096 [Components.X64]
   1097   !if $(MINNOW2_FSP_BUILD) == TRUE
   1098   IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.inf {
   1099     !if $(TARGET) == DEBUG
   1100     <PcdsPatchableInModule>
   1101       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
   1102     <LibraryClasses>
   1103       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1104     !endif
   1105   }
   1106 
   1107   !endif
   1108   #
   1109   # EDK II Related Platform codes
   1110   #
   1111   MdeModulePkg/Core/Dxe/DxeMain.inf {
   1112     <PcdsPatchableInModule>
   1113       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
   1114     <LibraryClasses>
   1115 !if $(DXE_CRC32_SECTION_ENABLE) == TRUE
   1116       NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
   1117 !endif
   1118 !if $(LZMA_ENABLE) == TRUE
   1119       NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
   1120 !endif
   1121 !if $(TARGET) != RELEASE
   1122       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1123 !endif
   1124   }
   1125   IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf {
   1126     <PcdsPatchableInModule>
   1127         gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
   1128     <PcdsFixedAtBuild>
   1129         gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
   1130     <LibraryClasses>
   1131     !if $(TARGET) != RELEASE
   1132           DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1133     !endif
   1134        <BuildOptions>
   1135         ICC:*_*_*_CC_FLAGS = -D MDEPKG_NDEBUG
   1136         GCC:RELEASE_*_*_CC_FLAGS = -D MDEPKG_NDEBUG
   1137   }
   1138   MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
   1139     <LibraryClasses>
   1140       PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
   1141   }
   1142   IntelFrameworkModulePkg/Universal/CpuIoDxe/CpuIoDxe.inf
   1143   UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
   1144 
   1145   MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
   1146   MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf  {
   1147     <LibraryClasses>
   1148 !if $(TARGET) != RELEASE
   1149       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1150 !endif
   1151   }
   1152 
   1153 !if $(CAPSULE_ENABLE) == TRUE
   1154   MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf {
   1155     <LibraryClasses>
   1156       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
   1157       MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
   1158       HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
   1159 !if $(SOURCE_DEBUG_ENABLE) == TRUE
   1160       DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
   1161 !endif
   1162   }
   1163 !endif
   1164 
   1165   MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
   1166   MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf{
   1167     <LibraryClasses>
   1168 !if $(SECURE_BOOT_ENABLE) == TRUE
   1169       NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
   1170 !endif
   1171 !if $(USER_IDENTIFICATION_ENABLE)
   1172       NULL|SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
   1173 !endif
   1174 !if $(TPM_ENABLED) == TRUE
   1175       NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
   1176 !endif
   1177 !if $(FTPM_ENABLE) == TRUE
   1178       NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
   1179 !endif
   1180   }
   1181   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MpCpu.inf
   1182   $(PLATFORM_PACKAGE)/Metronome/Metronome.inf
   1183 
   1184   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf{
   1185     <LibraryClasses>
   1186       OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
   1187       IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
   1188       BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
   1189       PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf
   1190       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1191       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1192       SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
   1193 !if $(CAPSULE_ENABLE)
   1194       FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
   1195 !else
   1196       FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf
   1197 !endif
   1198     !if $(FTPM_ENABLE) == TRUE
   1199       Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
   1200     !else
   1201       TrEEPhysicalPresenceLib|$(PLATFORM_PACKAGE)/Library/DxeTrEEPhysicalPresenceLibNull/DxeTrEEPhysicalPresenceLibNull.inf
   1202     !endif
   1203   }
   1204 
   1205   $(PLATFORM_PACKAGE)/UiApp/UiApp.inf
   1206 
   1207   MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
   1208   MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
   1209   MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
   1210   MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
   1211   MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
   1212     <LibraryClasses>
   1213       NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
   1214       SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
   1215   }
   1216   $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbSmm.inf
   1217   MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
   1218   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf
   1219 !if $(SECURE_BOOT_ENABLE) == TRUE
   1220   SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf {
   1221     <LibraryClasses>
   1222       PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
   1223     <BuildOptions>
   1224       #
   1225       # Specify GUID gEfiIfrBootMaintenanceGuid, to install Secure Boot Configuration menu
   1226       # into Boot Maintenance Manager menu
   1227       #
   1228       *_*_*_VFR_FLAGS   = -g b2dedc91-d59f-48d2-898a-12490c74a4e0
   1229   }
   1230 !endif
   1231    MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
   1232     <LibraryClasses>
   1233       FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
   1234   }
   1235 
   1236   MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
   1237   PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
   1238   MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
   1239 
   1240   $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbRuntimeDxe.inf
   1241 
   1242   $(PLATFORM_PACKAGE)/PlatformSetupDxe/PlatformSetupDxe.inf
   1243 
   1244 !if $(DATAHUB_ENABLE) == TRUE
   1245   IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf {
   1246     <PcdsFixedAtBuild>
   1247       gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
   1248   }
   1249 !endif
   1250   IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf
   1251   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
   1252   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf
   1253   !if $(USE_HPET_TIMER) == TRUE
   1254     PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
   1255   !else
   1256   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmartTimer.inf
   1257   !endif
   1258   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf
   1259 
   1260   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf
   1261   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/IntelPchLegacyInterrupt.inf
   1262   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf
   1263   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf{
   1264     <PcdsPatchableInModule>
   1265         gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
   1266   }
   1267   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf
   1268 
   1269 !if $(PCIESC_ENABLE) == TRUE
   1270   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf
   1271 !endif
   1272   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf
   1273   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf
   1274   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf
   1275   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf
   1276   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf
   1277   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf
   1278 
   1279   IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf
   1280 
   1281   PerformancePkg/Dp_App/Dp.inf {
   1282   <LibraryClasses>
   1283   !if $(PERFORMANCE_ENABLE) == TRUE
   1284     PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
   1285     TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
   1286   !endif
   1287   }
   1288 
   1289   Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
   1290     <LibraryClasses>
   1291 !if $(TARGET) != RELEASE
   1292       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1293 !endif
   1294       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1295   }
   1296 
   1297   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf
   1298   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf
   1299 
   1300 !if $(SEC_ENABLE) == TRUE
   1301   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/HeciDrv.inf {
   1302 !if $(SEC_DEBUG_INFO_ENABLE) == TRUE
   1303     <BuildOptions>
   1304       *_*_X64_CC_FLAGS      = /DSEC_DEBUG_INFO=1
   1305 !else
   1306     <BuildOptions>
   1307       *_*_X64_CC_FLAGS      = /DSEC_DEBUG_INFO=0
   1308 !endif
   1309   }
   1310 
   1311   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SeCPolicyInitDxe.inf
   1312 !endif
   1313 
   1314 !if $(FTPM_ENABLE) == TRUE
   1315   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Tpm2DeviceSeCDxe.inf
   1316   SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
   1317   SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf{
   1318     <LibraryClasses>
   1319       NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
   1320       NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
   1321       PcdLib|MdePkg/Library\DxePcdLib/DxePcdLib.inf
   1322       Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
   1323   }
   1324   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/FtpmSmm.inf
   1325 !endif
   1326 !if $(TPM_ENABLED) == TRUE
   1327   SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
   1328     <LibraryClasses>
   1329       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
   1330   }
   1331 
   1332   SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
   1333     <LibraryClasses>
   1334       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1335     <BuildOptions>
   1336       #
   1337       # specify GUID gEfiIfrNotInTPVPageGuid, this page will not
   1338       # be showed in TPV page.
   1339       #
   1340       *_*_*_VFR_FLAGS   = -g e58809f8-fbc1-48e2-883a-a30fdc4b441e
   1341   }
   1342 
   1343   SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
   1344     <LibraryClasses>
   1345       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1346   }
   1347   SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
   1348 !endif
   1349   #
   1350   # EDK II Related Platform codes
   1351   #
   1352   $(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf{
   1353     <LibraryClasses>
   1354     !if $(TARGET) != RELEASE
   1355           DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1356     !endif
   1357           PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1358   }
   1359   $(PLATFORM_PACKAGE)/PlatformInfoDxe/PlatformInfoDxe.inf
   1360   $(PLATFORM_PACKAGE)/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf
   1361   $(PLATFORM_PACKAGE)/PlatformDxe/PlatformDxe.inf
   1362 
   1363   $(PLATFORM_PACKAGE)/PciPlatform/PciPlatform.inf
   1364   $(PLATFORM_PACKAGE)/SaveMemoryConfig/SaveMemoryConfig.inf
   1365   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf
   1366   $(PLATFORM_PACKAGE)/PpmPolicy/PpmPolicy.inf
   1367   $(PLATFORM_PACKAGE)/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.inf
   1368 !if $(GOP_DRIVER_ENABLE) == TRUE
   1369   $(PLATFORM_PACKAGE)/PlatformGopPolicy/PlatformGopPolicy.inf
   1370 
   1371 !endif
   1372 
   1373 
   1374   #
   1375   # SMM
   1376   #
   1377   MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
   1378   MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
   1379   UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
   1380   UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
   1381   MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
   1382   UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
   1383   $(PLATFORM_PACKAGE)/SmmSwDispatch2OnSmmSwDispatchThunk/SmmSwDispatch2OnSmmSwDispatchThunk.inf
   1384   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf
   1385   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf
   1386 
   1387   #
   1388   # ACPI
   1389   #
   1390    MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
   1391     <PcdsPatchableInModule>
   1392       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
   1393     <PcdsFixedAtBuild>
   1394       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
   1395     <LibraryClasses>
   1396       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1397   }
   1398 
   1399   $(PLATFORM_PACKAGE)/BootScriptSaveDxe/BootScriptSaveDxe.inf
   1400   IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf
   1401   Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf
   1402 
   1403   $(PLATFORM_RC_PACKAGE)/AcpiTablesPCAT/AcpiTables.inf
   1404 
   1405   $(PLATFORM_PACKAGE)/AcpiPlatform/AcpiPlatform.inf
   1406 
   1407   #
   1408   # PCI
   1409   #
   1410   MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
   1411 
   1412 
   1413   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf
   1414 
   1415 
   1416 #
   1417 # ISA
   1418 #
   1419   $(PLATFORM_PACKAGE)/Wpce791/Wpce791.inf
   1420   IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
   1421   IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
   1422   IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
   1423   IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
   1424   IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
   1425 #
   1426 # SDIO
   1427 #
   1428   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcHost.inf
   1429   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcMediaDevice.inf
   1430 !if $(ACPI50_ENABLE) == TRUE
   1431   MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf {
   1432     <LibraryClasses>
   1433       TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
   1434   }
   1435   MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf {
   1436     <LibraryClasses>
   1437       TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
   1438   }
   1439 !endif
   1440 
   1441 #
   1442 # IDE/SCSI/AHCI
   1443 #
   1444   MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
   1445   IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
   1446   MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
   1447   MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
   1448   MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
   1449   FatPkg/EnhancedFatDxe/Fat.inf
   1450 !if $(SATA_ENABLE) == TRUE
   1451   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
   1452 !endif
   1453   MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
   1454 !if $(SCSI_ENABLE) == TRUE
   1455   MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
   1456   MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
   1457 !endif
   1458 #
   1459 # Console
   1460 #
   1461   MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
   1462   MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
   1463   MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
   1464   IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
   1465   MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
   1466   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
   1467   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
   1468   MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
   1469 
   1470   #
   1471   # USB
   1472   #
   1473 !if $(USB_ENABLE) == TRUE
   1474   MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
   1475   MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
   1476   MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
   1477   MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
   1478   MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
   1479   MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
   1480   MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
   1481 
   1482 !endif
   1483 
   1484   #
   1485   #  ECP
   1486   #
   1487   EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/FrameworkHiiOnUefiHiiThunk.inf
   1488   EdkCompatibilityPkg/Compatibility/LegacyRegion2OnLegacyRegionThunk/LegacyRegion2OnLegacyRegionThunk.inf
   1489   EdkCompatibilityPkg/Compatibility/SmmBaseOnSmmBase2Thunk/SmmBaseOnSmmBase2Thunk.inf
   1490   EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.inf
   1491   EdkCompatibilityPkg/Compatibility/SmmAccess2OnSmmAccessThunk/SmmAccess2OnSmmAccessThunk.inf
   1492   EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.inf
   1493   EdkCompatibilityPkg/Compatibility/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk.inf
   1494   EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/FvOnFv2Thunk.inf
   1495   #
   1496   # SMBIOS
   1497   #
   1498   MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
   1499   $(PLATFORM_PACKAGE)/SmBiosMiscDxe/SmBiosMiscDxe.inf
   1500 
   1501   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmbiosMemory.inf
   1502   #
   1503   # CPU/FW Microde
   1504   #
   1505   Vlv2MiscBinariesPkg/Microcode/MicrocodeUpdates.inf {
   1506     <BuildOptions>
   1507       *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF
   1508   }
   1509 
   1510 
   1511   PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
   1512 
   1513 
   1514 !if $(NETWORK_ENABLE) == TRUE
   1515   !if $(NETWORK_ISCSI_ENABLE) == TRUE
   1516     !if $(NETWORK_IP6_ENABLE) == TRUE
   1517       NetworkPkg/IScsiDxe/IScsiDxe.inf
   1518     !else
   1519       MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
   1520     !endif
   1521   !endif
   1522   !if $(NETWORK_VLAN_ENABLE) == TRUE
   1523     MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
   1524   !endif
   1525   !if $(CSM_ENABLE) == TRUE
   1526     IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Snp16Dxe.inf
   1527   !endif
   1528 !endif
   1529 
   1530 !if $(NETWORK_ENABLE) == TRUE
   1531   #
   1532   # UEFI network modules
   1533   #
   1534     MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
   1535     MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
   1536 
   1537     MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
   1538     MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
   1539     MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
   1540     MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
   1541     MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
   1542     MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf {
   1543       <PcdsPatchableInModule>
   1544       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
   1545     }
   1546     MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
   1547     !if $(NETWORK_IP6_ENABLE) == TRUE
   1548       NetworkPkg/Ip6Dxe/Ip6Dxe.inf
   1549       NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
   1550       NetworkPkg/IpSecDxe/IpSecDxe.inf
   1551       NetworkPkg/TcpDxe/TcpDxe.inf
   1552       NetworkPkg/Udp6Dxe/Udp6Dxe.inf
   1553       NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
   1554     !endif
   1555     !if $(NETWORK_IP6_ENABLE) == TRUE
   1556       NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
   1557     !else
   1558       MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
   1559     !endif
   1560 !endif
   1561 
   1562   Vlv2TbltDevicePkg/Application/FirmwareUpdate/FirmwareUpdate.inf
   1563 
   1564 !if $(CAPSULE_ENABLE) || $(MICOCODE_CAPSULE_ENABLE)
   1565   MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf
   1566   MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
   1567 !endif
   1568 
   1569 !if $(CAPSULE_ENABLE)
   1570   SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {
   1571     <LibraryClasses>
   1572       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1573       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1574       SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
   1575       FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
   1576   }
   1577   SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {
   1578     <LibraryClasses>
   1579       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1580       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1581       SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
   1582       FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
   1583   }
   1584 !endif
   1585 
   1586 !if $(MICOCODE_CAPSULE_ENABLE)
   1587   UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf {
   1588     <LibraryClasses>
   1589       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1590       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1591       SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
   1592   }
   1593 !endif
   1594 
   1595 [BuildOptions]
   1596 #
   1597 # Define Build Options both for EDK and EDKII drivers.
   1598 #
   1599 
   1600 #
   1601 # Define token for different Platform
   1602 #
   1603 !if $(MINNOW2_FSP_BUILD) == TRUE
   1604   DEFINE MINNOW2_FSP_OPTION = -DMINNOW2_FSP_BUILD
   1605 !else
   1606   DEFINE MINNOW2_FSP_OPTION =
   1607 !endif
   1608 
   1609 !if $(ENBDT_PF_BUILD) == TRUE
   1610   DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=1
   1611 !else
   1612   DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=0
   1613 !endif
   1614 
   1615 
   1616 !if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE
   1617   DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION = -DCLKGEN_CONFIG_EXTRA=1
   1618 !else
   1619   DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION =
   1620 !endif
   1621 
   1622 
   1623 
   1624 !if $(PCIESC_ENABLE) == TRUE
   1625   DEFINE PCIESC_SUPPORT_BUILD_OPTION = -DPCIESC_SUPPORT=1
   1626 !else
   1627   DEFINE PCIESC_SUPPORT_BUILD_OPTION =
   1628 !endif
   1629 !if $(SATA_ENABLE) == TRUE
   1630   DEFINE SATA_SUPPORT_BUILD_OPTION = -DSATA_SUPPORT=1
   1631 !else
   1632   DEFINE SATA_SUPPORT_BUILD_OPTION =
   1633 !endif
   1634 !if $(ENBDT_S3_SUPPORT) == TRUE
   1635   DEFINE ENBDT_S3_SUPPORT_OPTIONS = -DNOCS_S3_SUPPORT
   1636 !else
   1637   DEFINE ENBDT_S3_SUPPORT_OPTIONS =
   1638 !endif
   1639 
   1640 !if $(X64_CONFIG) == TRUE
   1641   DEFINE X64_BUILD_ENABLE = -DX64_BUILD_ENABLE=1
   1642 !else
   1643   DEFINE X64_BUILD_ENABLE =
   1644 !endif
   1645 
   1646 !if $(FTPM_ENABLE) == TRUE
   1647   DEFINE DSC_FTPM_BUILD_OPTIONS = -DFTPM_ENABLE
   1648 !else
   1649   DEFINE DSC_FTPM_BUILD_OPTIONS =
   1650 !endif
   1651 !if $(TPM_ENABLED) == TRUE
   1652   DEFINE DSC_TPM_BUILD_OPTIONS = -DTPM_ENABLED
   1653 !else
   1654   DEFINE DSC_TPM_BUILD_OPTIONS =
   1655 !endif
   1656 
   1657 
   1658   DEFINE EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS = $(MINNOW2_FSP_OPTION) $(MINNOW2_BUILD_OPTION) $(ENBDT_PF_ENABLE) $(EXTERNAL_VGA_BUILD_OPTION) $(PCIE_ENUM_WA_BUILD_OPTION) $(X0_WA_ENABLE_BUILD_OPTION) $(A0_WA_ENABLE_BUILD_OPTION) $(MICROCODE_FREE_BUILD_OPTIONS) $(SIMICS_BUILD_OPTIONS) $(HYBRID_BUILD_OPTIONS) $(COMPACT_BUILD_OPTIONS) $(VP_BUILD_OPTIONS) $(SYSCTL_ID_BUILD_OPTION) $(CLKGEN_CONFIG_EXTRA_BUILD_OPTION) $(SYSCTL_X0_CONVERT_BOARD_OPTION) $(ENBDT_S3_SUPPORT_OPTIONS) $(SATA_SUPPORT_BUILD_OPTION) $(PCIESC_SUPPORT_BUILD_OPTION) $(DSC_FTPM_BUILD_OPTIONS) $(DSC_FTPM_ERROR_WR_BUILD_OPTIONS) $(DSC_TPM_BUILD_OPTIONS) $(DSC_BYTI_SECURE_BOOT_BUILD_OPTIONS)
   1659 !if $(PERFORMANCE_ENABLE) == TRUE
   1660   DEFINE PDB_BUILD_OPTION = /Zi
   1661 !endif
   1662 
   1663   GCC:*_*_*_CC_FLAGS = -Wno-missing-braces
   1664 !if $(SOURCE_DEBUG_ENABLE) == TRUE
   1665   MSFT:*_*_X64_GENFW_FLAGS  = --keepexceptiontable
   1666   GCC:*_*_X64_GENFW_FLAGS   = --keepexceptiontable
   1667   INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
   1668   DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
   1669 !else
   1670   DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
   1671 
   1672 !endif
   1673 
   1674 #
   1675 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
   1676 # protection of DXE_RUNTIME_DRIVER modules
   1677 #
   1678 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
   1679   MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
   1680   GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
   1681 
   1682 #
   1683 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
   1684 # protection of DXE_SMM_DRIVER/SMM_CORE modules
   1685 #
   1686 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
   1687   MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
   1688   GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
   1689 
   1690 [BuildOptions.Common.EDK]
   1691 
   1692 #
   1693 # Define token for different Platform
   1694 #
   1695 !if $(ENBDT_PF_BUILD) == TRUE
   1696   DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=1
   1697 !else
   1698   DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=0
   1699 !endif
   1700 
   1701 !if $(PERFORMANCE_ENABLE) == TRUE
   1702   RELEASE_*_*_DLINK_FLAGS = -DEBUG
   1703 !endif
   1704 
   1705 !if $(S3_ENABLE) == TRUE
   1706   DEFINE DSC_S3_BUILD_OPTIONS = -DEFI_S3_RESUME
   1707 !else
   1708   DEFINE DSC_S3_BUILD_OPTIONS =
   1709 !endif
   1710 
   1711 !if $(ENBDT_S3_SUPPORT) == TRUE
   1712   DEFINE ENBDT_S3_SUPPORT_OPTIONS = -DNOCS_S3_SUPPORT
   1713 !else
   1714   DEFINE ENBDT_S3_SUPPORT_OPTIONS =
   1715 !endif
   1716 
   1717 !if $(X64_CONFIG) == TRUE
   1718   DEFINE X64_BUILD_ENABLE = -DX64_BUILD_ENABLE=1
   1719 !else
   1720   DEFINE X64_BUILD_ENABLE =
   1721 !endif
   1722 
   1723 
   1724   DEFINE EDK_GLUE_LIB_DEBUG  =
   1725   DEFINE DEBUG_BUILD_OPTIONS = -D EFI_DEBUG -D DEBUG_MODE=1  /GL- $(EDK_GLUE_LIB_DEBUG) -DEDKII_GLUE_DebugPrintErrorLevel=(EFI_D_ERROR)
   1726   DEFINE EDK_DSC_FEATURE_BUILD_OPTIONS = $(DSC_S3_BUILD_OPTIONS) $(DSC_ACPI_BUILD_OPTIONS) $(DSC_SEC_BUILD_OPTIONS) $(DSC_FTPM_BUILD_OPTIONS) $(DSC_FTPM_ERROR_WR_BUILD_OPTIONS) $(DSC_TPM_BUILD_OPTIONS) $(SOFTSDV_BUILD_OPTIONS) $(SIMICS_BUILD_OPTIONS) $(HYBRID_BUILD_OPTIONS) $(COMPACT_BUILD_OPTIONS) $(VP_BUILD_OPTIONS) $(QT_BUILD_OPTIONS) $(DSC_BYTI_SECURE_BOOT_BUILD_OPTIONS) -D$(PROJECT_SC_CHIPSET)
   1727 
   1728   DEFINE EDK_DSC_OTHER_BUILD_OPTIONS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SV_BUILD_OPTIONS) $(INTEL_FASTBOOT_BUILD_OPTION)
   1729   DEFINE EDK_DSC_GLOBAL_BUILD_OPTIONS = $(ENBDT_PF_ENABLE) $(EDK_DSC_FEATURE_BUILD_OPTIONS) $(EDK_DSC_OTHER_BUILD_OPTIONS) -D EFI_SPECIFICATION_VERSION=0x00020000  -D PI_SPECIFICATION_VERSION=0x00000009  -D TIANO_RELEASE_VERSION=0x00080006 -D SUPPORT_DEPRECATED_PCI_CFG_PPI -D CSM_SMMENTRY_PORT8DATA8 -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE) -D MAX_VARIABLE_SIZE=0x2000 -D EFI_FIRMWARE_VENDOR="L/"INTEL/"" -D EFI_BUILD_VERSION="L/"EDKII/"" -DEFI_PEI_REPORT_STATUS_CODE_ON $(ENBDT_S3_SUPPORT_OPTIONS)
   1730 
   1731   *_*_IA32_ASM_FLAGS         = -DEFI32 -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT
   1732   DEBUG_*_IA32_CC_FLAGS      = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1733   RELEASE_*_IA32_CC_FLAGS    = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1734   DEBUG_*_IA32_VFRPP_FLAGS   = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1735   RELEASE_*_IA32_VFRPP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1736   DEBUG_*_IA32_APP_FLAGS     = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1737   RELEASE_*_IA32_APP_FLAGS   = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1738   DEBUG_*_IA32_PP_FLAGS      = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1739   RELEASE_*_IA32_PP_FLAGS    = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1740   *_*_IA32_ASLPP_FLAGS       = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
   1741   *_*_IA32_ASLCC_FLAGS       = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
   1742   *_*_IA32_ASM16_FLAGS       = -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
   1743 
   1744   *_*_X64_ASM_FLAGS          = -DEFIX64 -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT
   1745   DEBUG_*_X64_CC_FLAGS       = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1746   RELEASE_*_X64_CC_FLAGS     = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1747   DEBUG_*_X64_VFRPP_FLAGS    = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1748   RELEASE_*_X64_VFRPP_FLAGS  = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1749   DEBUG_*_X64_APP_FLAGS      = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1750   RELEASE_*_X64_APP_FLAGS    = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1751   DEBUG_*_X64_PP_FLAGS       = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1752   RELEASE_*_X64_PP_FLAGS     = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1753   *_*_X64_ASLPP_FLAGS        = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
   1754   *_*_X64_ASLCC_FLAGS        = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
   1755   *_*_X64_ASM16_FLAGS        = -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
   1756  # *_*_*_BUILD_FLAGS = -s
   1757   *_*_*_VFR_FLAGS   = -c
   1758   *_*_*_BUILD_FLAGS = -c
   1759 
   1760 [BuildOptions.Common.EDKII]
   1761   *_*_IA32_ASM_FLAGS     = $(VP_BUILD_OPTIONS) -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT
   1762 
   1763   *_*_IA32_CC_FLAGS      = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1764   *_*_IA32_VFRPP_FLAGS   = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1765   *_*_IA32_APP_FLAGS     = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1766   *_*_IA32_PP_FLAGS      = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1767   *_*_IA32_ASLPP_FLAGS   = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1768 
   1769   *_*_X64_CC_FLAGS       = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SOURCE_LEVEL_DEBUG_BUILD_OPTIONS)
   1770   *_*_X64_VFRPP_FLAGS    = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1771   *_*_X64_APP_FLAGS      = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1772   *_*_X64_PP_FLAGS       = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1773   *_*_X64_ASLPP_FLAGS    = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1774 
   1775 
   1776 [Components.X64]
   1777  $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SysFwUpdateCapsuleDxe.inf
   1778 
   1779   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cBus.inf {
   1780     <PcdsPatchableInModule>
   1781       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
   1782   }
   1783 
   1784   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cHost.inf {
   1785     <PcdsPatchableInModule>
   1786       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
   1787   }
   1788   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cPortA0Pio.inf {
   1789     <PcdsPatchableInModule>
   1790       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
   1791   }
   1792 
   1793   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cMmioDeviceDxe.inf {
   1794     <PcdsPatchableInModule>
   1795       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
   1796   }
   1797 
   1798