Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 3b899d2e586ce01ef494f96eda9206ca2541a671
      
https://github.com/tianocore/edk2/commit/3b899d2e586ce01ef494f96eda9206ca2541a671
  Author: Anandh Krishna U <[email protected]>
  Date:   2026-04-30 (Thu, 30 Apr 2026)

  Changed paths:
    M MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleReportLib.c

  Log Message:
  -----------
  MdeModulePkg/DxeCapsuleLibFmp: Tolerate EFI_ALREADY_STARTED in LockVariable

When multiple DXE drivers link DxeCapsuleLib, each driver's constructor
calls InitCapsuleVariable() which attempts to lock capsule-related
variables. The second instance fails with EFI_ALREADY_STARTED because
the policy is already registered, triggering a false ASSERT.

EFI_ALREADY_STARTED from RegisterBasicVariablePolicy means the variable
is already locked, which is the desired state. Treat it as success.

Signed-off-by: default avatarAnandh krishna U <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to