OvmfPkgIa32.dsc 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023
  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/Include/Dsc/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/Include/Dsc/OvmfTpmLibs.dsc.inc
  228. [LibraryClasses.common]
  229. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  230. CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
  231. TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLibNull.inf
  232. [LibraryClasses.common.SEC]
  233. TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
  234. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
  235. !ifdef $(DEBUG_ON_SERIAL_PORT)
  236. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  237. !else
  238. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
  239. !endif
  240. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  241. ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
  242. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  243. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  244. !endif
  245. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  246. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  247. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  248. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  249. !if $(TOOL_CHAIN_TAG) == "XCODE5"
  250. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
  251. !else
  252. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  253. !endif
  254. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
  255. [LibraryClasses.common.PEI_CORE]
  256. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  257. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  258. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  259. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  260. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  261. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  262. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  263. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  264. !ifdef $(DEBUG_ON_SERIAL_PORT)
  265. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  266. !else
  267. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
  268. !endif
  269. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  270. [LibraryClasses.common.PEIM]
  271. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  272. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  273. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  274. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  275. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  276. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  277. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  278. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  279. !ifdef $(DEBUG_ON_SERIAL_PORT)
  280. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  281. !else
  282. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
  283. !endif
  284. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  285. ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
  286. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  287. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  288. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  289. !endif
  290. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  291. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  292. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
  293. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  294. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
  295. PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
  296. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
  297. [LibraryClasses.common.DXE_CORE]
  298. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  299. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  300. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  301. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  302. !ifdef $(DEBUG_ON_SERIAL_PORT)
  303. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  304. !else
  305. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  306. !endif
  307. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  308. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  309. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  310. !endif
  311. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  312. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  313. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  314. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  315. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  316. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  317. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  318. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  319. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  320. ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
  321. !ifdef $(DEBUG_ON_SERIAL_PORT)
  322. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  323. !else
  324. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  325. !endif
  326. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  327. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  328. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  329. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
  330. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
  331. !if $(SMM_REQUIRE) == TRUE
  332. MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
  333. !endif
  334. [LibraryClasses.common.UEFI_DRIVER]
  335. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  336. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  337. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  338. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  339. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  340. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  341. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  342. !ifdef $(DEBUG_ON_SERIAL_PORT)
  343. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  344. !else
  345. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  346. !endif
  347. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  348. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  349. [LibraryClasses.common.DXE_DRIVER]
  350. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  351. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  352. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  353. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  354. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  355. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  356. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  357. !ifdef $(DEBUG_ON_SERIAL_PORT)
  358. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  359. !else
  360. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  361. !endif
  362. PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  363. PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
  364. QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
  365. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  366. !if $(SMM_REQUIRE) == TRUE
  367. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
  368. !else
  369. LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
  370. !endif
  371. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  372. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  373. !endif
  374. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  375. MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  376. NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf
  377. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
  378. QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
  379. [LibraryClasses.common.UEFI_APPLICATION]
  380. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  381. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  382. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  383. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  384. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  385. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  386. !ifdef $(DEBUG_ON_SERIAL_PORT)
  387. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  388. !else
  389. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  390. !endif
  391. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  392. [LibraryClasses.common.DXE_SMM_DRIVER]
  393. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  394. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  395. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  396. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  397. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  398. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  399. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  400. MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
  401. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  402. !ifdef $(DEBUG_ON_SERIAL_PORT)
  403. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  404. !else
  405. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  406. !endif
  407. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  408. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  409. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
  410. !endif
  411. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  412. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  413. SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
  414. [LibraryClasses.common.SMM_CORE]
  415. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  416. TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  417. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  418. SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
  419. MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
  420. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  421. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  422. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  423. SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
  424. !ifdef $(DEBUG_ON_SERIAL_PORT)
  425. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  426. !else
  427. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  428. !endif
  429. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  430. ################################################################################
  431. #
  432. # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
  433. #
  434. ################################################################################
  435. [PcdsFeatureFlag]
  436. gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
  437. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
  438. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
  439. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  440. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  441. gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
  442. !ifdef $(CSM_ENABLE)
  443. gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
  444. !endif
  445. !if $(SMM_REQUIRE) == TRUE
  446. gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
  447. gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
  448. gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
  449. !endif
  450. [PcdsFixedAtBuild]
  451. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
  452. !if $(SMM_REQUIRE) == FALSE
  453. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  454. !endif
  455. gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
  456. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
  457. !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
  458. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  459. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
  460. !if $(NETWORK_TLS_ENABLE) == FALSE
  461. # match PcdFlashNvStorageVariableSize purely for convenience
  462. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
  463. !endif
  464. !endif
  465. !if $(FD_SIZE_IN_KB) == 4096
  466. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
  467. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
  468. !if $(NETWORK_TLS_ENABLE) == FALSE
  469. # match PcdFlashNvStorageVariableSize purely for convenience
  470. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
  471. !endif
  472. !endif
  473. !if $(NETWORK_TLS_ENABLE) == TRUE
  474. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
  475. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
  476. !endif
  477. gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
  478. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  479. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
  480. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  481. # DEBUG_INIT 0x00000001 // Initialization
  482. # DEBUG_WARN 0x00000002 // Warnings
  483. # DEBUG_LOAD 0x00000004 // Load events
  484. # DEBUG_FS 0x00000008 // EFI File system
  485. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  486. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  487. # DEBUG_INFO 0x00000040 // Informational debug messages
  488. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  489. # DEBUG_VARIABLE 0x00000100 // Variable
  490. # DEBUG_BM 0x00000400 // Boot Manager
  491. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  492. # DEBUG_NET 0x00004000 // SNP Driver
  493. # DEBUG_UNDI 0x00010000 // UNDI Driver
  494. # DEBUG_LOADFILE 0x00020000 // LoadFile
  495. # DEBUG_EVENT 0x00080000 // Event messages
  496. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  497. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  498. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  499. # // significantly impact boot performance
  500. # DEBUG_ERROR 0x80000000 // Error
  501. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
  502. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  503. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
  504. !else
  505. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
  506. !endif
  507. # This PCD is used to set the base address of the PCI express hierarchy. It
  508. # is only consulted when OVMF runs on Q35. In that case it is programmed into
  509. # the PCIEXBAR register.
  510. #
  511. # On Q35 machine types that QEMU intends to support in the long term, QEMU
  512. # never lets the RAM below 4 GB exceed 2816 MB.
  513. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
  514. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  515. gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
  516. !endif
  517. #
  518. # The NumberOfPages values below are ad-hoc. They are updated sporadically at
  519. # best (please refer to git-blame for past updates). The values capture a set
  520. # of BIN hints that made sense at a particular time, for some (now likely
  521. # unknown) workloads / boot paths.
  522. #
  523. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
  524. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x12
  525. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
  526. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
  527. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
  528. #
  529. # Network Pcds
  530. #
  531. !include NetworkPkg/NetworkPcds.dsc.inc
  532. gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
  533. !if $(SMM_REQUIRE) == TRUE
  534. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
  535. !endif
  536. # IRQs 5, 9, 10, 11 are level-triggered
  537. gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
  538. # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
  539. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  540. ################################################################################
  541. #
  542. # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
  543. #
  544. ################################################################################
  545. [PcdsDynamicDefault]
  546. # only set when
  547. # ($(SMM_REQUIRE) == FALSE)
  548. gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
  549. !if $(SMM_REQUIRE) == FALSE
  550. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
  551. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
  552. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
  553. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
  554. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
  555. !endif
  556. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
  557. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
  558. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
  559. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
  560. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
  561. gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
  562. gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
  563. gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
  564. gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
  565. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
  566. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
  567. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
  568. # Set video resolution for text setup.
  569. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
  570. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
  571. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
  572. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
  573. gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
  574. # Noexec settings for DXE.
  575. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
  576. # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
  577. gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
  578. gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
  579. # Set memory encryption mask
  580. gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
  581. # Set Tdx shared bit mask
  582. gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
  583. # Set SEV-ES defaults
  584. gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
  585. gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
  586. gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
  587. !if $(SMM_REQUIRE) == TRUE
  588. gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
  589. gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
  590. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
  591. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
  592. !endif
  593. gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
  594. !include OvmfPkg/Include/Dsc/OvmfTpmPcds.dsc.inc
  595. # IPv4 and IPv6 PXE Boot support.
  596. gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
  597. gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
  598. # Set ConfidentialComputing defaults
  599. gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
  600. !if $(CSM_ENABLE) == FALSE
  601. gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
  602. !endif
  603. [PcdsDynamicHii]
  604. !include OvmfPkg/Include/Dsc/OvmfTpmPcdsHii.dsc.inc
  605. ################################################################################
  606. #
  607. # Components Section - list of all EDK II Modules needed by this Platform.
  608. #
  609. ################################################################################
  610. [Components]
  611. OvmfPkg/ResetVector/ResetVector.inf
  612. #
  613. # SEC Phase modules
  614. #
  615. OvmfPkg/Sec/SecMain.inf {
  616. <LibraryClasses>
  617. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  618. }
  619. #
  620. # PEI Phase modules
  621. #
  622. MdeModulePkg/Core/Pei/PeiMain.inf
  623. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  624. <LibraryClasses>
  625. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  626. }
  627. MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
  628. <LibraryClasses>
  629. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  630. }
  631. MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
  632. <LibraryClasses>
  633. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  634. }
  635. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
  636. OvmfPkg/PlatformPei/PlatformPei.inf
  637. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
  638. <LibraryClasses>
  639. !if $(SMM_REQUIRE) == TRUE
  640. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
  641. !endif
  642. }
  643. !if $(SMM_REQUIRE) == TRUE
  644. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  645. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  646. OvmfPkg/SmmAccess/SmmAccessPei.inf
  647. !endif
  648. UefiCpuPkg/CpuMpPei/CpuMpPei.inf
  649. !include OvmfPkg/Include/Dsc/OvmfTpmComponentsPei.dsc.inc
  650. #
  651. # DXE Phase modules
  652. #
  653. MdeModulePkg/Core/Dxe/DxeMain.inf {
  654. <LibraryClasses>
  655. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  656. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  657. }
  658. MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
  659. MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
  660. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  661. <LibraryClasses>
  662. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  663. }
  664. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  665. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
  666. <LibraryClasses>
  667. !if $(SECURE_BOOT_ENABLE) == TRUE
  668. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  669. !endif
  670. !include OvmfPkg/Include/Dsc/OvmfTpmSecurityStub.dsc.inc
  671. }
  672. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  673. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  674. UefiCpuPkg/CpuDxe/CpuDxe.inf
  675. !ifdef $(CSM_ENABLE)
  676. OvmfPkg/8259InterruptControllerDxe/8259.inf
  677. OvmfPkg/8254TimerDxe/8254Timer.inf
  678. !else
  679. OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
  680. !endif
  681. OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
  682. OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
  683. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  684. <LibraryClasses>
  685. PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
  686. PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
  687. NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
  688. }
  689. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
  690. <LibraryClasses>
  691. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  692. }
  693. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  694. MdeModulePkg/Universal/Metronome/Metronome.inf
  695. PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
  696. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  697. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
  698. <LibraryClasses>
  699. XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
  700. !ifdef $(CSM_ENABLE)
  701. NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
  702. NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
  703. !endif
  704. }
  705. MdeModulePkg/Logo/LogoDxe.inf
  706. MdeModulePkg/Application/UiApp/UiApp.inf {
  707. <LibraryClasses>
  708. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  709. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  710. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  711. !ifdef $(CSM_ENABLE)
  712. NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
  713. NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
  714. !endif
  715. }
  716. OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
  717. <LibraryClasses>
  718. NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
  719. }
  720. OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
  721. OvmfPkg/Virtio10Dxe/Virtio10.inf
  722. OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
  723. OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
  724. OvmfPkg/VirtioRngDxe/VirtioRng.inf
  725. !if $(PVSCSI_ENABLE) == TRUE
  726. OvmfPkg/PvScsiDxe/PvScsiDxe.inf
  727. !endif
  728. !if $(MPT_SCSI_ENABLE) == TRUE
  729. OvmfPkg/MptScsiDxe/MptScsiDxe.inf
  730. !endif
  731. !if $(LSI_SCSI_ENABLE) == TRUE
  732. OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
  733. !endif
  734. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  735. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  736. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  737. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  738. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  739. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
  740. <LibraryClasses>
  741. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  742. }
  743. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  744. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  745. <LibraryClasses>
  746. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  747. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  748. }
  749. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  750. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  751. MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
  752. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  753. FatPkg/EnhancedFatDxe/Fat.inf
  754. MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
  755. OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
  756. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  757. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  758. OvmfPkg/SataControllerDxe/SataControllerDxe.inf
  759. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  760. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  761. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  762. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  763. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  764. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  765. MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
  766. !ifndef $(CSM_ENABLE)
  767. OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
  768. !endif
  769. OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
  770. OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
  771. #
  772. # ISA Support
  773. #
  774. OvmfPkg/SioBusDxe/SioBusDxe.inf
  775. MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
  776. MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
  777. #
  778. # SMBIOS Support
  779. #
  780. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
  781. <LibraryClasses>
  782. NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
  783. }
  784. OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
  785. #
  786. # ACPI Support
  787. #
  788. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  789. OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
  790. MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
  791. MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
  792. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  793. #
  794. # Network Support
  795. #
  796. !include NetworkPkg/NetworkComponents.dsc.inc
  797. !include OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc
  798. OvmfPkg/VirtioNetDxe/VirtioNet.inf
  799. #
  800. # Usb Support
  801. #
  802. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  803. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  804. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  805. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  806. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  807. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  808. !ifdef $(CSM_ENABLE)
  809. OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
  810. <LibraryClasses>
  811. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  812. }
  813. OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
  814. OvmfPkg/Csm/Csm16/Csm16.inf
  815. !endif
  816. !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
  817. ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
  818. <PcdsFixedAtBuild>
  819. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  820. }
  821. ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
  822. <PcdsFixedAtBuild>
  823. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  824. }
  825. OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
  826. <PcdsFixedAtBuild>
  827. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  828. }
  829. !endif
  830. !if $(BUILD_SHELL) == TRUE
  831. ShellPkg/Application/Shell/Shell.inf {
  832. <LibraryClasses>
  833. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  834. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  835. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  836. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  837. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  838. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  839. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  840. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  841. !if $(NETWORK_IP6_ENABLE) == TRUE
  842. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  843. !endif
  844. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  845. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  846. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  847. <PcdsFixedAtBuild>
  848. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  849. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  850. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  851. }
  852. !endif
  853. !if $(SECURE_BOOT_ENABLE) == TRUE
  854. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  855. OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
  856. !endif
  857. OvmfPkg/PlatformDxe/Platform.inf
  858. OvmfPkg/IoMmuDxe/IoMmuDxe.inf
  859. !if $(SMM_REQUIRE) == TRUE
  860. OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
  861. OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
  862. OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  863. #
  864. # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
  865. #
  866. MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
  867. #
  868. # SMM_CORE
  869. #
  870. MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
  871. #
  872. # Privileged drivers (DXE_SMM_DRIVER modules)
  873. #
  874. OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
  875. UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
  876. MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
  877. <LibraryClasses>
  878. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
  879. }
  880. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  881. <LibraryClasses>
  882. SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
  883. SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  884. }
  885. #
  886. # Variable driver stack (SMM)
  887. #
  888. OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf {
  889. <LibraryClasses>
  890. CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
  891. }
  892. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
  893. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
  894. <LibraryClasses>
  895. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  896. NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
  897. }
  898. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
  899. !else
  900. #
  901. # Variable driver stack (non-SMM)
  902. #
  903. OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
  904. OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
  905. <LibraryClasses>
  906. PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
  907. }
  908. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  909. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  910. <LibraryClasses>
  911. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  912. }
  913. !endif
  914. #
  915. # TPM support
  916. #
  917. !include OvmfPkg/Include/Dsc/OvmfTpmComponentsDxe.dsc.inc
  918. !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
  919. OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf
  920. !endif