Skip to content

Commit 3c93275

Browse files
lizthegreyclaude
andcommitted
StandaloneMm: Link VarCheckPolicyLibStandaloneMm into VariableStandaloneMm
VariableSmmRuntimeDxe (NS side) sends variable policy commands to StMM using gVarCheckPolicyLibMmiHandlerGuid. The MMI handler for this GUID is registered by VarCheckPolicyLib's constructor. Without linking VarCheckPolicyLibStandaloneMm into VariableStandaloneMm, no handler exists for policy commands, causing MmiManage to return EFI_NOT_FOUND which ASSERTs in DEBUG builds and silently fails in RELEASE. OVMF's StandaloneMm path (OvmfPkgX64.dsc) includes this; the upstream ARM reference DSCs (VExpress-FVP, Juno, PlatformStandaloneMmRpmb) have not yet been updated. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 83209ed commit 3c93275

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Platform/SolidRun/StandAloneMm/StandaloneMm.dsc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@
202202
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibBase.inf
203203
VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
204204
NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
205+
NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLibStandaloneMm.inf
205206
NULL|Silicon/NXP/Drivers/EepromFvb/FixupPcd.inf
206207
VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
207208
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf

0 commit comments

Comments
 (0)