u-boot/lib/efi_loader
Heinrich Schuchardt ca62a4f53e efi_loader: implement queueing of the notification function
For the correct implementation of the task priority level (TPL)
calling the notification function must be queued.

Add a status field 'queued' to events.

In function efi_signal_event set status queued if a notification
function exists and reset it after we have called the function.
A later patch will add a check of the TPL here.

In efi_create_event and efi_close_event unset the queued status.

In function efi_wait_for_event and efi_check_event
queue the notification function.

In efi_timer_check call the efi_notify_event
if the status queued is set.
For all timer events set status signaled.

In efi_console_timer_notify set the signaled state of the
WaitForKey event.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2017-09-18 23:53:57 +02:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_boottime.c efi_loader: implement queueing of the notification function 2017-09-18 23:53:57 +02:00
efi_console.c efi_loader: implement queueing of the notification function 2017-09-18 23:53:57 +02:00
efi_device_path_to_text.c efi_loader: add some missing breaks 2017-07-28 09:13:17 +02:00
efi_disk.c efi_disk: efi_disk_rw_blocks is not an API function 2017-09-18 23:53:56 +02:00
efi_gop.c efi_loader: GOP fix for no display 2017-08-11 13:49:23 +02:00
efi_image_loader.c efi_loader: refactor efi_open_protocol 2017-07-19 14:14:23 +02:00
efi_memory.c efi_loader: fix bug in efi_get_memory_map 2017-07-26 22:09:49 +02:00
efi_net.c efi_loader: refactor efi_open_protocol 2017-07-19 14:14:23 +02:00
efi_runtime.c efi_loader: avoid obscure constants in efi_runtime.c 2017-09-18 23:53:56 +02:00
efi_smbios.c smbios: Expose in efi_loader as table 2016-10-19 09:01:52 +02:00
helloworld.c efi: Add support for a hello world test program 2016-11-14 23:24:03 +01:00
Kconfig x86: Enable EFI loader support 2016-11-14 23:24:04 +01:00
Makefile efi_loader: usage of always in Makefile 2017-09-18 23:53:56 +02:00