OvmfXen.dsc 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  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. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
  137. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  138. SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
  139. MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  140. MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
  141. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  142. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  143. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  144. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  145. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  146. DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
  147. NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
  148. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  149. UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
  150. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  151. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  152. SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
  153. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
  154. QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
  155. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
  156. LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
  157. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  158. FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
  159. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  160. PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
  161. DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
  162. !else
  163. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  164. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  165. !endif
  166. LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
  167. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  168. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  169. !if $(NETWORK_TLS_ENABLE) == TRUE
  170. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  171. !else
  172. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
  173. !endif
  174. RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
  175. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  176. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  177. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
  178. VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
  179. #
  180. # Network libraries
  181. #
  182. !include NetworkPkg/NetworkLibs.dsc.inc
  183. !if $(NETWORK_TLS_ENABLE) == TRUE
  184. TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
  185. !endif
  186. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  187. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  188. S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
  189. SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
  190. OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  191. XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
  192. XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
  193. XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
  194. Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
  195. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  196. RealTimeClockLib|OvmfPkg/Library/XenRealTimeClockLib/XenRealTimeClockLib.inf
  197. TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
  198. !ifdef $(DEBUG_ON_HYPERVISOR_CONSOLE)
  199. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPortNocheck.inf
  200. !else
  201. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
  202. !endif
  203. [LibraryClasses.common]
  204. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  205. VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
  206. [LibraryClasses.common.SEC]
  207. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
  208. !ifndef $(DEBUG_ON_HYPERVISOR_CONSOLE)
  209. DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
  210. !endif
  211. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  212. ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
  213. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  214. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  215. !endif
  216. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  217. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  218. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  219. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  220. !if $(TOOL_CHAIN_TAG) == "XCODE5"
  221. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
  222. !else
  223. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  224. !endif
  225. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
  226. [LibraryClasses.common.PEI_CORE]
  227. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  228. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  229. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  230. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  231. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  232. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  233. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  234. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  235. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  236. [LibraryClasses.common.PEIM]
  237. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  238. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  239. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  240. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  241. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  242. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  243. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  244. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  245. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  246. ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
  247. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  248. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  249. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  250. !endif
  251. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  252. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  253. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
  254. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  255. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
  256. MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
  257. [LibraryClasses.common.DXE_CORE]
  258. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  259. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  260. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  261. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  262. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  263. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  264. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  265. !endif
  266. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  267. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  268. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  269. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  270. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  271. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  272. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  273. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  274. ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
  275. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  276. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  277. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  278. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
  279. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
  280. [LibraryClasses.common.UEFI_DRIVER]
  281. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  282. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  283. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  284. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  285. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  286. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  287. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  288. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  289. [LibraryClasses.common.DXE_DRIVER]
  290. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  291. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  292. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  293. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  294. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  295. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  296. PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  297. PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
  298. QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
  299. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  300. LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
  301. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  302. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  303. !endif
  304. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  305. MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  306. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
  307. [LibraryClasses.common.UEFI_APPLICATION]
  308. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  309. ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
  310. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  311. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  312. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  313. PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
  314. ################################################################################
  315. #
  316. # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
  317. #
  318. ################################################################################
  319. [PcdsFeatureFlag]
  320. gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
  321. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
  322. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
  323. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  324. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  325. gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
  326. !ifdef $(CSM_ENABLE)
  327. gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE
  328. !endif
  329. [PcdsFixedAtBuild]
  330. gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
  331. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
  332. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  333. gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
  334. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
  335. !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
  336. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  337. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
  338. !if $(NETWORK_TLS_ENABLE) == FALSE
  339. # match PcdFlashNvStorageVariableSize purely for convenience
  340. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
  341. !endif
  342. !endif
  343. !if $(FD_SIZE_IN_KB) == 4096
  344. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
  345. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
  346. !if $(NETWORK_TLS_ENABLE) == FALSE
  347. # match PcdFlashNvStorageVariableSize purely for convenience
  348. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
  349. !endif
  350. !endif
  351. !if $(NETWORK_TLS_ENABLE) == TRUE
  352. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
  353. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
  354. !endif
  355. gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
  356. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  357. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
  358. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  359. # DEBUG_INIT 0x00000001 // Initialization
  360. # DEBUG_WARN 0x00000002 // Warnings
  361. # DEBUG_LOAD 0x00000004 // Load events
  362. # DEBUG_FS 0x00000008 // EFI File system
  363. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  364. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  365. # DEBUG_INFO 0x00000040 // Informational debug messages
  366. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  367. # DEBUG_VARIABLE 0x00000100 // Variable
  368. # DEBUG_BM 0x00000400 // Boot Manager
  369. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  370. # DEBUG_NET 0x00004000 // SNP Driver
  371. # DEBUG_UNDI 0x00010000 // UNDI Driver
  372. # DEBUG_LOADFILE 0x00020000 // LoadFile
  373. # DEBUG_EVENT 0x00080000 // Event messages
  374. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  375. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  376. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  377. # // significantly impact boot performance
  378. # DEBUG_ERROR 0x80000000 // Error
  379. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
  380. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  381. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
  382. !else
  383. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
  384. !endif
  385. # This PCD is used to set the base address of the PCI express hierarchy. It
  386. # is only consulted when OVMF runs on Q35. In that case it is programmed into
  387. # the PCIEXBAR register.
  388. #
  389. # On Q35 machine types that QEMU intends to support in the long term, QEMU
  390. # never lets the RAM below 4 GB exceed 2816 MB.
  391. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
  392. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  393. gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
  394. !endif
  395. #
  396. # Network Pcds
  397. #
  398. !include NetworkPkg/NetworkPcds.dsc.inc
  399. !ifdef $(DEBUG_ON_HYPERVISOR_CONSOLE)
  400. ## Set Xen's debug IO port for PlatformDebugLibIoPort
  401. gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0xe9
  402. !endif
  403. # IRQs 5, 9, 10, 11 are level-triggered
  404. gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
  405. # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
  406. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  407. # We populate DXE IPL tables with 1G pages preferably on Xen
  408. gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
  409. ################################################################################
  410. #
  411. # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
  412. #
  413. ################################################################################
  414. [PcdsDynamicDefault]
  415. gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
  416. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
  417. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
  418. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
  419. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
  420. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
  421. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
  422. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
  423. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
  424. gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
  425. gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
  426. gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
  427. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
  428. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
  429. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
  430. gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
  431. gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000
  432. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
  433. # Set video resolution for text setup.
  434. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
  435. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
  436. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
  437. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
  438. gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
  439. # Noexec settings for DXE.
  440. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
  441. # Set memory encryption mask
  442. gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
  443. gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
  444. ################################################################################
  445. #
  446. # Components Section - list of all EDK II Modules needed by this Platform.
  447. #
  448. ################################################################################
  449. [Components]
  450. OvmfPkg/XenResetVector/XenResetVector.inf
  451. #
  452. # SEC Phase modules
  453. #
  454. OvmfPkg/Sec/SecMain.inf {
  455. <LibraryClasses>
  456. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  457. }
  458. #
  459. # PEI Phase modules
  460. #
  461. MdeModulePkg/Core/Pei/PeiMain.inf
  462. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  463. <LibraryClasses>
  464. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  465. }
  466. MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
  467. <LibraryClasses>
  468. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  469. }
  470. MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
  471. <LibraryClasses>
  472. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  473. }
  474. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
  475. OvmfPkg/XenPlatformPei/XenPlatformPei.inf
  476. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
  477. UefiCpuPkg/CpuMpPei/CpuMpPei.inf
  478. #
  479. # DXE Phase modules
  480. #
  481. MdeModulePkg/Core/Dxe/DxeMain.inf {
  482. <LibraryClasses>
  483. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  484. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  485. }
  486. MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
  487. MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
  488. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  489. <LibraryClasses>
  490. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  491. }
  492. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  493. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  494. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  495. OvmfPkg/XenTimerDxe/XenTimerDxe.inf
  496. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  497. UefiCpuPkg/CpuDxe/CpuDxe.inf
  498. OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
  499. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  500. <LibraryClasses>
  501. PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLibScan/PciHostBridgeLibScan.inf
  502. PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
  503. NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
  504. }
  505. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
  506. <LibraryClasses>
  507. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  508. }
  509. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  510. MdeModulePkg/Universal/Metronome/Metronome.inf
  511. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  512. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  513. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
  514. <LibraryClasses>
  515. !ifdef $(CSM_ENABLE)
  516. NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
  517. NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
  518. !endif
  519. }
  520. MdeModulePkg/Logo/LogoDxe.inf
  521. MdeModulePkg/Application/UiApp/UiApp.inf {
  522. <LibraryClasses>
  523. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  524. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  525. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  526. !ifdef $(CSM_ENABLE)
  527. NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf
  528. NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
  529. !endif
  530. }
  531. OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
  532. <LibraryClasses>
  533. NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
  534. }
  535. OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.inf
  536. OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
  537. OvmfPkg/XenBusDxe/XenBusDxe.inf
  538. OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
  539. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
  540. <LibraryClasses>
  541. SerialPortLib|OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.inf
  542. }
  543. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  544. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  545. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  546. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  547. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  548. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
  549. <LibraryClasses>
  550. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  551. }
  552. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  553. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  554. <LibraryClasses>
  555. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  556. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  557. }
  558. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  559. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  560. MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
  561. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  562. FatPkg/EnhancedFatDxe/Fat.inf
  563. MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
  564. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  565. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  566. OvmfPkg/SataControllerDxe/SataControllerDxe.inf
  567. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  568. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  569. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  570. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  571. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  572. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  573. MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
  574. OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
  575. OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
  576. #
  577. # ISA Support
  578. #
  579. OvmfPkg/SioBusDxe/SioBusDxe.inf
  580. MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
  581. MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
  582. #
  583. # SMBIOS Support
  584. #
  585. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
  586. <LibraryClasses>
  587. NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
  588. }
  589. OvmfPkg/SmbiosPlatformDxe/XenSmbiosPlatformDxe.inf
  590. #
  591. # ACPI Support
  592. #
  593. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  594. OvmfPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf
  595. MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
  596. MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
  597. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  598. #
  599. # Network Support
  600. #
  601. !include NetworkPkg/NetworkComponents.dsc.inc
  602. !if $(NETWORK_TLS_ENABLE) == TRUE
  603. NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
  604. <LibraryClasses>
  605. NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
  606. }
  607. !endif
  608. #
  609. # Usb Support
  610. #
  611. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  612. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  613. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  614. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  615. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  616. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  617. !ifdef $(CSM_ENABLE)
  618. OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
  619. <LibraryClasses>
  620. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  621. }
  622. OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
  623. OvmfPkg/Csm/Csm16/Csm16.inf
  624. !endif
  625. !if $(TOOL_CHAIN_TAG) != "XCODE5"
  626. ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
  627. <PcdsFixedAtBuild>
  628. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  629. }
  630. ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {
  631. <PcdsFixedAtBuild>
  632. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  633. }
  634. OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
  635. <PcdsFixedAtBuild>
  636. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  637. }
  638. !endif
  639. ShellPkg/Application/Shell/Shell.inf {
  640. <LibraryClasses>
  641. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  642. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  643. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  644. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  645. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  646. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  647. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  648. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  649. !if $(NETWORK_IP6_ENABLE) == TRUE
  650. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  651. !endif
  652. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  653. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  654. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  655. <PcdsFixedAtBuild>
  656. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  657. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  658. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  659. }
  660. OvmfPkg/PlatformDxe/Platform.inf
  661. OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
  662. <LibraryClasses>
  663. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  664. }
  665. OvmfPkg/IoMmuDxe/IoMmuDxe.inf
  666. #
  667. # Variable driver stack (non-SMM)
  668. #
  669. OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
  670. OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
  671. <LibraryClasses>
  672. PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
  673. }
  674. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  675. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  676. <LibraryClasses>
  677. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  678. }