PlatformPkgX64.dsc 68 KB

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