Skip to content
Commit 3b985113 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: infinite recursion notifying events



UEFI SCT uses this call sequence to determine the current TPL level inside
notification functions:

    OldTpl = BS->RaiseTPL(TPL_HIGH_LEVEL);
    BS->RestoreTPL(OldTpl);

In RestoreTPL() we trigger the notification function of queued events. If
we do not mark the event as non-queued before calling the notification
function, this results in an infinite recursive call sequence.

Mark the event as non-queued before entering the notification function.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 8ae39857
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment