mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
efi_loader: event signaling in ExitBootServices
ExitBootServices() has to stop timer related activity before calling the events of the EFI_EVENT_GROUP_EXIT_BOOT_SERVICES event group. But our current implementation was stopping all other events. All events have to observe the task priority level. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
@@ -704,7 +704,7 @@ static void efi_cin_check(void)
|
||||
efi_status_t ret;
|
||||
|
||||
if (key_available) {
|
||||
efi_signal_event(efi_con_in.wait_for_key, true);
|
||||
efi_signal_event(efi_con_in.wait_for_key);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -718,7 +718,7 @@ static void efi_cin_check(void)
|
||||
|
||||
/* Queue the wait for key event */
|
||||
if (key_available)
|
||||
efi_signal_event(efi_con_in.wait_for_key, true);
|
||||
efi_signal_event(efi_con_in.wait_for_key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user