mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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: Jonathan Gray <jsg@jsg.id.au> Acked-By: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
85a6e9b3c9
commit
37a980b3fa
2 changed files with 6 additions and 1 deletions
|
@ -28,6 +28,9 @@ enum efi_event_type {
|
|||
EFI_TIMER_RELATIVE = 2
|
||||
};
|
||||
|
||||
#define EVT_NOTIFY_WAIT 0x00000100
|
||||
#define EVT_NOTIFY_SIGNAL 0x00000200
|
||||
|
||||
/* EFI Boot Services table */
|
||||
struct efi_boot_services {
|
||||
struct efi_table_hdr hdr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue