projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d277fb
)
efi_loader: RegisterProtocolNotify event signaling
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Fri, 7 Jun 2019 05:43:24 +0000
(07:43 +0200)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Mon, 10 Jun 2019 21:06:19 +0000
(23:06 +0200)
In a following patch efi_signal_event() will only queue an event if it is
not signaled.
Set the is_signaled status to false before signaling the event.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_boottime.c
b/lib/efi_loader/efi_boottime.c
index 7d1d6e92138ed297251104b5d2f91cdd888875ab..c7e2ecbf00f60722c9ead08c3a4aacefb3fccce7 100644
(file)
--- a/
lib/efi_loader/efi_boottime.c
+++ b/
lib/efi_loader/efi_boottime.c
@@
-1068,6
+1068,7
@@
efi_status_t efi_add_protocol(const efi_handle_t handle,
}
notif->handle = handle;
list_add_tail(¬if->link, &event->handles);
+ event->event->is_signaled = false;
efi_signal_event(event->event, true);
}
}