OvmfXen.dsc 33 KB

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