mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
efi_loader: use type bool for event states
Queued and signaled describe boolean states of events. So let's use type bool and rename the structure members to is_queued and is_signaled. Update the comments for is_queued and is_signaled. Reported-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
037ee6f91b
commit
e190e8972f
3 changed files with 21 additions and 21 deletions
|
@ -460,7 +460,7 @@ static void EFIAPI efi_console_timer_notify(struct efi_event *event,
|
|||
{
|
||||
EFI_ENTRY("%p, %p", event, context);
|
||||
if (tstc()) {
|
||||
efi_con_in.wait_for_key->signaled = 1;
|
||||
efi_con_in.wait_for_key->is_signaled = true;
|
||||
efi_signal_event(efi_con_in.wait_for_key);
|
||||
}
|
||||
EFI_EXIT(EFI_SUCCESS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue