PlatformPkgGccX64.dsc 68 KB

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