OvmfXen.dsc 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765
  1. ## @file
  2. # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
  3. #
  4. # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
  5. # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
  6. # Copyright (c) 2019, Citrix Systems, Inc.
  7. # Copyright (c) Microsoft Corporation.
  8. #
  9. # SPDX-License-Identifier: BSD-2-Clause-Patent
  10. #
  11. ##
  12. ################################################################################
  13. #
  14. # Defines Section - statements that will be processed to create a Makefile.
  15. #
  16. ################################################################################
  17. [Defines]
  18. PLATFORM_NAME = Ovmf
  19. PLATFORM_GUID = e3aa4fbe-9459-482d-bd40-d3f3b5f89d6e
  20. PLATFORM_VERSION = 0.1
  21. DSC_SPECIFICATION = 0x00010005
  22. OUTPUT_DIRECTORY = Build/OvmfXen
  23. SUPPORTED_ARCHITECTURES = X64
  24. BUILD_TARGETS = NOOPT|DEBUG|RELEASE
  25. SKUID_IDENTIFIER = DEFAULT
  26. FLASH_DEFINITION = OvmfPkg/OvmfXen.fdf
  27. #
  28. # Defines for default states. These can be changed on the command line.
  29. # -D FLAG=VALUE
  30. #
  31. DEFINE SOURCE_DEBUG_ENABLE = FALSE
  32. #
  33. # Network definition
  34. #
  35. DEFINE NETWORK_TLS_ENABLE = FALSE
  36. DEFINE NETWORK_IP6_ENABLE = FALSE
  37. DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
  38. DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
  39. DEFINE NETWORK_ISCSI_ENABLE = TRUE
  40. !include NetworkPkg/NetworkDefines.dsc.inc
  41. #
  42. # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
  43. # one of the supported values, in place of any of the convenience macros, is
  44. # permitted.
  45. #
  46. !ifdef $(FD_SIZE_1MB)
  47. DEFINE FD_SIZE_IN_KB = 1024
  48. !else
  49. !ifdef $(FD_SIZE_2MB)
  50. DEFINE FD_SIZE_IN_KB = 2048
  51. !else
  52. !ifdef $(FD_SIZE_4MB)
  53. DEFINE FD_SIZE_IN_KB = 4096
  54. !else
  55. DEFINE FD_SIZE_IN_KB = 2048
  56. !endif
  57. !endif
  58. !endif
  59. [BuildOptions]
  60. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
  61. INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
  62. MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
  63. !if $(TOOL_CHAIN_TAG) != "XCODE5"
  64. GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
  65. !endif
  66. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  67. MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  68. GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  69. INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  70. !endif
  71. RELEASE_*_*_GENFW_FLAGS = --zero
  72. #
  73. # Disable deprecated APIs.
  74. #
  75. MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
  76. INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
  77. GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
  78. !include NetworkPkg/NetworkBuildOptions.dsc.inc
  79. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  80. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  81. XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
  82. XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
  83. CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
  84. # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
  85. # protection of DXE_SMM_DRIVER/SMM_CORE modules
  86. [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
  87. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  88. XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
  89. XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
  90. CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
  91. ################################################################################
  92. #
  93. # SKU Identification section - list of all SKU IDs supported by this Platform.
  94. #
  95. ################################################################################
  96. [SkuIds]
  97. 0|DEFAULT
  98. ################################################################################
  99. #
  100. # Library Class section - list of all Library Classes needed by this Platform.
  101. #
  102. ################################################################################
  103. !include MdePkg/MdeLibs.dsc.inc
  104. [LibraryClasses]
  105. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  106. TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
  107. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
  108. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  109. BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
  110. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  111. SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  112. BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
  113. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  114. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  115. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  116. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  117. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  118. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  119. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  120. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  121. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  122. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  123. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  124. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  125. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  126. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  127. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  128. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  129. PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
  130. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  131. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  132. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  133. PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
  134. PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
  135. PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
  136. CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
  137. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
  138. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  139. SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
  140. MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  141. MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
  142. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  143. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  144. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  145. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  146. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  147. DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
  148. NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
  149. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  150. UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
  151. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  152. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  153. SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
  154. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
  155. QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
  156. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
  157. LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
  158. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  159. FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
  160. MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
  161. PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
  162. DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
  163. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  164. PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
  165. DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
  166. !else
  167. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  168. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  169. !endif
  170. LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
  171. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  172. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  173. !if $(NETWORK_TLS_ENABLE) == TRUE
  174. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  175. !else
  176. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
  177. !endif
  178. RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
  179. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  180. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  181. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
  182. VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
  183. VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
  184. #
  185. # Network libraries
  186. #
  187. !include NetworkPkg/NetworkLibs.dsc.inc
  188. !if $(NETWORK_TLS_ENABLE) == TRUE
  189. TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
  190. !endif
  191. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  192. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  193. S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
  194. SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
  195. OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  196. XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
  197. XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
  198. XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
  199. Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
  200. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  201. RealTimeClockLib|OvmfPkg/Library/XenRealTimeClockLib/XenRealTimeClockLib.inf
  202. TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
  203. !ifdef $(DEBUG_ON_HYPERVISOR_CONSOLE)
  204. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPortNocheck.inf
  205. !else
  206. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  207. !endif
  208. [LibraryClasses.common]
  209. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  210. CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
  211. TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
  212. [LibraryClasses.common.SEC]
  213. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
  214. !ifndef $(DEBUG_ON_HYPERVISOR_CONSOLE)
  215. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
  216. !endif
  217. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  218. ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
  219. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  220. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  221. !endif
  222. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  223. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  224. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  225. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  226. !if $(TOOL_CHAIN_TAG) == "XCODE5"
  227. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
  228. !else
  229. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  230. !endif
  231. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
  232. [LibraryClasses.common.PEI_CORE]
  233. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  234. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  235. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  236. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  237. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  238. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  239. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  240. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  241. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  242. [LibraryClasses.common.PEIM]
  243. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  244. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  245. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  246. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  247. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  248. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  249. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  250. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  251. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  252. ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
  253. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  254. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  255. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  256. !endif
  257. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  258. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  259. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
  260. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  261. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
  262. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
  263. [LibraryClasses.common.DXE_CORE]
  264. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  265. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  266. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  267. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  268. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  269. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  270. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  271. !endif
  272. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  273. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  274. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  275. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  276. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  277. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  278. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  279. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  280. ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
  281. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  282. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  283. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  284. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
  285. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
  286. [LibraryClasses.common.UEFI_DRIVER]
  287. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  288. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  289. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  290. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  291. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  292. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  293. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  294. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  295. [LibraryClasses.common.DXE_DRIVER]
  296. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  297. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  298. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  299. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  300. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  301. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  302. PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  303. PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
  304. QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
  305. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  306. LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
  307. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  308. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  309. !endif
  310. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  311. MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  312. NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf
  313. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
  314. [LibraryClasses.common.UEFI_APPLICATION]
  315. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  316. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  317. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  318. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  319. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  320. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  321. ################################################################################
  322. #
  323. # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
  324. #
  325. ################################################################################
  326. [PcdsFeatureFlag]
  327. gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
  328. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
  329. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
  330. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  331. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  332. gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
  333. !ifdef $(CSM_ENABLE)
  334. gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
  335. !endif
  336. [PcdsFixedAtBuild]
  337. gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
  338. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
  339. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  340. gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
  341. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
  342. !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
  343. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  344. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
  345. !if $(NETWORK_TLS_ENABLE) == FALSE
  346. # match PcdFlashNvStorageVariableSize purely for convenience
  347. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
  348. !endif
  349. !endif
  350. !if $(FD_SIZE_IN_KB) == 4096
  351. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
  352. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
  353. !if $(NETWORK_TLS_ENABLE) == FALSE
  354. # match PcdFlashNvStorageVariableSize purely for convenience
  355. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
  356. !endif
  357. !endif
  358. !if $(NETWORK_TLS_ENABLE) == TRUE
  359. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
  360. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
  361. !endif
  362. gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
  363. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  364. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
  365. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  366. # DEBUG_INIT 0x00000001 // Initialization
  367. # DEBUG_WARN 0x00000002 // Warnings
  368. # DEBUG_LOAD 0x00000004 // Load events
  369. # DEBUG_FS 0x00000008 // EFI File system
  370. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  371. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  372. # DEBUG_INFO 0x00000040 // Informational debug messages
  373. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  374. # DEBUG_VARIABLE 0x00000100 // Variable
  375. # DEBUG_BM 0x00000400 // Boot Manager
  376. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  377. # DEBUG_NET 0x00004000 // SNP Driver
  378. # DEBUG_UNDI 0x00010000 // UNDI Driver
  379. # DEBUG_LOADFILE 0x00020000 // LoadFile
  380. # DEBUG_EVENT 0x00080000 // Event messages
  381. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  382. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  383. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  384. # // significantly impact boot performance
  385. # DEBUG_ERROR 0x80000000 // Error
  386. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
  387. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  388. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
  389. !else
  390. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
  391. !endif
  392. # This PCD is used to set the base address of the PCI express hierarchy. It
  393. # is only consulted when OVMF runs on Q35. In that case it is programmed into
  394. # the PCIEXBAR register.
  395. #
  396. # On Q35 machine types that QEMU intends to support in the long term, QEMU
  397. # never lets the RAM below 4 GB exceed 2816 MB.
  398. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
  399. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  400. gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
  401. !endif
  402. #
  403. # Network Pcds
  404. #
  405. !include NetworkPkg/NetworkPcds.dsc.inc
  406. !ifdef $(DEBUG_ON_HYPERVISOR_CONSOLE)
  407. ## Set Xen's debug IO port for PlatformDebugLibIoPort
  408. gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0xe9
  409. !endif
  410. # IRQs 5, 9, 10, 11 are level-triggered
  411. gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
  412. # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
  413. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  414. # We populate DXE IPL tables with 1G pages preferably on Xen
  415. gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
  416. ################################################################################
  417. #
  418. # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
  419. #
  420. ################################################################################
  421. [PcdsDynamicDefault]
  422. gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
  423. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
  424. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
  425. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
  426. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
  427. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
  428. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
  429. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
  430. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
  431. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
  432. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
  433. gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
  434. gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
  435. gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
  436. gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
  437. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
  438. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
  439. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
  440. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
  441. gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000
  442. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
  443. # Set video resolution for text setup.
  444. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
  445. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
  446. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
  447. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
  448. gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
  449. # Noexec settings for DXE.
  450. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
  451. # Set memory encryption mask
  452. gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
  453. # Set Tdx shared bit mask
  454. gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
  455. gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
  456. ################################################################################
  457. #
  458. # Components Section - list of all EDK II Modules needed by this Platform.
  459. #
  460. ################################################################################
  461. [Components]
  462. OvmfPkg/XenResetVector/XenResetVector.inf
  463. #
  464. # SEC Phase modules
  465. #
  466. OvmfPkg/Sec/SecMain.inf {
  467. <LibraryClasses>
  468. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  469. }
  470. #
  471. # PEI Phase modules
  472. #
  473. MdeModulePkg/Core/Pei/PeiMain.inf
  474. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  475. <LibraryClasses>
  476. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  477. }
  478. MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
  479. <LibraryClasses>
  480. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  481. }
  482. MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
  483. <LibraryClasses>
  484. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  485. }
  486. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
  487. OvmfPkg/XenPlatformPei/XenPlatformPei.inf
  488. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
  489. UefiCpuPkg/CpuMpPei/CpuMpPei.inf
  490. #
  491. # DXE Phase modules
  492. #
  493. MdeModulePkg/Core/Dxe/DxeMain.inf {
  494. <LibraryClasses>
  495. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  496. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  497. }
  498. MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
  499. MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
  500. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  501. <LibraryClasses>
  502. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  503. }
  504. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  505. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  506. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  507. OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
  508. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  509. UefiCpuPkg/CpuDxe/CpuDxe.inf
  510. OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
  511. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  512. <LibraryClasses>
  513. PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLibScan/PciHostBridgeLibScan.inf
  514. PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
  515. NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
  516. }
  517. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
  518. <LibraryClasses>
  519. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  520. }
  521. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  522. MdeModulePkg/Universal/Metronome/Metronome.inf
  523. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  524. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  525. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
  526. <LibraryClasses>
  527. !ifdef $(CSM_ENABLE)
  528. NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
  529. NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
  530. !endif
  531. }
  532. MdeModulePkg/Logo/LogoDxe.inf
  533. MdeModulePkg/Application/UiApp/UiApp.inf {
  534. <LibraryClasses>
  535. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  536. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  537. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  538. !ifdef $(CSM_ENABLE)
  539. NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
  540. NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
  541. !endif
  542. }
  543. OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
  544. <LibraryClasses>
  545. NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
  546. }
  547. OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.inf
  548. OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
  549. OvmfPkg/XenBusDxe/XenBusDxe.inf
  550. OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
  551. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
  552. <LibraryClasses>
  553. SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf
  554. }
  555. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  556. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  557. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  558. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  559. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  560. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
  561. <LibraryClasses>
  562. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  563. }
  564. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  565. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  566. <LibraryClasses>
  567. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  568. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  569. }
  570. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  571. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  572. MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
  573. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  574. FatPkg/EnhancedFatDxe/Fat.inf
  575. MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
  576. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  577. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  578. OvmfPkg/SataControllerDxe/SataControllerDxe.inf
  579. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  580. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  581. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  582. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  583. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  584. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  585. MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
  586. OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
  587. OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
  588. #
  589. # ISA Support
  590. #
  591. OvmfPkg/SioBusDxe/SioBusDxe.inf
  592. MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
  593. MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
  594. #
  595. # SMBIOS Support
  596. #
  597. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
  598. <LibraryClasses>
  599. NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
  600. }
  601. OvmfPkg/SmbiosPlatformDxe/XenSmbiosPlatformDxe.inf
  602. #
  603. # ACPI Support
  604. #
  605. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  606. OvmfPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf
  607. MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
  608. MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
  609. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  610. #
  611. # Network Support
  612. #
  613. !include NetworkPkg/NetworkComponents.dsc.inc
  614. !if $(NETWORK_TLS_ENABLE) == TRUE
  615. NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
  616. <LibraryClasses>
  617. NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
  618. }
  619. !endif
  620. #
  621. # Usb Support
  622. #
  623. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  624. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  625. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  626. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  627. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  628. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  629. !ifdef $(CSM_ENABLE)
  630. OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
  631. <LibraryClasses>
  632. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  633. }
  634. OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
  635. OvmfPkg/Csm/Csm16/Csm16.inf
  636. !endif
  637. !if $(TOOL_CHAIN_TAG) != "XCODE5"
  638. ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
  639. <PcdsFixedAtBuild>
  640. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  641. }
  642. ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
  643. <PcdsFixedAtBuild>
  644. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  645. }
  646. OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
  647. <PcdsFixedAtBuild>
  648. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  649. }
  650. !endif
  651. ShellPkg/Application/Shell/Shell.inf {
  652. <LibraryClasses>
  653. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  654. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  655. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  656. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  657. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  658. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  659. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  660. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  661. !if $(NETWORK_IP6_ENABLE) == TRUE
  662. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  663. !endif
  664. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  665. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  666. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  667. <PcdsFixedAtBuild>
  668. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  669. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  670. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  671. }
  672. OvmfPkg/PlatformDxe/Platform.inf
  673. OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
  674. <LibraryClasses>
  675. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  676. }
  677. OvmfPkg/IoMmuDxe/IoMmuDxe.inf
  678. #
  679. # Variable driver stack (non-SMM)
  680. #
  681. OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
  682. OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
  683. <LibraryClasses>
  684. PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
  685. }
  686. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  687. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  688. <LibraryClasses>
  689. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  690. }