[U-Boot] [PATCH 05/10] efi_loader: efi_set_timer: reset signaled state
Simon Glass
sjg at chromium.org
Mon Sep 25 02:11:46 UTC 2017
On 15 September 2017 at 02:06, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> We should be able to call efi_set_timer repeatedly.
> So let us reset the signaled state here.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> lib/efi_loader/efi_boottime.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
Wondering if that should be a bool.
>
> diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
> index 408b4a9097..73793cd986 100644
> --- a/lib/efi_loader/efi_boottime.c
> +++ b/lib/efi_loader/efi_boottime.c
> @@ -363,6 +363,7 @@ efi_status_t efi_set_timer(struct efi_event *event, enum efi_timer_delay type,
> }
> event->trigger_type = type;
> event->trigger_time = trigger_time;
> + event->signaled = 0;
> return EFI_SUCCESS;
> }
> return EFI_INVALID_PARAMETER;
> --
> 2.11.0
>
More information about the U-Boot
mailing list