Commit 83209ed
LX2160aCex7: Link VariableMmDependency into MmCommunicationOpteeDxe
VariableSmmRuntimeDxe registers a callback on gEfiSmmVariableProtocolGuid
and only installs the Variable Arch Protocol when that signal fires. On
x86, PiSmmIpl/StandaloneMmIpl bridges this protocol from SMM/MM to DXE.
On ARM with OP-TEE StandaloneMm, no such bridge exists.
VariableMmDependency is a DXE NULL library whose constructor installs
gEfiSmmVariableProtocolGuid and gSmmVariableWriteGuid as stub signal
protocols on the DXE side. Upstream ARM platforms (VExpress-FVP, Juno)
and OVMF link it into their MM Communication driver for exactly this
reason.
Without this, VariableSmmRuntimeDxe loads but never installs Variable
Arch Protocol, causing DxeCore to ASSERT at BdsEntry.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2e67b4c commit 83209ed
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
247 | 250 | | |
248 | 251 | | |
249 | 252 | | |
| |||
0 commit comments