BhyveX64.dsc 38 KB

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