Skip to content

Commit 2558af5

Browse files
makubackimergify[bot]
authored andcommitted
MdeModulePkg/ArmFfaLib: Add HobLib to StMm instances
ArmFfaCommon.c is built by both ArmFfaStandaloneMmCoreLib and ArmFfaStandaloneMmLib. It links against HobLiib APIs such as `GetFirstHob()`. Right now, the symbols fail to link: ``` lld-link: error: undefined symbol: GetFirstHob ArmFfaStandaloneMmCoreLib.lib(ArmFfaCommon.obj) ``` Signed-off-by: Michael Kubacki <[email protected]>
1 parent 615e5ca commit 2558af5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

MdeModulePkg/Library/ArmFfaLib/ArmFfaStandaloneMmCoreLib.inf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
BaseLib
3434
BaseMemoryLib
3535
DebugLib
36+
HobLib
3637
MmServicesTableLib
3738

3839
[Pcd]

MdeModulePkg/Library/ArmFfaLib/ArmFfaStandaloneMmLib.inf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
BaseLib
3434
BaseMemoryLib
3535
DebugLib
36+
HobLib
3637
MmServicesTableLib
3738

3839
[Pcd]

0 commit comments

Comments
 (0)