MicrovmX64.dsc 39 KB

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