RiscVPlatformPkg.dec 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. ## @file RiscVPlatformPkg.dec
  2. # This Package provides UEFI RISC-V platform modules and libraries.
  3. #
  4. # Copyright (c) 2021-2022, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. ##
  9. [Defines]
  10. DEC_SPECIFICATION = 0x0001001b
  11. PACKAGE_NAME = RiscVPlatformPkg
  12. PACKAGE_UNI_FILE = RiscVPlatformPkg.uni
  13. PACKAGE_GUID = B51DBDBB-B43D-4D45-8CDD-1D6D1C691003
  14. PACKAGE_VERSION = 1.0
  15. [Includes]
  16. Include
  17. [LibraryClasses]
  18. FirmwareContextProcessorSpecificLib|Include/Library/FirmwareContextProcessorSpecificLib.h
  19. RiscVPlatformTempMemoryInitLib|Include/Library/RiscVPlatformTempMemoryInitLib.h
  20. Edk2OpensbiPlatformWrapperLib|Include/Library/Edk2OpensbiPlatformWrapperLib.h
  21. RiscVSpecialPlatformLib|Include/Library/RiscVSpecialPlatformLib.h
  22. PlatformSecPpiLib|Include/Library/PlatformSecPpiLib.h
  23. [Guids]
  24. gUefiRiscVPlatformPkgTokenSpaceGuid = {0x6A67AF99, 0x4592, 0x40F8, { 0xB6, 0xBE, 0x62, 0xBC, 0xA1, 0x0D, 0xA1, 0xEC}}
  25. [PcdsFixedAtBuild]
  26. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVSecFvBase|0x0|UINT32|0x00001000
  27. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVSecFvSize|0x0|UINT32|0x00001001
  28. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVPeiFvBase|0x0|UINT32|0x00001002
  29. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVPeiFvSize|0x0|UINT32|0x00001003
  30. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVDxeFvBase|0x0|UINT32|0x00001004
  31. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVDxeFvSize|0x0|UINT32|0x00001005
  32. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVDtbFvBase|0x0|UINT32|0x00001006
  33. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVDtbFvSize|0x0|UINT32|0x00001007
  34. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRootFirmwareDomainBaseAddress|0x0|UINT32|0x00001008
  35. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRootFirmwareDomainSize|0x0|UINT32|0x00001009
  36. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdFirmwareDomainBaseAddress|0x0|UINT32|0x0000100a
  37. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdFirmwareDomainSize|0x0|UINT32|0x0000100b
  38. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdVariableFirmwareRegionBaseAddress|0x0|UINT32|0x0000100c
  39. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdVariableFirmwareRegionSize|0x0|UINT32|0x0000100d
  40. #
  41. # Definition of EFI Variable region
  42. #
  43. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdVariableFdBaseAddress|0|UINT32|0x00001040
  44. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdVariableFdSize|0|UINT32|0x00001041
  45. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdVariableFdBlockSize|0|UINT32|0x00001042
  46. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPlatformFlashNvStorageVariableBase|0|UINT32|0x00001043
  47. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPlatformFlashNvStorageFtwWorkingBase|0|UINT32|0x00001044
  48. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPlatformFlashNvStorageFtwSpareBase|0|UINT32|0x00001045
  49. #
  50. # Definition of RISC-V Hart
  51. #
  52. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdHartCount|0|UINT32|0x00001083
  53. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdBootHartId|0|UINT32|0x00001084
  54. #
  55. # The bootable hart core number, which incorporates with OpenSBI platform hart_index2id value.
  56. # PcdBootableHartNumber = 0 means the number of bootable hart comes from Device Tree.
  57. # Otherwise the number assigned in PcdBootableHartNumber overwrite it.
  58. #
  59. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdBootableHartNumber|0|UINT32|0x00001085
  60. #
  61. # PcdBootableHartIndexToId is valid if PcdBootableHartNumber != 0.
  62. # If PcdBootableHartNumber != 0, then PcdBootableHartIndexToId is an array of
  63. # bootable hart ID.
  64. # For example,
  65. # if PcdBootableHartNumber == 3 then PcdBootableHartIndexToId could be defined
  66. # as {0x1, 0x2, 0x3}.
  67. #
  68. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdBootableHartIndexToId|NULL|VOID*|0x00001086
  69. #
  70. # Definitions for OpenSbi
  71. #
  72. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdScratchRamBase|0|UINT32|0x00001100
  73. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdScratchRamSize|0|UINT32|0x00001101
  74. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdOpenSbiStackSize|0|UINT32|0x00001102
  75. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdTemporaryRamBase|0|UINT32|0x00001103
  76. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdTemporaryRamSize|0|UINT32|0x00001104
  77. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdPeiCorePrivilegeMode|0|UINT32|0x00001105
  78. gUefiRiscVPlatformPkgTokenSpaceGuid.PcdDeviceTreeAddress|0|UINT32|0x00001106
  79. [PcdsPatchableInModule]
  80. [PcdsFeatureFlag]
  81. [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
  82. [UserExtensions.TianoCore."ExtraFiles"]
  83. RiscVPlatformPkgExtra.uni