mirror of https://github.com/ipxe/ipxe.git
[efi] Fix debug wrappers for CloseEvent() and CheckEvent()
The debug wrappers for CloseEvent() and CheckEvent() are currently both calling SignalEvent() instead (presumably due to copy-paste errors). Astonishingly, this has generally not prevented a successful boot in the (very rare) case that DEBUG=efi_wrap is enabled. Fix the wrappers to call the intended functions. Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/596/merge
parent
37ea181d8b
commit
f68c8b09e3
|
@ -513,7 +513,7 @@ efi_close_event_wrapper ( EFI_EVENT event ) {
|
|||
EFI_STATUS efirc;
|
||||
|
||||
DBGC ( colour, "CloseEvent ( %p ) ", event );
|
||||
efirc = bs->SignalEvent ( event );
|
||||
efirc = bs->CloseEvent ( event );
|
||||
DBGC ( colour, "= %s -> %p\n", efi_status ( efirc ), retaddr );
|
||||
return efirc;
|
||||
}
|
||||
|
@ -528,7 +528,7 @@ efi_check_event_wrapper ( EFI_EVENT event ) {
|
|||
EFI_STATUS efirc;
|
||||
|
||||
DBGCP ( colour, "CheckEvent ( %p ) ", event );
|
||||
efirc = bs->SignalEvent ( event );
|
||||
efirc = bs->CheckEvent ( event );
|
||||
DBGCP ( colour, "= %s -> %p\n", efi_status ( efirc ), retaddr );
|
||||
return efirc;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue