diff options
| author | Jonathan Gray <[email protected]> | 2017-03-12 19:26:06 +1100 |
|---|---|---|
| committer | Alexander Graf <[email protected]> | 2017-07-03 13:48:51 +0200 |
| commit | 37a980b3fa0b0ad26b16b7b9b9dbb25b0075a06b (patch) | |
| tree | 738a96e8b984bb7785b1ebbb5aaf36c02f1820e8 /include | |
| parent | 85a6e9b3c9d16ec062a6da3129448f39aad94fc9 (diff) | |
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 <[email protected]>
Acked-By: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/efi_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi_api.h b/include/efi_api.h index 5c3836a51be..f071b36b536 100644 --- a/include/efi_api.h +++ b/include/efi_api.h @@ -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; |
