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 Dec 5, 2024
1 parent 671157f commit 8b6c596
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,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 @@ -71,6 +73,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 @@ -88,9 +95,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 @@ -107,6 +111,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 8b6c596

Please sign in to comment.