OvmfPkgIa32.dsc 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026
  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. !if $(SECURE_BOOT_ENABLE) == TRUE
  451. gEfiMdeModulePkgTokenSpaceGuid.PcdRequireSelfSignedPk|TRUE
  452. !endif
  453. [PcdsFixedAtBuild]
  454. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
  455. !if $(SMM_REQUIRE) == FALSE
  456. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  457. !endif
  458. gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
  459. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
  460. !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
  461. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  462. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
  463. !if $(NETWORK_TLS_ENABLE) == FALSE
  464. # match PcdFlashNvStorageVariableSize purely for convenience
  465. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
  466. !endif
  467. !endif
  468. !if $(FD_SIZE_IN_KB) == 4096
  469. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
  470. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
  471. !if $(NETWORK_TLS_ENABLE) == FALSE
  472. # match PcdFlashNvStorageVariableSize purely for convenience
  473. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
  474. !endif
  475. !endif
  476. !if $(NETWORK_TLS_ENABLE) == TRUE
  477. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
  478. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
  479. !endif
  480. gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
  481. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  482. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
  483. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  484. # DEBUG_INIT 0x00000001 // Initialization
  485. # DEBUG_WARN 0x00000002 // Warnings
  486. # DEBUG_LOAD 0x00000004 // Load events
  487. # DEBUG_FS 0x00000008 // EFI File system
  488. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  489. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  490. # DEBUG_INFO 0x00000040 // Informational debug messages
  491. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  492. # DEBUG_VARIABLE 0x00000100 // Variable
  493. # DEBUG_BM 0x00000400 // Boot Manager
  494. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  495. # DEBUG_NET 0x00004000 // SNP Driver
  496. # DEBUG_UNDI 0x00010000 // UNDI Driver
  497. # DEBUG_LOADFILE 0x00020000 // LoadFile
  498. # DEBUG_EVENT 0x00080000 // Event messages
  499. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  500. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  501. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  502. # // significantly impact boot performance
  503. # DEBUG_ERROR 0x80000000 // Error
  504. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
  505. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  506. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
  507. !else
  508. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
  509. !endif
  510. # This PCD is used to set the base address of the PCI express hierarchy. It
  511. # is only consulted when OVMF runs on Q35. In that case it is programmed into
  512. # the PCIEXBAR register.
  513. #
  514. # On Q35 machine types that QEMU intends to support in the long term, QEMU
  515. # never lets the RAM below 4 GB exceed 2816 MB.
  516. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
  517. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  518. gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
  519. !endif
  520. #
  521. # The NumberOfPages values below are ad-hoc. They are updated sporadically at
  522. # best (please refer to git-blame for past updates). The values capture a set
  523. # of BIN hints that made sense at a particular time, for some (now likely
  524. # unknown) workloads / boot paths.
  525. #
  526. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
  527. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x12
  528. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
  529. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
  530. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
  531. #
  532. # Network Pcds
  533. #
  534. !include NetworkPkg/NetworkPcds.dsc.inc
  535. gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
  536. !if $(SMM_REQUIRE) == TRUE
  537. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
  538. !endif
  539. # IRQs 5, 9, 10, 11 are level-triggered
  540. gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
  541. # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
  542. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  543. ################################################################################
  544. #
  545. # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
  546. #
  547. ################################################################################
  548. [PcdsDynamicDefault]
  549. # only set when
  550. # ($(SMM_REQUIRE) == FALSE)
  551. gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
  552. !if $(SMM_REQUIRE) == FALSE
  553. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
  554. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
  555. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
  556. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
  557. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
  558. !endif
  559. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
  560. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
  561. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
  562. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
  563. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
  564. gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
  565. gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
  566. gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
  567. gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
  568. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
  569. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
  570. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
  571. # Set video resolution for text setup.
  572. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
  573. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
  574. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
  575. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
  576. gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
  577. # Noexec settings for DXE.
  578. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
  579. # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
  580. gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
  581. gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
  582. # Set memory encryption mask
  583. gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
  584. # Set Tdx shared bit mask
  585. gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
  586. # Set SEV-ES defaults
  587. gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
  588. gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
  589. gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
  590. !if $(SMM_REQUIRE) == TRUE
  591. gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
  592. gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
  593. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
  594. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
  595. !endif
  596. gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
  597. !include OvmfPkg/Include/Dsc/OvmfTpmPcds.dsc.inc
  598. # IPv4 and IPv6 PXE Boot support.
  599. gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
  600. gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
  601. # Set ConfidentialComputing defaults
  602. gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
  603. !if $(CSM_ENABLE) == FALSE
  604. gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
  605. !endif
  606. [PcdsDynamicHii]
  607. !include OvmfPkg/Include/Dsc/OvmfTpmPcdsHii.dsc.inc
  608. ################################################################################
  609. #
  610. # Components Section - list of all EDK II Modules needed by this Platform.
  611. #
  612. ################################################################################
  613. [Components]
  614. OvmfPkg/ResetVector/ResetVector.inf
  615. #
  616. # SEC Phase modules
  617. #
  618. OvmfPkg/Sec/SecMain.inf {
  619. <LibraryClasses>
  620. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  621. }
  622. #
  623. # PEI Phase modules
  624. #
  625. MdeModulePkg/Core/Pei/PeiMain.inf
  626. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  627. <LibraryClasses>
  628. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  629. }
  630. MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
  631. <LibraryClasses>
  632. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  633. }
  634. MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
  635. <LibraryClasses>
  636. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  637. }
  638. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
  639. OvmfPkg/PlatformPei/PlatformPei.inf
  640. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
  641. <LibraryClasses>
  642. !if $(SMM_REQUIRE) == TRUE
  643. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
  644. !endif
  645. }
  646. !if $(SMM_REQUIRE) == TRUE
  647. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  648. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  649. OvmfPkg/SmmAccess/SmmAccessPei.inf
  650. !endif
  651. UefiCpuPkg/CpuMpPei/CpuMpPei.inf
  652. !include OvmfPkg/Include/Dsc/OvmfTpmComponentsPei.dsc.inc
  653. #
  654. # DXE Phase modules
  655. #
  656. MdeModulePkg/Core/Dxe/DxeMain.inf {
  657. <LibraryClasses>
  658. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  659. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  660. }
  661. MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
  662. MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
  663. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  664. <LibraryClasses>
  665. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  666. }
  667. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  668. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
  669. <LibraryClasses>
  670. !if $(SECURE_BOOT_ENABLE) == TRUE
  671. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  672. !endif
  673. !include OvmfPkg/Include/Dsc/OvmfTpmSecurityStub.dsc.inc
  674. }
  675. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  676. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  677. UefiCpuPkg/CpuDxe/CpuDxe.inf
  678. !ifdef $(CSM_ENABLE)
  679. OvmfPkg/8259InterruptControllerDxe/8259.inf
  680. OvmfPkg/8254TimerDxe/8254Timer.inf
  681. !else
  682. OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
  683. !endif
  684. OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
  685. OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
  686. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  687. <LibraryClasses>
  688. PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
  689. PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
  690. NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
  691. }
  692. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
  693. <LibraryClasses>
  694. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  695. }
  696. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  697. MdeModulePkg/Universal/Metronome/Metronome.inf
  698. PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
  699. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  700. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
  701. <LibraryClasses>
  702. XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
  703. !ifdef $(CSM_ENABLE)
  704. NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
  705. NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
  706. !endif
  707. }
  708. MdeModulePkg/Logo/LogoDxe.inf
  709. MdeModulePkg/Application/UiApp/UiApp.inf {
  710. <LibraryClasses>
  711. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  712. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  713. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  714. !ifdef $(CSM_ENABLE)
  715. NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
  716. NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
  717. !endif
  718. }
  719. OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
  720. <LibraryClasses>
  721. NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
  722. }
  723. OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
  724. OvmfPkg/Virtio10Dxe/Virtio10.inf
  725. OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
  726. OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
  727. OvmfPkg/VirtioRngDxe/VirtioRng.inf
  728. !if $(PVSCSI_ENABLE) == TRUE
  729. OvmfPkg/PvScsiDxe/PvScsiDxe.inf
  730. !endif
  731. !if $(MPT_SCSI_ENABLE) == TRUE
  732. OvmfPkg/MptScsiDxe/MptScsiDxe.inf
  733. !endif
  734. !if $(LSI_SCSI_ENABLE) == TRUE
  735. OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
  736. !endif
  737. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  738. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  739. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  740. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  741. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  742. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
  743. <LibraryClasses>
  744. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  745. }
  746. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  747. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  748. <LibraryClasses>
  749. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  750. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  751. }
  752. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  753. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  754. MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
  755. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  756. FatPkg/EnhancedFatDxe/Fat.inf
  757. MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
  758. OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
  759. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  760. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  761. OvmfPkg/SataControllerDxe/SataControllerDxe.inf
  762. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  763. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  764. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  765. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  766. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  767. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  768. MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
  769. !ifndef $(CSM_ENABLE)
  770. OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
  771. !endif
  772. OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
  773. OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
  774. #
  775. # ISA Support
  776. #
  777. OvmfPkg/SioBusDxe/SioBusDxe.inf
  778. MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
  779. MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
  780. #
  781. # SMBIOS Support
  782. #
  783. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
  784. <LibraryClasses>
  785. NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
  786. }
  787. OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
  788. #
  789. # ACPI Support
  790. #
  791. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  792. OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
  793. MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
  794. MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
  795. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  796. #
  797. # Network Support
  798. #
  799. !include NetworkPkg/NetworkComponents.dsc.inc
  800. !include OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc
  801. OvmfPkg/VirtioNetDxe/VirtioNet.inf
  802. #
  803. # Usb Support
  804. #
  805. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  806. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  807. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  808. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  809. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  810. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  811. !ifdef $(CSM_ENABLE)
  812. OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
  813. <LibraryClasses>
  814. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  815. }
  816. OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
  817. OvmfPkg/Csm/Csm16/Csm16.inf
  818. !endif
  819. !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
  820. ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
  821. <PcdsFixedAtBuild>
  822. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  823. }
  824. ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
  825. <PcdsFixedAtBuild>
  826. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  827. }
  828. OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
  829. <PcdsFixedAtBuild>
  830. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  831. }
  832. !endif
  833. !if $(BUILD_SHELL) == TRUE
  834. ShellPkg/Application/Shell/Shell.inf {
  835. <LibraryClasses>
  836. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  837. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  838. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  839. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  840. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  841. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  842. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  843. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  844. !if $(NETWORK_IP6_ENABLE) == TRUE
  845. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  846. !endif
  847. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  848. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  849. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  850. <PcdsFixedAtBuild>
  851. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  852. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  853. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  854. }
  855. !endif
  856. !if $(SECURE_BOOT_ENABLE) == TRUE
  857. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  858. OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
  859. !endif
  860. OvmfPkg/PlatformDxe/Platform.inf
  861. OvmfPkg/IoMmuDxe/IoMmuDxe.inf
  862. !if $(SMM_REQUIRE) == TRUE
  863. OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
  864. OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
  865. OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  866. #
  867. # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
  868. #
  869. MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
  870. #
  871. # SMM_CORE
  872. #
  873. MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
  874. #
  875. # Privileged drivers (DXE_SMM_DRIVER modules)
  876. #
  877. OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
  878. UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
  879. MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
  880. <LibraryClasses>
  881. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
  882. }
  883. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  884. <LibraryClasses>
  885. SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
  886. SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  887. }
  888. #
  889. # Variable driver stack (SMM)
  890. #
  891. OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf {
  892. <LibraryClasses>
  893. CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
  894. }
  895. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
  896. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
  897. <LibraryClasses>
  898. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  899. NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
  900. }
  901. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
  902. !else
  903. #
  904. # Variable driver stack (non-SMM)
  905. #
  906. OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
  907. OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
  908. <LibraryClasses>
  909. PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
  910. }
  911. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  912. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  913. <LibraryClasses>
  914. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  915. }
  916. !endif
  917. #
  918. # TPM support
  919. #
  920. !include OvmfPkg/Include/Dsc/OvmfTpmComponentsDxe.dsc.inc
  921. !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
  922. OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf
  923. !endif