]> git.sur5r.net Git - u-boot/blobdiff - lib/efi_loader/efi_boottime.c
efi_loader: RestoreTPL should execute queued events
[u-boot] / lib / efi_loader / efi_boottime.c
index 1ff0568d47474b854437a9abf4894b0451e6ba9d..fd35ffa359b76335237d870f2d625a5859a17d18 100644 (file)
@@ -278,6 +278,11 @@ static void EFIAPI efi_restore_tpl(efi_uintn_t old_tpl)
        if (efi_tpl > TPL_HIGH_LEVEL)
                efi_tpl = TPL_HIGH_LEVEL;
 
+       /*
+        * Lowering the TPL may have made queued events eligible for execution.
+        */
+       efi_timer_check();
+
        EFI_EXIT(EFI_SUCCESS);
 }