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>
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;
}
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;
}