Loongson.dsc 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  1. ## @file
  2. #
  3. # Copyright (c) 2022 Loongson Technology Corporation Limited. All rights reserved.<BR>
  4. #
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ##
  8. ################################################################################
  9. #
  10. # Defines Section - statements that will be processed to create a Makefile.
  11. #
  12. ###############################################################################
  13. [Defines]
  14. PLATFORM_NAME = LoongArchQemu
  15. PLATFORMPKG_NAME = LoongArchQemu
  16. PLATFORM_GUID = 7926ea52-b0dc-4ee8-ac63-341eebd84ed4
  17. PLATFORM_VERSION = 0.1
  18. DSC_SPECIFICATION = 0x00010005
  19. OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
  20. SUPPORTED_ARCHITECTURES = LOONGARCH64
  21. BUILD_TARGETS = DEBUG|RELEASE
  22. SKUID_IDENTIFIER = DEFAULT
  23. FLASH_DEFINITION = Platform/Loongson/LoongArchQemuPkg/Loongson.fdf
  24. TTY_TERMINAL = FALSE
  25. #
  26. # Defines for default states. These can be changed on the command line.
  27. # -D FLAG=VALUE
  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 = FALSE
  41. !include NetworkPkg/NetworkDefines.dsc.inc
  42. ############################################################################
  43. #
  44. # Defines for default states. These can be changed on the command line.
  45. # -D FLAG=VALUE
  46. ############################################################################
  47. [BuildOptions]
  48. GCC:RELEASE_*_*_CC_FLAGS = -DSPEEDUP
  49. #
  50. # Disable deprecated APIs.
  51. #
  52. GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
  53. !include NetworkPkg/NetworkBuildOptions.dsc.inc
  54. [BuildOptions.LOONGARCH64.EDKII.SEC]
  55. *_*_*_CC_FLAGS =
  56. [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]
  57. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  58. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  59. GCC:*_*_LOONGARCH64_DLINK_FLAGS = -z common-page-size=0x10000
  60. ################################################################################
  61. #
  62. # SKU Identification section - list of all SKU IDs supported by this Platform.
  63. #
  64. ################################################################################
  65. [SkuIds]
  66. 0|DEFAULT
  67. ################################################################################
  68. #
  69. # Library Class section - list of all Library Classes needed by this Platform.
  70. #
  71. ################################################################################
  72. !include MdePkg/MdeLibs.dsc.inc
  73. [LibraryClasses.common]
  74. PcdLib | MdePkg/Library/DxePcdLib/DxePcdLib.inf
  75. TimerLib | Platform/Loongson/LoongArchQemuPkg/Library/StableTimerLib/TimerLib.inf
  76. PrintLib | MdePkg/Library/BasePrintLib/BasePrintLib.inf
  77. BaseMemoryLib | MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  78. # Networking Requirements
  79. !include NetworkPkg/NetworkLibs.dsc.inc
  80. !if $(NETWORK_TLS_ENABLE) == TRUE
  81. TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
  82. !endif
  83. BaseLib | MdePkg/Library/BaseLib/BaseLib.inf
  84. SafeIntLib | MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  85. TimeBaseLib | EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
  86. BmpSupportLib | MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
  87. SynchronizationLib | MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  88. CpuLib | MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  89. PerformanceLib | MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  90. PeCoffLib | MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  91. CacheMaintenanceLib | MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  92. UefiDecompressLib | MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  93. UefiHiiServicesLib | MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  94. HiiLib | MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  95. CapsuleLib | MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  96. DxeServicesLib | MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  97. DxeServicesTableLib | MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  98. PeCoffGetEntryPointLib | MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  99. PciLib | MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  100. PciExpressLib | OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
  101. PciCapLib | OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
  102. PciCapPciSegmentLib | OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
  103. PciCapPciIoLib | OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
  104. DxeHardwareInfoLib | OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
  105. IoLib | MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  106. PlatformHookLib | Platform/Loongson/LoongArchQemuPkg/Library/Fdt16550SerialPortHookLib/Fdt16550SerialPortHookLib.inf
  107. SerialPortLib | MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  108. EfiResetSystemLib | Platform/Loongson/LoongArchQemuPkg/Library/ResetSystemAcpiLib/BaseResetSystemAcpiGedLib.inf
  109. ResetSystemLib | Platform/Loongson/LoongArchQemuPkg/Library/ResetSystemAcpiLib/BaseResetSystemAcpiGedLib.inf
  110. UefiLib | MdePkg/Library/UefiLib/UefiLib.inf
  111. UefiBootServicesTableLib | MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  112. UefiRuntimeServicesTableLib | MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  113. UefiDriverEntryPoint | MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  114. UefiApplicationEntryPoint | MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  115. DevicePathLib | MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
  116. FileHandleLib | MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  117. SecurityManagementLib | MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  118. UefiUsbLib | MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  119. SerializeVariablesLib | OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
  120. CustomizedDisplayLib | MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  121. DebugPrintErrorLevelLib | MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  122. TpmMeasurementLib | MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  123. AuthVariableLib | MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  124. VarCheckLib | MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  125. VariablePolicyLib | MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
  126. VariablePolicyHelperLib | MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
  127. SortLib | MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  128. FdtLib | EmbeddedPkg/Library/FdtLib/FdtLib.inf
  129. PciSegmentLib | MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  130. PciHostBridgeLib | OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
  131. PciHostBridgeUtilityLib | OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
  132. MmuLib | Platform/Loongson/LoongArchQemuPkg/Library/MmuLib/MmuBaseLib.inf
  133. FileExplorerLib | MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  134. !if $(HTTP_BOOT_ENABLE) == TRUE
  135. HttpLib | MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
  136. !endif
  137. UefiBootManagerLib | MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  138. OrderedCollectionLib | MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  139. ReportStatusCodeLib | MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
  140. PeCoffGetEntryPointLib | MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  141. PeCoffExtraActionLib | MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  142. DebugAgentLib | MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  143. CpuExceptionHandlerLib | MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
  144. PlatformBootManagerLib | Platform/Loongson/LoongArchQemuPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  145. BootLogoLib | MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  146. QemuBootOrderLib | OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
  147. QemuFwCfgSimpleParserLib | OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
  148. QemuLoadImageLib | OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
  149. #
  150. # Virtio Support
  151. #
  152. VirtioLib | OvmfPkg/Library/VirtioLib/VirtioLib.inf
  153. FrameBufferBltLib | MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
  154. QemuFwCfgLib | OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.inf
  155. DebugLib | MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  156. PeiServicesLib | MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  157. VariableFlashInfoLib | MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
  158. VirtNorFlashPlatformLib | Platform/Loongson/LoongArchQemuPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf
  159. [LibraryClasses.common.SEC]
  160. PcdLib | MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  161. ReportStatusCodeLib | MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  162. HobLib | MdePkg/Library/PeiHobLib/PeiHobLib.inf
  163. MemoryAllocationLib | MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  164. SerialPortLib | Platform/Loongson/LoongArchQemuPkg/Library/SerialPortLib/EarlySerialPortLib16550.inf
  165. [LibraryClasses.common.PEI_CORE]
  166. PcdLib | MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  167. HobLib | MdePkg/Library/PeiHobLib/PeiHobLib.inf
  168. PeiServicesTablePointerLib | Platform/Loongson/LoongArchQemuPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  169. MemoryAllocationLib | MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  170. PeiCoreEntryPoint | MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  171. ReportStatusCodeLib | MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  172. OemHookStatusCodeLib | MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  173. PeCoffGetEntryPointLib | MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  174. QemuFwCfgLib | Platform/Loongson/LoongArchQemuPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
  175. MmuLib | Platform/Loongson/LoongArchQemuPkg/Library/MmuLib/MmuBaseLibPei.inf
  176. SerialPortLib | Platform/Loongson/LoongArchQemuPkg/Library/SerialPortLib/EarlySerialPortLib16550.inf
  177. [LibraryClasses.common.PEIM]
  178. HobLib | MdePkg/Library/PeiHobLib/PeiHobLib.inf
  179. PeiServicesTablePointerLib | Platform/Loongson/LoongArchQemuPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  180. MemoryAllocationLib | MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  181. PeimEntryPoint | MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  182. ReportStatusCodeLib | MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  183. OemHookStatusCodeLib | MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  184. PeCoffGetEntryPointLib | MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  185. PeiResourcePublicationLib | MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
  186. ExtractGuidedSectionLib | MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  187. PcdLib | MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  188. QemuFwCfgS3Lib | OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
  189. QemuFwCfgLib | Platform/Loongson/LoongArchQemuPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
  190. MmuLib | Platform/Loongson/LoongArchQemuPkg/Library/MmuLib/MmuBaseLibPei.inf
  191. SerialPortLib | Platform/Loongson/LoongArchQemuPkg/Library/SerialPortLib/EarlySerialPortLib16550.inf
  192. [LibraryClasses.common.DXE_CORE]
  193. HobLib | MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  194. DxeCoreEntryPoint | MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  195. MemoryAllocationLib | MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  196. ReportStatusCodeLib | MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  197. PciExpressLib | MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  198. PciPcdProducerLib | OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  199. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  200. PcdLib | MdePkg/Library/DxePcdLib/DxePcdLib.inf
  201. HobLib | Platform/Loongson/LoongArchQemuPkg/Library/VirtDxeHobLib/VirtDxeHobLib.inf
  202. DxeCoreEntryPoint | MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  203. MemoryAllocationLib | MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  204. ReportStatusCodeLib | MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
  205. UefiRuntimeLib | MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  206. ExtractGuidedSectionLib | MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  207. QemuFwCfgS3Lib | OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
  208. RealTimeClockLib | Platform/Loongson/LoongArchQemuPkg/Library/LsRealTimeClockLib/LsRealTimeClockLib.inf
  209. VariablePolicyLib | MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
  210. QemuFwCfgLib | Platform/Loongson/LoongArchQemuPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
  211. EfiResetSystemLib | Platform/Loongson/LoongArchQemuPkg/Library/ResetSystemAcpiLib/DxeResetSystemAcpiGedLib.inf
  212. ResetSystemLib | Platform/Loongson/LoongArchQemuPkg/Library/ResetSystemAcpiLib/DxeResetSystemAcpiGedLib.inf
  213. PciExpressLib | MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  214. !if $(TARGET) != RELEASE
  215. DebugLib | MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
  216. !endif
  217. [LibraryClasses.common.UEFI_DRIVER]
  218. PcdLib | MdePkg/Library/DxePcdLib/DxePcdLib.inf
  219. HobLib | Platform/Loongson/LoongArchQemuPkg/Library/VirtDxeHobLib/VirtDxeHobLib.inf
  220. DxeCoreEntryPoint | MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  221. MemoryAllocationLib | MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  222. ReportStatusCodeLib | MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  223. UefiScsiLib | MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  224. ExtractGuidedSectionLib | MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  225. QemuFwCfgLib | OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.inf
  226. PciPcdProducerLib | OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  227. [LibraryClasses.common.DXE_DRIVER]
  228. PcdLib | MdePkg/Library/DxePcdLib/DxePcdLib.inf
  229. HobLib | Platform/Loongson/LoongArchQemuPkg/Library/VirtDxeHobLib/VirtDxeHobLib.inf
  230. MemoryAllocationLib | MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  231. ReportStatusCodeLib | MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  232. UefiScsiLib | MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  233. CpuExceptionHandlerLib | UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  234. ExtractGuidedSectionLib | MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  235. QemuFwCfgS3Lib | OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
  236. QemuFwCfgLib | OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.inf
  237. PciPcdProducerLib | OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  238. PciExpressLib | MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  239. [LibraryClasses.common.UEFI_APPLICATION]
  240. PcdLib | MdePkg/Library/DxePcdLib/DxePcdLib.inf
  241. HobLib | Platform/Loongson/LoongArchQemuPkg/Library/VirtDxeHobLib/VirtDxeHobLib.inf
  242. MemoryAllocationLib | MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  243. ExtractGuidedSectionLib | MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  244. PciPcdProducerLib | OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  245. PciExpressLib | MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  246. ################################################################################
  247. #
  248. # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
  249. #
  250. ################################################################################
  251. [PcdsFeatureFlag]
  252. gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport | FALSE
  253. # gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial | TRUE
  254. # gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory | TRUE
  255. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress | TRUE
  256. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport | TRUE
  257. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport | FALSE
  258. gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport | FALSE
  259. gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation | TRUE
  260. gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation | TRUE
  261. [PcdsFixedAtBuild]
  262. ## BaseLib ##
  263. gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength | 1000000
  264. gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength | 1000000
  265. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength | 1000000
  266. gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout | 10000000
  267. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize | 1
  268. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange | FALSE
  269. gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler | 0x10
  270. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize | 0x2000
  271. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize | 0x8000
  272. gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress | 0x0
  273. gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize | 48
  274. gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize | 32
  275. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask | 0x07
  276. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel | 0x8000004F
  277. # Use MMIO for accessing Serial port registers.
  278. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio | TRUE
  279. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo | {0xFF}
  280. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate | 115200
  281. # DEBUG_INIT 0x00000001 // Initialization
  282. # DEBUG_WARN 0x00000002 // Warnings
  283. # DEBUG_LOAD 0x00000004 // Load events
  284. # DEBUG_FS 0x00000008 // EFI File system
  285. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  286. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  287. # DEBUG_INFO 0x00000040 // Informational debug messages
  288. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  289. # DEBUG_VARIABLE 0x00000100 // Variable
  290. # DEBUG_BM 0x00000400 // Boot Manager
  291. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  292. # DEBUG_NET 0x00004000 // Network Io Driver
  293. # DEBUG_UNDI 0x00010000 // UNDI Driver
  294. # DEBUG_LOADFILE 0x00020000 // LoadFile
  295. # DEBUG_EVENT 0x00080000 // Event messages
  296. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  297. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  298. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  299. # DEBUG_ERROR 0x80000000 // Error
  300. !if $(TARGET) == RELEASE
  301. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask | 0x21
  302. !else
  303. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask | 0x2f
  304. !endif
  305. # DEBUG_ASSERT_ENABLED 0x01
  306. # DEBUG_PRINT_ENABLED 0x02
  307. # DEBUG_CODE_ENABLED 0x04
  308. # CLEAR_MEMORY_ENABLED 0x08
  309. # ASSERT_BREAKPOINT_ENABLED 0x10
  310. # ASSERT_DEADLOOP_ENABLED 0x20
  311. #######################################################################################
  312. gLoongArchQemuPkgTokenSpaceGuid.PcdSecPeiTempRamBase | 0x10000
  313. gLoongArchQemuPkgTokenSpaceGuid.PcdSecPeiTempRamSize | 0x10000
  314. gLoongArchQemuPkgTokenSpaceGuid.PcdDeviceTreeBase | 0x100000
  315. #
  316. # minimal memory for uefi bios should be 512M
  317. # 0x00000000 - 0x10000000
  318. # 0x90000000 - 0xA0000000
  319. #
  320. gLoongArchQemuPkgTokenSpaceGuid.PcdUefiRamTop | 0x10000000
  321. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions | 0x06
  322. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile | { 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  323. #
  324. # Network Pcds
  325. #
  326. !include NetworkPkg/NetworkPcds.dsc.inc
  327. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize | 0x40000
  328. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize | 0x40000
  329. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize | 0x40000
  330. gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask | 1
  331. ################################################################################
  332. #
  333. # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
  334. #
  335. ################################################################################
  336. [PcdsDynamicDefault]
  337. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase | 0
  338. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64 | 0
  339. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64 | 0
  340. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase | 0
  341. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase | 0
  342. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64 | 0
  343. gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved | 0
  344. gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration | FALSE
  345. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution | 800
  346. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution | 600
  347. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut | 2
  348. # Set video resolution for text setup.
  349. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution | 640
  350. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution | 480
  351. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion | 0x0300
  352. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev | 0x0
  353. gLoongArchQemuPkgTokenSpaceGuid.PcdRamSize | 0x40000000
  354. ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI
  355. # enumeration to complete before installing ACPI tables.
  356. gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration |TRUE
  357. gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation |0x0
  358. # set PcdPciExpressBaseAddress to MAX_UINT64, which signifies that this
  359. # PCD and PcdPciDisableBusEnumeration above have not been assigned yet
  360. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress |0xFFFFFFFFFFFFFFFF
  361. #
  362. # IPv4 and IPv6 PXE Boot support.
  363. #
  364. gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport | 0x01
  365. gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport | 0x01
  366. #
  367. # SMBIOS entry point version
  368. #
  369. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300
  370. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
  371. gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|TRUE
  372. [PcdsPatchableInModule.common]
  373. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x0
  374. [Components]
  375. #
  376. # SEC Phase modules
  377. #
  378. Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.inf
  379. #
  380. # PEI Phase modules
  381. #
  382. MdeModulePkg/Core/Pei/PeiMain.inf
  383. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  384. <LibraryClasses>
  385. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  386. }
  387. MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  388. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  389. <LibraryClasses>
  390. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  391. }
  392. Platform/Loongson/LoongArchQemuPkg/PlatformPei/PlatformPei.inf {
  393. <LibraryClasses>
  394. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  395. }
  396. #
  397. # DXE Phase modules
  398. #
  399. MdeModulePkg/Core/Dxe/DxeMain.inf {
  400. <LibraryClasses>
  401. NULL | MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  402. DevicePathLib | MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  403. ExtractGuidedSectionLib | MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  404. }
  405. MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
  406. MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
  407. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  408. <LibraryClasses>
  409. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  410. }
  411. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  412. Platform/Loongson/LoongArchQemuPkg/Drivers/CpuDxe/CpuDxe.inf
  413. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  414. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  415. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  416. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  417. Platform/Loongson/LoongArchQemuPkg/Drivers/StableTimerDxe/TimerDxe.inf
  418. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  419. MdeModulePkg/Universal/Metronome/Metronome.inf
  420. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  421. #
  422. # Variable
  423. #
  424. OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.inf
  425. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  426. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  427. <LibraryClasses>
  428. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  429. NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf
  430. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  431. }
  432. #
  433. # Platform Driver
  434. #
  435. OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
  436. OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
  437. OvmfPkg/VirtioRngDxe/VirtioRng.inf
  438. #
  439. # FAT filesystem + GPT/MBR partitioning + UDF filesystem + virtio-fs
  440. #
  441. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  442. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  443. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  444. FatPkg/EnhancedFatDxe/Fat.inf
  445. MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
  446. OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
  447. #
  448. #BDS
  449. #
  450. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  451. <LibraryClasses>
  452. DevicePathLib | MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  453. PcdLib | MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  454. }
  455. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  456. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  457. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  458. MdeModulePkg/Logo/LogoDxe.inf
  459. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  460. MdeModulePkg/Application/UiApp/UiApp.inf {
  461. <LibraryClasses>
  462. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  463. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  464. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  465. }
  466. OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
  467. <LibraryClasses>
  468. NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
  469. }
  470. #
  471. # Network Support
  472. #
  473. #!include NetworkPkg/NetworkComponents.dsc.inc
  474. # NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
  475. # <LibraryClasses>
  476. # NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
  477. # }
  478. !if $(NETWORK_TLS_ENABLE) == TRUE
  479. NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
  480. <LibraryClasses>
  481. NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
  482. }
  483. !endif
  484. OvmfPkg/VirtioNetDxe/VirtioNet.inf
  485. #
  486. # IDE/SCSI
  487. #
  488. OvmfPkg/SataControllerDxe/SataControllerDxe.inf
  489. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  490. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  491. #
  492. # NVME Driver
  493. #
  494. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  495. #
  496. # SMBIOS Support
  497. #
  498. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
  499. <LibraryClasses>
  500. NULL | OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
  501. }
  502. OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
  503. #
  504. # PCI
  505. #
  506. Platform/Loongson/LoongArchQemuPkg/Drivers/PciCpuIo2Dxe/PciCpuIo2Dxe.inf {
  507. <LibraryClasses>
  508. NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  509. NULL|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
  510. }
  511. EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
  512. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  513. <LibraryClasses>
  514. NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  515. NULL|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
  516. }
  517. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
  518. <LibraryClasses>
  519. NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  520. NULL|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
  521. }
  522. OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
  523. OvmfPkg/Virtio10Dxe/Virtio10.inf
  524. #
  525. # Console
  526. #
  527. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  528. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  529. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  530. MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
  531. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  532. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
  533. <LibraryClasses>
  534. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  535. }
  536. #
  537. # Video
  538. #
  539. OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
  540. OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
  541. OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
  542. OvmfPkg/PlatformDxe/Platform.inf
  543. #
  544. # Usb Support
  545. #
  546. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  547. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  548. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  549. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  550. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  551. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  552. #
  553. # ACPI Support
  554. #
  555. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  556. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  557. OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf {
  558. <LibraryClasses>
  559. NULL|OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
  560. }
  561. #
  562. #app
  563. #
  564. ShellPkg/Application/Shell/Shell.inf {
  565. <LibraryClasses>
  566. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  567. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  568. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  569. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  570. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  571. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  572. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  573. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  574. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  575. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  576. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  577. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  578. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  579. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  580. <PcdsFixedAtBuild>
  581. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  582. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  583. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  584. }