Loongson.dsc 35 KB

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