OvmfPkgIa32X64.dsc 45 KB

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