u-boot-brain/lib/efi_loader
AKASHI Takahiro 3748ed908f efi_loader: fix a parameter check at CreateEvent()
The commit 21b3edfc96 ("efi_loader: check parameters of CreateEvent")
enforces a strict parameter check at CreateEvent(). On the other hand,
UEFI specification version 2.7, section 7.1, says:

    The EVT_NOTIFY_WAIT and EVT_NOTIFY_SIGNAL flags are exclusive. If
    neither flag is specified, the caller does not require any notification
    concerning the event and the NotifyTpl, NotifyFunction, and
    NotifyContext parameters are ignored.

So the check should be mitigated so as to comply with the specification.
Without this patch, EDK2's Shell.efi won't be started.

Fixes: 21b3edfc96 ("efi_loader: check parameters of CreateEvent")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-08-20 14:39:35 +02:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_acpi.c efi_loader: Install ACPI configuration tables 2018-07-02 09:23:28 +08:00
efi_bootmgr.c efi_loader: adjust definitions of variable services 2018-06-03 15:27:20 +02:00
efi_boottime.c efi_loader: fix a parameter check at CreateEvent() 2018-08-20 14:39:35 +02:00
efi_console.c efi_loader: clear screen has to reset cursor position 2018-07-25 14:59:44 +02:00
efi_device_path_to_text.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_device_path_utilities.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_device_path.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_disk.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_file.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_gop.c efi_loader: Fix GOP 32bpp exposure 2018-06-21 17:18:18 +02:00
efi_image_loader.c efi_loader: Use compiler constants for image loader 2018-07-25 14:57:43 +02:00
efi_memory.c Revert "efi_loader: efi_allocate_pages is too restrictive" 2018-08-20 11:39:19 +02:00
efi_net.c initialize net_mode.if_type 2018-07-26 14:08:20 -05:00
efi_runtime.c efi_loader: relocate pointer to tables 2018-08-20 11:39:19 +02:00
efi_smbios.c efi_loader: Allow SMBIOS tables in highmem 2018-07-25 14:57:43 +02:00
efi_variable.c efi_loader: fix off-by-one bug in efi_get_variable 2018-06-03 15:27:20 +02:00
efi_watchdog.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
helloworld.c efi_loader: helloworld: Output ACPI configuration table 2018-07-02 09:23:28 +08:00
Kconfig Revert "efi_loader: no support for ARMV7_NONSEC=y" 2018-07-25 14:57:43 +02:00
Makefile efi_loader: provide firmware revision 2018-07-25 14:59:44 +02:00