Skip to content

Commit

Permalink
StandaloneMm/MmRpmb: StandaloneMm with FF-A v1.2
Browse files Browse the repository at this point in the history
Add related libraries and Pcds to build StandaloneMm with FF-A v1.2.

Signed-off-by: Levi Yun <[email protected]>
  • Loading branch information
LeviYeoReum committed Oct 18, 2024
1 parent 969187a commit eaf67b7
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
#
################################################################################
[LibraryClasses]
ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
ArmFfaLib|ArmPkg/Library/ArmFfaLib/ArmFfaStandaloneMmLib.inf
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
Expand Down Expand Up @@ -72,6 +74,11 @@

NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf

[LibraryClasses.common.MM_CORE_STANDALONE]
ArmFfaLib|ArmPkg/Library/ArmFfaLib/ArmFfaStandaloneMmCoreLib.inf
ArmTransferListLib|ArmPkg/Library/ArmTransferListLib/ArmTransferListLib.inf
HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf

[LibraryClasses.common.MM_STANDALONE]
HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
Expand All @@ -89,9 +96,6 @@
# Pcd Section - list of all EDK II PCD Entries defined by this Platform
#
################################################################################
[PcdsFeatureFlag.common]
gArmTokenSpaceGuid.PcdFfaEnable|TRUE

[PcdsFixedAtBuild]
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800000CF
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff
Expand All @@ -108,6 +112,8 @@
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00004000
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x00004000

gArmTokenSpaceGuid.PcdFfaLibConduitSmc|FALSE

[PcdsPatchableInModule]
# Allocated memory for EDK2 uppers layers
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0x0
Expand Down

0 comments on commit eaf67b7

Please sign in to comment.