Skip to content
Snippets Groups Projects
Commit 37a980b3 authored by Jonathan Gray's avatar Jonathan Gray Committed by Alexander Graf
Browse files

efi_loader: run CreateEvent() notify function based on flags


The UEFI specification states that the tpl, function and context
arguments are to be ignored if neither EVT_NOTIFY_WAIT or
EVT_NOTIFY_SIGNAL are specified.  This matches observed behaviour with
an AMI EDK2 based UEFI implementation.

Skip calling the notify function if neither flag is present.

Signed-off-by: default avatarJonathan Gray <jsg@jsg.id.au>
Acked-By: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 85a6e9b3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment