OvmfPkgIa32.dsc 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021
  1. ## @file
  2. # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
  3. #
  4. # Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>
  5. # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
  6. # Copyright (c) Microsoft Corporation.
  7. #
  8. # SPDX-License-Identifier: BSD-2-Clause-Patent
  9. #
  10. ##
  11. ################################################################################
  12. #
  13. # Defines Section - statements that will be processed to create a Makefile.
  14. #
  15. ################################################################################
  16. [Defines]
  17. PLATFORM_NAME = Ovmf
  18. PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
  19. PLATFORM_VERSION = 0.1
  20. DSC_SPECIFICATION = 0x00010005
  21. OUTPUT_DIRECTORY = Build/OvmfIa32
  22. SUPPORTED_ARCHITECTURES = IA32
  23. BUILD_TARGETS = NOOPT|DEBUG|RELEASE
  24. SKUID_IDENTIFIER = DEFAULT
  25. FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf
  26. #
  27. # Defines for default states. These can be changed on the command line.
  28. # -D FLAG=VALUE
  29. #
  30. DEFINE SECURE_BOOT_ENABLE = FALSE
  31. DEFINE SMM_REQUIRE = FALSE
  32. DEFINE SOURCE_DEBUG_ENABLE = FALSE
  33. DEFINE LOAD_X64_ON_IA32_ENABLE = FALSE
  34. !include OvmfPkg/OvmfTpmDefines.dsc.inc
  35. #
  36. # Shell can be useful for debugging but should not be enabled for production
  37. #
  38. DEFINE BUILD_SHELL = TRUE
  39. #
  40. # Network definition
  41. #
  42. DEFINE NETWORK_TLS_ENABLE = FALSE
  43. DEFINE NETWORK_IP6_ENABLE = FALSE
  44. DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
  45. DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
  46. DEFINE NETWORK_ISCSI_ENABLE = TRUE
  47. !include NetworkPkg/NetworkDefines.dsc.inc
  48. #
  49. # Device drivers
  50. #
  51. DEFINE PVSCSI_ENABLE = FALSE
  52. DEFINE MPT_SCSI_ENABLE = FALSE
  53. DEFINE LSI_SCSI_ENABLE = FALSE
  54. #
  55. # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
  56. # one of the supported values, in place of any of the convenience macros, is
  57. # permitted.
  58. #
  59. !ifdef $(FD_SIZE_1MB)
  60. DEFINE FD_SIZE_IN_KB = 1024
  61. !else
  62. !ifdef $(FD_SIZE_2MB)
  63. DEFINE FD_SIZE_IN_KB = 2048
  64. !else
  65. !ifdef $(FD_SIZE_4MB)
  66. DEFINE FD_SIZE_IN_KB = 4096
  67. !else
  68. DEFINE FD_SIZE_IN_KB = 4096
  69. !endif
  70. !endif
  71. !endif
  72. [BuildOptions]
  73. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
  74. INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
  75. MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
  76. !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
  77. GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
  78. !endif
  79. RELEASE_*_*_GENFW_FLAGS = --zero
  80. #
  81. # Disable deprecated APIs.
  82. #
  83. MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
  84. INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
  85. GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
  86. #
  87. # SECURE_BOOT_FEATURE_ENABLED
  88. #
  89. !if $(SECURE_BOOT_ENABLE) == TRUE
  90. MSFT:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED
  91. INTEL:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED
  92. GCC:*_*_*_CC_FLAGS = -D SECURE_BOOT_FEATURE_ENABLED
  93. !endif
  94. !include NetworkPkg/NetworkBuildOptions.dsc.inc
  95. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  96. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  97. XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
  98. XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
  99. CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
  100. # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
  101. # protection of DXE_SMM_DRIVER/SMM_CORE modules
  102. [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
  103. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  104. XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
  105. XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
  106. CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
  107. ################################################################################
  108. #
  109. # SKU Identification section - list of all SKU IDs supported by this Platform.
  110. #
  111. ################################################################################
  112. [SkuIds]
  113. 0|DEFAULT
  114. ################################################################################
  115. #
  116. # Library Class section - list of all Library Classes needed by this Platform.
  117. #
  118. ################################################################################
  119. !include MdePkg/MdeLibs.dsc.inc
  120. [LibraryClasses]
  121. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  122. TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
  123. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
  124. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  125. BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
  126. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  127. SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  128. TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
  129. BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
  130. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  131. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  132. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  133. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  134. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  135. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  136. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  137. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  138. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  139. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  140. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  141. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  142. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  143. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  144. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  145. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  146. PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
  147. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  148. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  149. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  150. PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
  151. PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
  152. PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
  153. CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
  154. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
  155. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  156. SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
  157. MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  158. MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
  159. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  160. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  161. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  162. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  163. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  164. DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
  165. NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
  166. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  167. UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
  168. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  169. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  170. SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
  171. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
  172. QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
  173. VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
  174. LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
  175. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
  176. MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLibNull.inf
  177. PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
  178. DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
  179. !if $(SMM_REQUIRE) == FALSE
  180. LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
  181. !endif
  182. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  183. FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
  184. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  185. PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
  186. DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
  187. !else
  188. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  189. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  190. !endif
  191. LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
  192. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  193. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  194. !if $(NETWORK_TLS_ENABLE) == TRUE
  195. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  196. !else
  197. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
  198. !endif
  199. RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
  200. !if $(SECURE_BOOT_ENABLE) == TRUE
  201. PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
  202. AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
  203. SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  204. PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
  205. SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
  206. !else
  207. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  208. !endif
  209. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  210. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
  211. VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
  212. VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
  213. #
  214. # Network libraries
  215. #
  216. !include NetworkPkg/NetworkLibs.dsc.inc
  217. !if $(NETWORK_TLS_ENABLE) == TRUE
  218. TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
  219. !endif
  220. !if $(BUILD_SHELL) == TRUE
  221. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  222. !endif
  223. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  224. S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
  225. SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
  226. OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  227. !include OvmfPkg/OvmfTpmLibs.dsc.inc
  228. [LibraryClasses.common]
  229. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  230. VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
  231. [LibraryClasses.common.SEC]
  232. TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
  233. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
  234. !ifdef $(DEBUG_ON_SERIAL_PORT)
  235. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  236. !else
  237. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
  238. !endif
  239. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  240. ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
  241. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  242. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  243. !endif
  244. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  245. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  246. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  247. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  248. !if $(TOOL_CHAIN_TAG) == "XCODE5"
  249. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
  250. !else
  251. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  252. !endif
  253. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
  254. [LibraryClasses.common.PEI_CORE]
  255. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  256. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  257. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  258. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  259. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  260. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  261. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  262. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  263. !ifdef $(DEBUG_ON_SERIAL_PORT)
  264. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  265. !else
  266. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  267. !endif
  268. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  269. [LibraryClasses.common.PEIM]
  270. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  271. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  272. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  273. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  274. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  275. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  276. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  277. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  278. !ifdef $(DEBUG_ON_SERIAL_PORT)
  279. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  280. !else
  281. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  282. !endif
  283. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  284. ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
  285. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  286. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  287. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  288. !endif
  289. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  290. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  291. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
  292. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  293. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
  294. PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
  295. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
  296. [LibraryClasses.common.DXE_CORE]
  297. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  298. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  299. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  300. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  301. !ifdef $(DEBUG_ON_SERIAL_PORT)
  302. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  303. !else
  304. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  305. !endif
  306. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  307. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  308. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  309. !endif
  310. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  311. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  312. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  313. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  314. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  315. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  316. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  317. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  318. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  319. ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
  320. !ifdef $(DEBUG_ON_SERIAL_PORT)
  321. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  322. !else
  323. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  324. !endif
  325. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  326. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  327. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  328. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
  329. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
  330. !if $(SMM_REQUIRE) == TRUE
  331. MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
  332. !endif
  333. [LibraryClasses.common.UEFI_DRIVER]
  334. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  335. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  336. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  337. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  338. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  339. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  340. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  341. !ifdef $(DEBUG_ON_SERIAL_PORT)
  342. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  343. !else
  344. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  345. !endif
  346. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  347. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  348. [LibraryClasses.common.DXE_DRIVER]
  349. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  350. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  351. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  352. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  353. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  354. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  355. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  356. !ifdef $(DEBUG_ON_SERIAL_PORT)
  357. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  358. !else
  359. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  360. !endif
  361. PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  362. PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
  363. QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
  364. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  365. !if $(SMM_REQUIRE) == TRUE
  366. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
  367. !else
  368. LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
  369. !endif
  370. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  371. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  372. !endif
  373. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  374. MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  375. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
  376. QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
  377. [LibraryClasses.common.UEFI_APPLICATION]
  378. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  379. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  380. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  381. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  382. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  383. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  384. !ifdef $(DEBUG_ON_SERIAL_PORT)
  385. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  386. !else
  387. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  388. !endif
  389. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  390. [LibraryClasses.common.DXE_SMM_DRIVER]
  391. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  392. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  393. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  394. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  395. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  396. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  397. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  398. MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
  399. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  400. !ifdef $(DEBUG_ON_SERIAL_PORT)
  401. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  402. !else
  403. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  404. !endif
  405. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  406. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  407. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
  408. !endif
  409. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  410. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  411. SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
  412. [LibraryClasses.common.SMM_CORE]
  413. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  414. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  415. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  416. SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
  417. MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
  418. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  419. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  420. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  421. SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
  422. !ifdef $(DEBUG_ON_SERIAL_PORT)
  423. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  424. !else
  425. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  426. !endif
  427. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  428. ################################################################################
  429. #
  430. # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
  431. #
  432. ################################################################################
  433. [PcdsFeatureFlag]
  434. gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
  435. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
  436. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
  437. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  438. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  439. gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
  440. !ifdef $(CSM_ENABLE)
  441. gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
  442. !endif
  443. !if $(SMM_REQUIRE) == TRUE
  444. gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
  445. gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
  446. gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
  447. !endif
  448. [PcdsFixedAtBuild]
  449. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
  450. !if $(SMM_REQUIRE) == FALSE
  451. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  452. !endif
  453. gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
  454. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
  455. !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
  456. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  457. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
  458. !if $(NETWORK_TLS_ENABLE) == FALSE
  459. # match PcdFlashNvStorageVariableSize purely for convenience
  460. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
  461. !endif
  462. !endif
  463. !if $(FD_SIZE_IN_KB) == 4096
  464. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
  465. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
  466. !if $(NETWORK_TLS_ENABLE) == FALSE
  467. # match PcdFlashNvStorageVariableSize purely for convenience
  468. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
  469. !endif
  470. !endif
  471. !if $(NETWORK_TLS_ENABLE) == TRUE
  472. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
  473. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
  474. !endif
  475. gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
  476. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  477. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
  478. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  479. # DEBUG_INIT 0x00000001 // Initialization
  480. # DEBUG_WARN 0x00000002 // Warnings
  481. # DEBUG_LOAD 0x00000004 // Load events
  482. # DEBUG_FS 0x00000008 // EFI File system
  483. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  484. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  485. # DEBUG_INFO 0x00000040 // Informational debug messages
  486. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  487. # DEBUG_VARIABLE 0x00000100 // Variable
  488. # DEBUG_BM 0x00000400 // Boot Manager
  489. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  490. # DEBUG_NET 0x00004000 // SNP Driver
  491. # DEBUG_UNDI 0x00010000 // UNDI Driver
  492. # DEBUG_LOADFILE 0x00020000 // LoadFile
  493. # DEBUG_EVENT 0x00080000 // Event messages
  494. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  495. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  496. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  497. # // significantly impact boot performance
  498. # DEBUG_ERROR 0x80000000 // Error
  499. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
  500. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  501. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
  502. !else
  503. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
  504. !endif
  505. # This PCD is used to set the base address of the PCI express hierarchy. It
  506. # is only consulted when OVMF runs on Q35. In that case it is programmed into
  507. # the PCIEXBAR register.
  508. #
  509. # On Q35 machine types that QEMU intends to support in the long term, QEMU
  510. # never lets the RAM below 4 GB exceed 2816 MB.
  511. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
  512. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  513. gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
  514. !endif
  515. #
  516. # The NumberOfPages values below are ad-hoc. They are updated sporadically at
  517. # best (please refer to git-blame for past updates). The values capture a set
  518. # of BIN hints that made sense at a particular time, for some (now likely
  519. # unknown) workloads / boot paths.
  520. #
  521. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
  522. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x12
  523. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
  524. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
  525. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
  526. #
  527. # Network Pcds
  528. #
  529. !include NetworkPkg/NetworkPcds.dsc.inc
  530. gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
  531. !if $(SMM_REQUIRE) == TRUE
  532. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
  533. !endif
  534. # IRQs 5, 9, 10, 11 are level-triggered
  535. gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
  536. # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
  537. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  538. ################################################################################
  539. #
  540. # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
  541. #
  542. ################################################################################
  543. [PcdsDynamicDefault]
  544. # only set when
  545. # ($(SMM_REQUIRE) == FALSE)
  546. gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
  547. !if $(SMM_REQUIRE) == FALSE
  548. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
  549. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
  550. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
  551. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
  552. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
  553. !endif
  554. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
  555. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
  556. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
  557. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
  558. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
  559. gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
  560. gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
  561. gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
  562. gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
  563. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
  564. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
  565. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
  566. # Set video resolution for text setup.
  567. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
  568. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
  569. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
  570. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
  571. gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
  572. # Noexec settings for DXE.
  573. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
  574. # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
  575. gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
  576. gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
  577. # Set memory encryption mask
  578. gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
  579. # Set Tdx shared bit mask
  580. gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
  581. # Set SEV-ES defaults
  582. gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
  583. gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
  584. gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
  585. !if $(SMM_REQUIRE) == TRUE
  586. gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
  587. gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
  588. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
  589. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
  590. !endif
  591. gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
  592. !include OvmfPkg/OvmfTpmPcds.dsc.inc
  593. # IPv4 and IPv6 PXE Boot support.
  594. gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
  595. gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
  596. # Set ConfidentialComputing defaults
  597. gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
  598. !if $(CSM_ENABLE) == FALSE
  599. gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
  600. !endif
  601. [PcdsDynamicHii]
  602. !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc
  603. ################################################################################
  604. #
  605. # Components Section - list of all EDK II Modules needed by this Platform.
  606. #
  607. ################################################################################
  608. [Components]
  609. OvmfPkg/ResetVector/ResetVector.inf
  610. #
  611. # SEC Phase modules
  612. #
  613. OvmfPkg/Sec/SecMain.inf {
  614. <LibraryClasses>
  615. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  616. }
  617. #
  618. # PEI Phase modules
  619. #
  620. MdeModulePkg/Core/Pei/PeiMain.inf
  621. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  622. <LibraryClasses>
  623. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  624. }
  625. MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
  626. <LibraryClasses>
  627. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  628. }
  629. MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
  630. <LibraryClasses>
  631. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  632. }
  633. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
  634. OvmfPkg/PlatformPei/PlatformPei.inf
  635. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
  636. <LibraryClasses>
  637. !if $(SMM_REQUIRE) == TRUE
  638. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
  639. !endif
  640. }
  641. !if $(SMM_REQUIRE) == TRUE
  642. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  643. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  644. OvmfPkg/SmmAccess/SmmAccessPei.inf
  645. !endif
  646. UefiCpuPkg/CpuMpPei/CpuMpPei.inf
  647. !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc
  648. #
  649. # DXE Phase modules
  650. #
  651. MdeModulePkg/Core/Dxe/DxeMain.inf {
  652. <LibraryClasses>
  653. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  654. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  655. }
  656. MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
  657. MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
  658. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  659. <LibraryClasses>
  660. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  661. }
  662. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  663. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
  664. <LibraryClasses>
  665. !if $(SECURE_BOOT_ENABLE) == TRUE
  666. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  667. !endif
  668. !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
  669. }
  670. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  671. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  672. UefiCpuPkg/CpuDxe/CpuDxe.inf
  673. !ifdef $(CSM_ENABLE)
  674. OvmfPkg/8259InterruptControllerDxe/8259.inf
  675. OvmfPkg/8254TimerDxe/8254Timer.inf
  676. !else
  677. OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
  678. !endif
  679. OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
  680. OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
  681. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  682. <LibraryClasses>
  683. PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
  684. PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
  685. NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
  686. }
  687. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
  688. <LibraryClasses>
  689. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  690. }
  691. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  692. MdeModulePkg/Universal/Metronome/Metronome.inf
  693. PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
  694. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  695. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
  696. <LibraryClasses>
  697. XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
  698. !ifdef $(CSM_ENABLE)
  699. NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
  700. NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
  701. !endif
  702. }
  703. MdeModulePkg/Logo/LogoDxe.inf
  704. MdeModulePkg/Application/UiApp/UiApp.inf {
  705. <LibraryClasses>
  706. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  707. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  708. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  709. !ifdef $(CSM_ENABLE)
  710. NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
  711. NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
  712. !endif
  713. }
  714. OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
  715. <LibraryClasses>
  716. NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
  717. }
  718. OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
  719. OvmfPkg/Virtio10Dxe/Virtio10.inf
  720. OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
  721. OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
  722. OvmfPkg/VirtioRngDxe/VirtioRng.inf
  723. !if $(PVSCSI_ENABLE) == TRUE
  724. OvmfPkg/PvScsiDxe/PvScsiDxe.inf
  725. !endif
  726. !if $(MPT_SCSI_ENABLE) == TRUE
  727. OvmfPkg/MptScsiDxe/MptScsiDxe.inf
  728. !endif
  729. !if $(LSI_SCSI_ENABLE) == TRUE
  730. OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
  731. !endif
  732. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  733. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  734. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  735. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  736. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  737. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
  738. <LibraryClasses>
  739. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  740. }
  741. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  742. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  743. <LibraryClasses>
  744. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  745. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  746. }
  747. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  748. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  749. MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
  750. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  751. FatPkg/EnhancedFatDxe/Fat.inf
  752. MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
  753. OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
  754. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  755. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  756. OvmfPkg/SataControllerDxe/SataControllerDxe.inf
  757. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  758. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  759. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  760. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  761. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  762. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  763. MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
  764. !ifndef $(CSM_ENABLE)
  765. OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
  766. !endif
  767. OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
  768. OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
  769. #
  770. # ISA Support
  771. #
  772. OvmfPkg/SioBusDxe/SioBusDxe.inf
  773. MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
  774. MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
  775. #
  776. # SMBIOS Support
  777. #
  778. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
  779. <LibraryClasses>
  780. NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
  781. }
  782. OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
  783. #
  784. # ACPI Support
  785. #
  786. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  787. OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
  788. MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
  789. MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
  790. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  791. #
  792. # Network Support
  793. #
  794. !include NetworkPkg/NetworkComponents.dsc.inc
  795. !include OvmfPkg/NetworkComponents.dsc.inc
  796. OvmfPkg/VirtioNetDxe/VirtioNet.inf
  797. #
  798. # Usb Support
  799. #
  800. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  801. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  802. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  803. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  804. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  805. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  806. !ifdef $(CSM_ENABLE)
  807. OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
  808. <LibraryClasses>
  809. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  810. }
  811. OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
  812. OvmfPkg/Csm/Csm16/Csm16.inf
  813. !endif
  814. !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
  815. ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
  816. <PcdsFixedAtBuild>
  817. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  818. }
  819. ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
  820. <PcdsFixedAtBuild>
  821. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  822. }
  823. OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
  824. <PcdsFixedAtBuild>
  825. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  826. }
  827. !endif
  828. !if $(BUILD_SHELL) == TRUE
  829. ShellPkg/Application/Shell/Shell.inf {
  830. <LibraryClasses>
  831. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  832. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  833. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  834. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  835. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  836. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  837. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  838. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  839. !if $(NETWORK_IP6_ENABLE) == TRUE
  840. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  841. !endif
  842. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  843. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  844. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  845. <PcdsFixedAtBuild>
  846. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  847. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  848. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  849. }
  850. !endif
  851. !if $(SECURE_BOOT_ENABLE) == TRUE
  852. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  853. OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
  854. !endif
  855. OvmfPkg/PlatformDxe/Platform.inf
  856. OvmfPkg/IoMmuDxe/IoMmuDxe.inf
  857. !if $(SMM_REQUIRE) == TRUE
  858. OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
  859. OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
  860. OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  861. #
  862. # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
  863. #
  864. MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
  865. #
  866. # SMM_CORE
  867. #
  868. MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
  869. #
  870. # Privileged drivers (DXE_SMM_DRIVER modules)
  871. #
  872. OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
  873. UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
  874. MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
  875. <LibraryClasses>
  876. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
  877. }
  878. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  879. <LibraryClasses>
  880. SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
  881. SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  882. }
  883. #
  884. # Variable driver stack (SMM)
  885. #
  886. OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf {
  887. <LibraryClasses>
  888. VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
  889. }
  890. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
  891. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
  892. <LibraryClasses>
  893. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  894. NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
  895. }
  896. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
  897. !else
  898. #
  899. # Variable driver stack (non-SMM)
  900. #
  901. OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
  902. OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
  903. <LibraryClasses>
  904. PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
  905. }
  906. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  907. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  908. <LibraryClasses>
  909. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  910. }
  911. !endif
  912. #
  913. # TPM support
  914. #
  915. !include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc
  916. !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
  917. OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf
  918. !endif