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
     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)/PlatformPkg.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|MdeModulePkg/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.IA32]
    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.IA32.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.IA32.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.IA32.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.IA32.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.IA32.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.IA32.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.IA32]
    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|FALSE
    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.IA32]
   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:*_*_*_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   MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
   1154   MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf{
   1155     <LibraryClasses>
   1156 !if $(SECURE_BOOT_ENABLE) == TRUE
   1157       NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
   1158 !endif
   1159 !if $(USER_IDENTIFICATION_ENABLE)
   1160       NULL|SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
   1161 !endif
   1162 !if $(TPM_ENABLED) == TRUE
   1163       NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
   1164 !endif
   1165 !if $(FTPM_ENABLE) == TRUE
   1166       NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
   1167 !endif
   1168   }
   1169   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MpCpu.inf
   1170   $(PLATFORM_PACKAGE)/Metronome/Metronome.inf
   1171 
   1172   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf{
   1173     <LibraryClasses>
   1174       OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
   1175       IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
   1176       BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
   1177       PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf
   1178       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1179       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1180       SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
   1181 !if $(CAPSULE_ENABLE)
   1182       FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
   1183 !else
   1184       FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf
   1185 !endif
   1186     !if $(FTPM_ENABLE) == TRUE
   1187       Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
   1188     !else
   1189       TrEEPhysicalPresenceLib|$(PLATFORM_PACKAGE)/Library/DxeTrEEPhysicalPresenceLibNull/DxeTrEEPhysicalPresenceLibNull.inf
   1190     !endif
   1191   }
   1192 
   1193   $(PLATFORM_PACKAGE)/UiApp/UiApp.inf
   1194 
   1195   MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
   1196   MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
   1197   MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
   1198   MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
   1199   MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
   1200     <LibraryClasses>
   1201       NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
   1202       SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
   1203   }
   1204   $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbSmm.inf
   1205   MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
   1206   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf
   1207 !if $(SECURE_BOOT_ENABLE) == TRUE
   1208   SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf {
   1209     <LibraryClasses>
   1210       PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
   1211     <BuildOptions>
   1212       #
   1213       # Specify GUID gEfiIfrBootMaintenanceGuid, to install Secure Boot Configuration menu
   1214       # into Boot Maintenance Manager menu
   1215       #
   1216       *_*_*_VFR_FLAGS   = -g b2dedc91-d59f-48d2-898a-12490c74a4e0
   1217   }
   1218 !endif
   1219    MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
   1220     <LibraryClasses>
   1221       FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
   1222   }
   1223 
   1224   MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
   1225   PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
   1226   MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
   1227 
   1228   $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbRuntimeDxe.inf
   1229 
   1230   $(PLATFORM_PACKAGE)/PlatformSetupDxe/PlatformSetupDxe.inf
   1231 
   1232 !if $(DATAHUB_ENABLE) == TRUE
   1233   IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf {
   1234     <PcdsFixedAtBuild>
   1235       gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
   1236   }
   1237 !endif
   1238   IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf
   1239   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
   1240   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf
   1241   !if $(USE_HPET_TIMER) == TRUE
   1242     PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
   1243   !else
   1244   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmartTimer.inf
   1245   !endif
   1246   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf
   1247 
   1248   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf
   1249   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/IntelPchLegacyInterrupt.inf
   1250   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf
   1251   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf{
   1252     <PcdsPatchableInModule>
   1253         gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
   1254   }
   1255   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf
   1256 
   1257 !if $(PCIESC_ENABLE) == TRUE
   1258   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf
   1259 !endif
   1260   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf
   1261   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf
   1262   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf
   1263   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf
   1264   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf
   1265   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf
   1266 
   1267   IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf
   1268 
   1269   PerformancePkg/Dp_App/Dp.inf {
   1270   <LibraryClasses>
   1271   !if $(PERFORMANCE_ENABLE) == TRUE
   1272     PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
   1273     TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
   1274   !endif
   1275   }
   1276 
   1277   Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
   1278     <LibraryClasses>
   1279 !if $(TARGET) != RELEASE
   1280       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1281 !endif
   1282       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1283   }
   1284 
   1285   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf
   1286   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf
   1287 
   1288 !if $(SEC_ENABLE) == TRUE
   1289   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/HeciDrv.inf {
   1290 !if $(SEC_DEBUG_INFO_ENABLE) == TRUE
   1291     <BuildOptions>
   1292       *_*_X64_CC_FLAGS      = /DSEC_DEBUG_INFO=1
   1293 !else
   1294     <BuildOptions>
   1295       *_*_X64_CC_FLAGS      = /DSEC_DEBUG_INFO=0
   1296 !endif
   1297   }
   1298 
   1299   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SeCPolicyInitDxe.inf
   1300 !endif
   1301 
   1302 !if $(FTPM_ENABLE) == TRUE
   1303   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Tpm2DeviceSeCDxe.inf
   1304   SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
   1305   SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf{
   1306     <LibraryClasses>
   1307       NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
   1308       NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
   1309       PcdLib|MdePkg/Library\DxePcdLib/DxePcdLib.inf
   1310       Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
   1311   }
   1312   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/FtpmSmm.inf
   1313 !endif
   1314 !if $(TPM_ENABLED) == TRUE
   1315   SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
   1316     <LibraryClasses>
   1317       PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
   1318   }
   1319 
   1320   SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
   1321     <LibraryClasses>
   1322       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1323     <BuildOptions>
   1324       #
   1325       # specify GUID gEfiIfrNotInTPVPageGuid, this page will not
   1326       # be showed in TPV page.
   1327       #
   1328       *_*_*_VFR_FLAGS   = -g e58809f8-fbc1-48e2-883a-a30fdc4b441e
   1329   }
   1330 
   1331   SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
   1332     <LibraryClasses>
   1333       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1334   }
   1335   SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
   1336 !endif
   1337   #
   1338   # EDK II Related Platform codes
   1339   #
   1340   $(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf{
   1341     <LibraryClasses>
   1342     !if $(TARGET) != RELEASE
   1343           DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1344     !endif
   1345           PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1346   }
   1347   $(PLATFORM_PACKAGE)/PlatformInfoDxe/PlatformInfoDxe.inf
   1348   $(PLATFORM_PACKAGE)/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf
   1349   $(PLATFORM_PACKAGE)/PlatformDxe/PlatformDxe.inf
   1350 
   1351   $(PLATFORM_PACKAGE)/PciPlatform/PciPlatform.inf
   1352   $(PLATFORM_PACKAGE)/SaveMemoryConfig/SaveMemoryConfig.inf
   1353   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf
   1354   $(PLATFORM_PACKAGE)/PpmPolicy/PpmPolicy.inf
   1355   $(PLATFORM_PACKAGE)/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.inf
   1356 !if $(GOP_DRIVER_ENABLE) == TRUE
   1357   $(PLATFORM_PACKAGE)/PlatformGopPolicy/PlatformGopPolicy.inf
   1358 
   1359 !endif
   1360 
   1361 
   1362   #
   1363   # SMM
   1364   #
   1365   MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
   1366   MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
   1367   UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
   1368   UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
   1369   MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
   1370   UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
   1371   $(PLATFORM_PACKAGE)/SmmSwDispatch2OnSmmSwDispatchThunk/SmmSwDispatch2OnSmmSwDispatchThunk.inf
   1372   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf
   1373   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf
   1374 
   1375   #
   1376   # ACPI
   1377   #
   1378    MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
   1379     <PcdsPatchableInModule>
   1380       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
   1381     <PcdsFixedAtBuild>
   1382       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
   1383     <LibraryClasses>
   1384       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1385   }
   1386 
   1387   $(PLATFORM_PACKAGE)/BootScriptSaveDxe/BootScriptSaveDxe.inf
   1388   IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf
   1389   Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf
   1390 
   1391   $(PLATFORM_RC_PACKAGE)/AcpiTablesPCAT/AcpiTables.inf
   1392 
   1393   $(PLATFORM_PACKAGE)/AcpiPlatform/AcpiPlatform.inf
   1394 
   1395   #
   1396   # PCI
   1397   #
   1398   MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
   1399 
   1400 
   1401   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf
   1402 
   1403 
   1404 #
   1405 # ISA
   1406 #
   1407   $(PLATFORM_PACKAGE)/Wpce791/Wpce791.inf
   1408   IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
   1409   IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
   1410   IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
   1411   IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
   1412   IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
   1413 #
   1414 # SDIO
   1415 #
   1416   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcHost.inf
   1417   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcMediaDevice.inf
   1418 !if $(ACPI50_ENABLE) == TRUE
   1419   MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf {
   1420     <LibraryClasses>
   1421       TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
   1422   }
   1423   MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf {
   1424     <LibraryClasses>
   1425       TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
   1426   }
   1427 !endif
   1428 
   1429 #
   1430 # IDE/SCSI/AHCI
   1431 #
   1432   MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
   1433   IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
   1434   MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
   1435   MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
   1436   MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
   1437   FatPkg/EnhancedFatDxe/Fat.inf
   1438 !if $(SATA_ENABLE) == TRUE
   1439   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
   1440 !endif
   1441   MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
   1442 !if $(SCSI_ENABLE) == TRUE
   1443   MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
   1444   MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
   1445 !endif
   1446 #
   1447 # Console
   1448 #
   1449   MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
   1450   MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
   1451   MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
   1452   IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
   1453   MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
   1454   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
   1455   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
   1456   MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
   1457 
   1458   #
   1459   # USB
   1460   #
   1461 !if $(USB_ENABLE) == TRUE
   1462   MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
   1463   MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
   1464   MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
   1465   MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
   1466   MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
   1467   MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
   1468   MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
   1469 
   1470 !endif
   1471 
   1472   #
   1473   #  ECP
   1474   #
   1475   EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/FrameworkHiiOnUefiHiiThunk.inf
   1476   EdkCompatibilityPkg/Compatibility/LegacyRegion2OnLegacyRegionThunk/LegacyRegion2OnLegacyRegionThunk.inf
   1477   EdkCompatibilityPkg/Compatibility/SmmBaseOnSmmBase2Thunk/SmmBaseOnSmmBase2Thunk.inf
   1478   EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.inf
   1479   EdkCompatibilityPkg/Compatibility/SmmAccess2OnSmmAccessThunk/SmmAccess2OnSmmAccessThunk.inf
   1480   EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.inf
   1481   EdkCompatibilityPkg/Compatibility/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk.inf
   1482   EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/FvOnFv2Thunk.inf
   1483   #
   1484   # SMBIOS
   1485   #
   1486   MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
   1487   $(PLATFORM_PACKAGE)/SmBiosMiscDxe/SmBiosMiscDxe.inf
   1488 
   1489   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmbiosMemory.inf
   1490   #
   1491   # CPU/FW Microde
   1492   #
   1493   Vlv2MiscBinariesPkg/Microcode/MicrocodeUpdates.inf {
   1494     <BuildOptions>
   1495       *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF
   1496   }
   1497 
   1498 
   1499   PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
   1500 
   1501 
   1502 !if $(NETWORK_ENABLE) == TRUE
   1503   !if $(NETWORK_ISCSI_ENABLE) == TRUE
   1504     !if $(NETWORK_IP6_ENABLE) == TRUE
   1505       NetworkPkg/IScsiDxe/IScsiDxe.inf
   1506     !else
   1507       MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
   1508     !endif
   1509   !endif
   1510   !if $(NETWORK_VLAN_ENABLE) == TRUE
   1511     MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
   1512   !endif
   1513   !if $(CSM_ENABLE) == TRUE
   1514     IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Snp16Dxe.inf
   1515   !endif
   1516 !endif
   1517 
   1518 !if $(NETWORK_ENABLE) == TRUE
   1519   #
   1520   # UEFI network modules
   1521   #
   1522     MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
   1523     MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
   1524 
   1525     MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
   1526     MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
   1527     MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
   1528     MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
   1529     MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
   1530     MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf {
   1531       <PcdsPatchableInModule>
   1532       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
   1533     }
   1534     MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
   1535     !if $(NETWORK_IP6_ENABLE) == TRUE
   1536       NetworkPkg/Ip6Dxe/Ip6Dxe.inf
   1537       NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
   1538       NetworkPkg/IpSecDxe/IpSecDxe.inf
   1539       NetworkPkg/TcpDxe/TcpDxe.inf
   1540       NetworkPkg/Udp6Dxe/Udp6Dxe.inf
   1541       NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
   1542     !endif
   1543     !if $(NETWORK_IP6_ENABLE) == TRUE
   1544       NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
   1545     !else
   1546       MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
   1547     !endif
   1548 !endif
   1549 
   1550   Vlv2TbltDevicePkg/Application/FirmwareUpdate/FirmwareUpdate.inf
   1551 
   1552 !if $(CAPSULE_ENABLE) || $(MICOCODE_CAPSULE_ENABLE)
   1553   MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf
   1554   MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
   1555 !endif
   1556 
   1557 !if $(CAPSULE_ENABLE)
   1558   SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {
   1559     <LibraryClasses>
   1560       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1561       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1562       SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
   1563       FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
   1564   }
   1565   SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {
   1566     <LibraryClasses>
   1567       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1568       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1569       SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
   1570       FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
   1571   }
   1572 !endif
   1573 
   1574 !if $(MICOCODE_CAPSULE_ENABLE)
   1575   UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf {
   1576     <LibraryClasses>
   1577       DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
   1578       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
   1579       SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
   1580   }
   1581 !endif
   1582 
   1583 [BuildOptions]
   1584 #
   1585 # Define Build Options both for EDK and EDKII drivers.
   1586 #
   1587 
   1588 #
   1589 # Define token for different Platform
   1590 #
   1591 !if $(MINNOW2_FSP_BUILD) == TRUE
   1592   DEFINE MINNOW2_FSP_OPTION = /DMINNOW2_FSP_BUILD
   1593 !else
   1594   DEFINE MINNOW2_FSP_OPTION =
   1595 !endif
   1596 
   1597 !if $(ENBDT_PF_BUILD) == TRUE
   1598   DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=1
   1599 !else
   1600   DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=0
   1601 !endif
   1602 
   1603 
   1604 !if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE
   1605   DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION = /DCLKGEN_CONFIG_EXTRA=1
   1606 !else
   1607   DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION =
   1608 !endif
   1609 
   1610 
   1611 
   1612 !if $(PCIESC_ENABLE) == TRUE
   1613   DEFINE PCIESC_SUPPORT_BUILD_OPTION = /DPCIESC_SUPPORT=1
   1614 !else
   1615   DEFINE PCIESC_SUPPORT_BUILD_OPTION =
   1616 !endif
   1617 !if $(SATA_ENABLE) == TRUE
   1618   DEFINE SATA_SUPPORT_BUILD_OPTION = /DSATA_SUPPORT=1
   1619 !else
   1620   DEFINE SATA_SUPPORT_BUILD_OPTION =
   1621 !endif
   1622 !if $(ENBDT_S3_SUPPORT) == TRUE
   1623   DEFINE ENBDT_S3_SUPPORT_OPTIONS = /DNOCS_S3_SUPPORT
   1624 !else
   1625   DEFINE ENBDT_S3_SUPPORT_OPTIONS =
   1626 !endif
   1627 
   1628 !if $(X64_CONFIG) == TRUE
   1629   DEFINE X64_BUILD_ENABLE = /DX64_BUILD_ENABLE=1
   1630 !else
   1631   DEFINE X64_BUILD_ENABLE =
   1632 !endif
   1633 
   1634 !if $(FTPM_ENABLE) == TRUE
   1635   DEFINE DSC_FTPM_BUILD_OPTIONS = /DFTPM_ENABLE
   1636 !else
   1637   DEFINE DSC_FTPM_BUILD_OPTIONS =
   1638 !endif
   1639 !if $(TPM_ENABLED) == TRUE
   1640   DEFINE DSC_TPM_BUILD_OPTIONS = /DTPM_ENABLED
   1641 !else
   1642   DEFINE DSC_TPM_BUILD_OPTIONS =
   1643 !endif
   1644 
   1645 
   1646   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)
   1647 !if $(PERFORMANCE_ENABLE) == TRUE
   1648   DEFINE PDB_BUILD_OPTION = /Zi
   1649 !endif
   1650 
   1651 !if $(SOURCE_DEBUG_ENABLE) == TRUE
   1652   MSFT:*_*_X64_GENFW_FLAGS  = --keepexceptiontable
   1653   GCC:*_*_X64_GENFW_FLAGS   = --keepexceptiontable
   1654   INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
   1655 !if $(TARGET) == DEBUG
   1656   DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS = /Od /Oy-
   1657 !endif
   1658 !else
   1659   DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
   1660 
   1661 !endif
   1662 
   1663 #
   1664 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
   1665 # protection of DXE_RUNTIME_DRIVER modules
   1666 #
   1667 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
   1668   MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
   1669   GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
   1670 
   1671 #
   1672 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
   1673 # protection of DXE_SMM_DRIVER/SMM_CORE modules
   1674 #
   1675 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
   1676   MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
   1677   GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
   1678 
   1679 [BuildOptions.Common.EDK]
   1680 
   1681 #
   1682 # Define token for different Platform
   1683 #
   1684 !if $(ENBDT_PF_BUILD) == TRUE
   1685   DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=1
   1686 !else
   1687   DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=0
   1688 !endif
   1689 
   1690 !if $(PERFORMANCE_ENABLE) == TRUE
   1691   RELEASE_*_*_DLINK_FLAGS = /DEBUG
   1692 !endif
   1693 
   1694 !if $(S3_ENABLE) == TRUE
   1695   DEFINE DSC_S3_BUILD_OPTIONS = /DEFI_S3_RESUME
   1696 !else
   1697   DEFINE DSC_S3_BUILD_OPTIONS =
   1698 !endif
   1699 
   1700 !if $(ENBDT_S3_SUPPORT) == TRUE
   1701   DEFINE ENBDT_S3_SUPPORT_OPTIONS = /DNOCS_S3_SUPPORT
   1702 !else
   1703   DEFINE ENBDT_S3_SUPPORT_OPTIONS =
   1704 !endif
   1705 
   1706 !if $(X64_CONFIG) == TRUE
   1707   DEFINE X64_BUILD_ENABLE = /DX64_BUILD_ENABLE=1
   1708 !else
   1709   DEFINE X64_BUILD_ENABLE =
   1710 !endif
   1711 
   1712 
   1713   DEFINE EDK_GLUE_LIB_DEBUG  =
   1714   DEFINE DEBUG_BUILD_OPTIONS = /D EFI_DEBUG /D DEBUG_MODE=1  /GL- $(EDK_GLUE_LIB_DEBUG) /DEDKII_GLUE_DebugPrintErrorLevel=(EFI_D_ERROR)
   1715   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)
   1716 
   1717   DEFINE EDK_DSC_OTHER_BUILD_OPTIONS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SV_BUILD_OPTIONS) $(INTEL_FASTBOOT_BUILD_OPTION)
   1718   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)
   1719 
   1720   *_*_IA32_ASM_FLAGS         = /DEFI32 /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h /DNOCS_S3_SUPPORT
   1721   DEBUG_*_IA32_CC_FLAGS      = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1722   RELEASE_*_IA32_CC_FLAGS    = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1723   DEBUG_*_IA32_VFRPP_FLAGS   = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1724   RELEASE_*_IA32_VFRPP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1725   DEBUG_*_IA32_APP_FLAGS     = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1726   RELEASE_*_IA32_APP_FLAGS   = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1727   DEBUG_*_IA32_PP_FLAGS      = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1728   RELEASE_*_IA32_PP_FLAGS    = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1729   *_*_IA32_ASLPP_FLAGS       = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
   1730   *_*_IA32_ASLCC_FLAGS       = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
   1731   *_*_IA32_ASM16_FLAGS       = /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
   1732 
   1733   *_*_X64_ASM_FLAGS          = /DEFIX64 /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h /DNOCS_S3_SUPPORT
   1734   DEBUG_*_X64_CC_FLAGS       = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1735   RELEASE_*_X64_CC_FLAGS     = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1736   DEBUG_*_X64_VFRPP_FLAGS    = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1737   RELEASE_*_X64_VFRPP_FLAGS  = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1738   DEBUG_*_X64_APP_FLAGS      = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1739   RELEASE_*_X64_APP_FLAGS    = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1740   DEBUG_*_X64_PP_FLAGS       = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
   1741   RELEASE_*_X64_PP_FLAGS     = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
   1742   *_*_X64_ASLPP_FLAGS        = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
   1743   *_*_X64_ASLCC_FLAGS        = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
   1744   *_*_X64_ASM16_FLAGS        = /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
   1745  # *_*_*_BUILD_FLAGS = -s
   1746   *_*_*_VFR_FLAGS   = -c
   1747   *_*_*_BUILD_FLAGS = -c
   1748 
   1749 [BuildOptions.Common.EDKII]
   1750   *_*_IA32_ASM_FLAGS     = $(VP_BUILD_OPTIONS) /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h /DNOCS_S3_SUPPORT
   1751 
   1752   *_*_IA32_CC_FLAGS      = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1753   *_*_IA32_VFRPP_FLAGS   = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1754   *_*_IA32_APP_FLAGS     = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1755   *_*_IA32_PP_FLAGS      = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1756   *_*_IA32_ASLPP_FLAGS   = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1757 
   1758   *_*_X64_CC_FLAGS       = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SOURCE_LEVEL_DEBUG_BUILD_OPTIONS)
   1759   *_*_X64_VFRPP_FLAGS    = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1760   *_*_X64_APP_FLAGS      = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1761   *_*_X64_PP_FLAGS       = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1762   *_*_X64_ASLPP_FLAGS    = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
   1763 
   1764 
   1765 [Components.IA32]
   1766  $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SysFwUpdateCapsuleDxe.inf
   1767 
   1768   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cBus.inf {
   1769     <PcdsPatchableInModule>
   1770       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
   1771   }
   1772 
   1773   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cHost.inf {
   1774     <PcdsPatchableInModule>
   1775       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
   1776   }
   1777   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cPortA0Pio.inf {
   1778     <PcdsPatchableInModule>
   1779       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
   1780   }
   1781 
   1782   $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cMmioDeviceDxe.inf {
   1783     <PcdsPatchableInModule>
   1784       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
   1785   }
   1786 
   1787