ArmVirtQemu.dsc 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. #
  2. # Copyright (c) 2011-2015, ARM Limited. All rights reserved.
  3. # Copyright (c) 2014, Linaro Limited. All rights reserved.
  4. # Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. #
  9. ################################################################################
  10. #
  11. # Defines Section - statements that will be processed to create a Makefile.
  12. #
  13. ################################################################################
  14. [Defines]
  15. PLATFORM_NAME = ArmVirtQemu
  16. PLATFORM_GUID = 37d7e986-f7e9-45c2-8067-e371421a626c
  17. PLATFORM_VERSION = 0.1
  18. DSC_SPECIFICATION = 0x00010005
  19. OUTPUT_DIRECTORY = Build/ArmVirtQemu-$(ARCH)
  20. SUPPORTED_ARCHITECTURES = AARCH64|ARM
  21. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  22. SKUID_IDENTIFIER = DEFAULT
  23. FLASH_DEFINITION = ArmVirtPkg/ArmVirtQemu.fdf
  24. #
  25. # Defines for default states. These can be changed on the command line.
  26. # -D FLAG=VALUE
  27. #
  28. DEFINE TTY_TERMINAL = FALSE
  29. DEFINE SECURE_BOOT_ENABLE = FALSE
  30. DEFINE TPM2_ENABLE = FALSE
  31. DEFINE TPM2_CONFIG_ENABLE = FALSE
  32. #
  33. # Network definition
  34. #
  35. DEFINE NETWORK_IP6_ENABLE = FALSE
  36. DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
  37. DEFINE NETWORK_SNP_ENABLE = FALSE
  38. DEFINE NETWORK_TLS_ENABLE = FALSE
  39. DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
  40. DEFINE NETWORK_ISCSI_ENABLE = TRUE
  41. !if $(NETWORK_SNP_ENABLE) == TRUE
  42. !error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"
  43. !endif
  44. !include NetworkPkg/NetworkDefines.dsc.inc
  45. !include ArmVirtPkg/ArmVirt.dsc.inc
  46. !include MdePkg/MdeLibs.dsc.inc
  47. [LibraryClasses.common]
  48. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  49. ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
  50. # Virtio Support
  51. VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
  52. VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
  53. QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.inf
  54. QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/BaseQemuFwCfgS3LibNull.inf
  55. QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
  56. QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
  57. ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
  58. TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  59. NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf
  60. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  61. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  62. PlatformBootManagerLib|ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  63. PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
  64. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  65. FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
  66. QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
  67. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  68. PciPcdProducerLib|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  69. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  70. PciHostBridgeLib|OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
  71. PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
  72. PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
  73. !if $(TPM2_ENABLE) == TRUE
  74. Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  75. Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
  76. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  77. TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
  78. !else
  79. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  80. TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf
  81. !endif
  82. [LibraryClasses.common.PEIM]
  83. ArmVirtMemInfoLib|ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf
  84. !if $(TPM2_ENABLE) == TRUE
  85. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
  86. ResetSystemLib|MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf
  87. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
  88. !endif
  89. [LibraryClasses.common.DXE_DRIVER]
  90. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  91. !if $(TPM2_ENABLE) == TRUE
  92. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  93. !endif
  94. [LibraryClasses.common.UEFI_DRIVER]
  95. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  96. [BuildOptions]
  97. !include NetworkPkg/NetworkBuildOptions.dsc.inc
  98. ################################################################################
  99. #
  100. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  101. #
  102. ################################################################################
  103. [PcdsFeatureFlag.common]
  104. gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation|TRUE
  105. gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation|TRUE
  106. ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
  107. # It could be set FALSE to save size.
  108. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  109. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  110. gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
  111. gArmVirtTokenSpaceGuid.PcdTpm2SupportEnabled|$(TPM2_ENABLE)
  112. [PcdsFixedAtBuild.common]
  113. !if $(ARCH) == AARCH64
  114. gArmTokenSpaceGuid.PcdVFPEnabled|1
  115. !endif
  116. gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x4007c000
  117. gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000
  118. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  119. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
  120. !if $(NETWORK_TLS_ENABLE) == TRUE
  121. #
  122. # The cumulative and individual VOLATILE variable size limits should be set
  123. # high enough for accommodating several and/or large CA certificates.
  124. #
  125. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
  126. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
  127. !endif
  128. # Size of the region used by UEFI in permanent memory (Reserved 64MB)
  129. gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
  130. #
  131. # ARM PrimeCell
  132. #
  133. ## PL011 - Serial Terminal
  134. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400
  135. ## Default Terminal Type
  136. ## 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
  137. !if $(TTY_TERMINAL) == TRUE
  138. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
  139. # Set terminal type to TtyTerm, the value encoded is EFI_TTY_TERM_GUID
  140. gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94}
  141. !else
  142. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1
  143. !endif
  144. #
  145. # ARM Virtual Architectural Timer -- fetch frequency from QEMU (TCG) or KVM
  146. #
  147. gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0
  148. #
  149. # Network Pcds
  150. #
  151. !include NetworkPkg/NetworkPcds.dsc.inc
  152. # System Memory Base -- fixed at 0x4000_0000
  153. gArmTokenSpaceGuid.PcdSystemMemoryBase|0x40000000
  154. # initial location of the device tree blob passed by QEMU -- base of DRAM
  155. gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x40000000
  156. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  157. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  158. #
  159. # The maximum physical I/O addressability of the processor, set with
  160. # BuildCpuHob().
  161. #
  162. gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16
  163. #
  164. # Enable the non-executable DXE stack. (This gets set up by DxeIpl)
  165. #
  166. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
  167. !if $(SECURE_BOOT_ENABLE) == TRUE
  168. # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
  169. gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
  170. gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
  171. gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
  172. !endif
  173. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|3
  174. gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
  175. [PcdsFixedAtBuild.AARCH64]
  176. # Clearing BIT0 in this PCD prevents installing a 32-bit SMBIOS entry point,
  177. # if the entry point version is >= 3.0. AARCH64 OSes cannot assume the
  178. # presence of the 32-bit entry point anyway (because many AARCH64 systems
  179. # don't have 32-bit addressable physical RAM), and the additional allocations
  180. # below 4 GB needlessly fragment the memory map. So expose the 64-bit entry
  181. # point only, for entry point versions >= 3.0.
  182. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
  183. [PcdsDynamicDefault.common]
  184. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3
  185. ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI
  186. # enumeration to complete before installing ACPI tables.
  187. gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
  188. # System Memory Size -- 1 MB initially, actual size will be fetched from DT
  189. gArmTokenSpaceGuid.PcdSystemMemorySize|0x00100000
  190. gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0
  191. gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0
  192. gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0
  193. gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum|0x0
  194. #
  195. # ARM General Interrupt Controller
  196. #
  197. gArmTokenSpaceGuid.PcdGicDistributorBase|0x0
  198. gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x0
  199. gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x0
  200. ## PL031 RealTimeClock
  201. gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0
  202. # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this
  203. # PCD and PcdPciDisableBusEnumeration above have not been assigned yet
  204. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xFFFFFFFFFFFFFFFF
  205. gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0
  206. #
  207. # Set video resolution for boot options and for text setup.
  208. # PlatformDxe can set the former at runtime.
  209. #
  210. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
  211. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
  212. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
  213. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
  214. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
  215. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
  216. #
  217. # SMBIOS entry point version
  218. #
  219. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300
  220. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
  221. gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
  222. #
  223. # IPv4 and IPv6 PXE Boot support.
  224. #
  225. gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
  226. gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
  227. #
  228. # TPM2 support
  229. #
  230. gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0
  231. !if $(TPM2_ENABLE) == TRUE
  232. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
  233. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|0
  234. !endif
  235. [PcdsDynamicHii]
  236. gArmVirtTokenSpaceGuid.PcdForceNoAcpi|L"ForceNoAcpi"|gArmVirtVariableGuid|0x0|FALSE|NV,BS
  237. !if $(TPM2_CONFIG_ENABLE) == TRUE
  238. gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
  239. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
  240. !endif
  241. ################################################################################
  242. #
  243. # Components Section - list of all EDK II Modules needed by this Platform
  244. #
  245. ################################################################################
  246. [Components.common]
  247. #
  248. # PEI Phase modules
  249. #
  250. ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
  251. MdeModulePkg/Core/Pei/PeiMain.inf
  252. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  253. <LibraryClasses>
  254. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  255. }
  256. ArmPlatformPkg/PlatformPei/PlatformPeim.inf
  257. ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
  258. ArmPkg/Drivers/CpuPei/CpuPei.inf
  259. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  260. !if $(TPM2_ENABLE) == TRUE
  261. MdeModulePkg/Universal/ResetSystemPei/ResetSystemPei.inf {
  262. <LibraryClasses>
  263. ResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.inf
  264. }
  265. OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
  266. SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
  267. <LibraryClasses>
  268. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
  269. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  270. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  271. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  272. NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  273. NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  274. }
  275. !endif
  276. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  277. <LibraryClasses>
  278. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  279. }
  280. #
  281. # DXE
  282. #
  283. MdeModulePkg/Core/Dxe/DxeMain.inf {
  284. <LibraryClasses>
  285. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  286. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  287. }
  288. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  289. <LibraryClasses>
  290. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  291. }
  292. #
  293. # Architectural Protocols
  294. #
  295. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  296. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  297. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  298. <LibraryClasses>
  299. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  300. NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf
  301. # don't use unaligned CopyMem () on the UEFI varstore NOR flash region
  302. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  303. }
  304. !if $(SECURE_BOOT_ENABLE) == TRUE
  305. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
  306. <LibraryClasses>
  307. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  308. !if $(TPM2_ENABLE) == TRUE
  309. NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
  310. !endif
  311. }
  312. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  313. OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
  314. !else
  315. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  316. !endif
  317. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  318. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  319. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  320. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  321. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {
  322. <LibraryClasses>
  323. NULL|ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf
  324. }
  325. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  326. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  327. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  328. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  329. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  330. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  331. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  332. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  333. ArmPkg/Drivers/TimerDxe/TimerDxe.inf {
  334. <LibraryClasses>
  335. NULL|ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf
  336. }
  337. ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
  338. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  339. #
  340. # Status Code Routing
  341. #
  342. MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
  343. #
  344. # Platform Driver
  345. #
  346. OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
  347. EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
  348. OvmfPkg/Fdt/HighMemDxe/HighMemDxe.inf
  349. OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
  350. OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
  351. OvmfPkg/VirtioNetDxe/VirtioNet.inf
  352. OvmfPkg/VirtioRngDxe/VirtioRng.inf
  353. #
  354. # FAT filesystem + GPT/MBR partitioning + UDF filesystem + virtio-fs
  355. #
  356. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  357. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  358. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  359. FatPkg/EnhancedFatDxe/Fat.inf
  360. MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
  361. OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
  362. #
  363. # Bds
  364. #
  365. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  366. <LibraryClasses>
  367. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  368. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  369. }
  370. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  371. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  372. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  373. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  374. MdeModulePkg/Logo/LogoDxe.inf
  375. MdeModulePkg/Application/UiApp/UiApp.inf {
  376. <LibraryClasses>
  377. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  378. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  379. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  380. }
  381. OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
  382. <LibraryClasses>
  383. NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
  384. }
  385. #
  386. # Networking stack
  387. #
  388. !include NetworkPkg/NetworkComponents.dsc.inc
  389. NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
  390. <LibraryClasses>
  391. NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
  392. }
  393. !if $(NETWORK_TLS_ENABLE) == TRUE
  394. NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
  395. <LibraryClasses>
  396. NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
  397. }
  398. !endif
  399. #
  400. # SCSI Bus and Disk Driver
  401. #
  402. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  403. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  404. #
  405. # NVME Driver
  406. #
  407. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  408. #
  409. # SMBIOS Support
  410. #
  411. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
  412. <LibraryClasses>
  413. NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
  414. }
  415. OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
  416. #
  417. # PCI support
  418. #
  419. ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf {
  420. <LibraryClasses>
  421. NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  422. }
  423. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  424. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
  425. <LibraryClasses>
  426. NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  427. }
  428. OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
  429. OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
  430. OvmfPkg/Virtio10Dxe/Virtio10.inf
  431. #
  432. # Video support
  433. #
  434. OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
  435. OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
  436. OvmfPkg/PlatformDxe/Platform.inf
  437. #
  438. # USB Support
  439. #
  440. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  441. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  442. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  443. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  444. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  445. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  446. #
  447. # TPM2 support
  448. #
  449. !if $(TPM2_ENABLE) == TRUE
  450. SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
  451. <LibraryClasses>
  452. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  453. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
  454. NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
  455. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  456. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  457. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  458. NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  459. NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  460. }
  461. !if $(TPM2_CONFIG_ENABLE) == TRUE
  462. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
  463. !endif
  464. !endif
  465. #
  466. # ACPI Support
  467. #
  468. ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf
  469. [Components.AARCH64]
  470. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  471. OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf {
  472. <LibraryClasses>
  473. NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  474. }