RiscVProcessorPkg.dsc 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #/** @file
  2. # RISC-V processor package.
  3. #
  4. # Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. #**/
  9. ################################################################################
  10. #
  11. # Defines Section
  12. #
  13. ################################################################################
  14. [Defines]
  15. PLATFORM_NAME = RiscVProcessor
  16. PLATFORM_GUID = 55D77916-B270-41B4-9325-2CE9DCE0926E
  17. PLATFORM_VERSION = 0.1
  18. DSC_SPECIFICATION = 0x0001001c
  19. OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
  20. SUPPORTED_ARCHITECTURES = RISCV64
  21. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  22. SKUID_IDENTIFIER = DEFAULT
  23. [BuildOptions]
  24. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
  25. !ifdef $(SOURCE_DEBUG_ENABLE)
  26. GCC:*_*_RISCV64_GENFW_FLAGS = --keepexceptiontable
  27. !endif
  28. ################################################################################
  29. #
  30. # SKU Identification section - list of all SKU IDs supported by this Platform.
  31. #
  32. ################################################################################
  33. [SkuIds]
  34. 0|DEFAULT
  35. !include MdePkg/MdeLibs.dsc.inc
  36. [LibraryClasses.common]
  37. CpuExceptionHandlerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVExceptionLib/CpuExceptionHandlerDxeLib.inf
  38. RiscVCpuLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.inf
  39. RiscVEdk2SbiLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf
  40. RiscVOpensbiLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
  41. TimerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf
  42. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  43. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  44. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  45. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  46. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  47. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  48. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  49. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  50. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  51. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  52. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  53. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  54. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  55. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  56. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  57. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  58. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  59. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  60. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  61. DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
  62. RiscVPlatformTimerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVPlatformTimerLibNull/RiscVPlatformTimerLib.inf
  63. [LibraryClasses.common.PEI_CORE]
  64. PeiServicesTablePointerLib|Silicon/RISC-V/ProcessorPkg/Library/PeiServicesTablePointerLibOpenSbi/PeiServicesTablePointerLibOpenSbi.inf
  65. RiscVFirmwareContextLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVFirmwareContextSbiLib/RiscVFirmwareContextSbiLib.inf
  66. [LibraryClasses.common.PEIM]
  67. PeiServicesTablePointerLib|Silicon/RISC-V/ProcessorPkg/Library/PeiServicesTablePointerLibOpenSbi/PeiServicesTablePointerLibOpenSbi.inf
  68. RiscVFirmwareContextLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVFirmwareContextSbiLib/RiscVFirmwareContextSbiLib.inf
  69. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  70. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  71. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  72. [LibraryClasses.common.DXE_CORE]
  73. TimerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf
  74. [LibraryClasses.common.DXE_DRIVER]
  75. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  76. PlatformBootManagerLib|Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  77. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  78. TimerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf
  79. [LibraryClasses.common.UEFI_DRIVER]
  80. TimerLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf
  81. [Components]
  82. Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf
  83. Silicon/RISC-V/ProcessorPkg/Library/RiscVExceptionLib/CpuExceptionHandlerDxeLib.inf
  84. Silicon/RISC-V/ProcessorPkg/Library/RiscVFirmwareContextSbiLib/RiscVFirmwareContextSbiLib.inf
  85. Silicon/RISC-V/ProcessorPkg/Library/PeiServicesTablePointerLibOpenSbi/PeiServicesTablePointerLibOpenSbi.inf
  86. Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
  87. Silicon/RISC-V/ProcessorPkg/Library/RiscVPlatformTimerLibNull/RiscVPlatformTimerLib.inf
  88. Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.inf
  89. Silicon/RISC-V/ProcessorPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf
  90. Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.inf
  91. Silicon/RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.inf
  92. Silicon/RISC-V/ProcessorPkg/Universal/FdtDxe/FdtDxe.inf