Commit aec7c092 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt 💬
Browse files

efi_loader: simplify efi_watchdog_timer_notify()

We can call do_reset() directly without invoking the UEFI API.
This decreases the code size.
Signed-off-by: Heinrich Schuchardt's avatarHeinrich Schuchardt <>
parent f4c1a14f
Pipeline #9085 canceled with stages
...@@ -27,8 +27,7 @@ static void EFIAPI efi_watchdog_timer_notify(struct efi_event *event, ...@@ -27,8 +27,7 @@ static void EFIAPI efi_watchdog_timer_notify(struct efi_event *event,
EFI_ENTRY("%p, %p", event, context); EFI_ENTRY("%p, %p", event, context);
printf("\nEFI: Watchdog timeout\n"); printf("\nEFI: Watchdog timeout\n");
EFI_CALL_VOID(efi_runtime_services.reset_system(EFI_RESET_COLD, do_reset(NULL, 0, 0, NULL);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment